Important MCQ

An algorithm is

Q.An algorithm is

A) a step-by-step procedure to solve a problem
B) a compiler error
C) a programming language
D) a type of computer
Correct Answer:
Option A
Detailed Explanation:
A) a step-by-step procedure to solve a problem 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.