Important MCQ

An algorithm is usually designed

Q.An algorithm is usually designed

A) before writing the program
B) after writing the program
C) after running the program
D) only by the compiler
Correct Answer:
Option A
Detailed Explanation:
A) before writing the program is correct. An algorithm is a clear, definite, effective, finite, step-by-step method for solving a problem. It is planned before coding and produces at least one output.