Question:easy

The logic of a program is called

Show Hint

Definitions: \[ \boxed{ \begin{aligned} \text{Algorithm} &\rightarrow \text{Step-by-step logic to solve a problem}\\ \text{Compiler} &\rightarrow \text{Translates source code}\\ \text{Debugger} &\rightarrow \text{Finds and fixes program errors} \end{aligned} } \]
Updated On: Jul 23, 2026
  • Compiler
  • Algorithm
  • Debugger
  • Memory
Show Solution

The Correct Option is B

Solution and Explanation

Step 1: Look at what the other options actually do.
A compiler translates code into machine language, a debugger hunts down errors in code that's already written, and memory just stores data - none of these describe the underlying logic of a solution.
Step 2: Match the description to the right term.
The term that specifically means a step-by-step plan for solving a problem, before any code is written, is an algorithm.
Step 3: Confirm by elimination.
Since the other three options describe tools or storage rather than logic itself, the algorithm is the correct match.
\[ \boxed{\text{Algorithm}} \]
Was this answer helpful?
0