Practice free →
HomeGATE CSEcomputerscienceAlgorithms › Per the lecture, an algorithm is best described as

Per the lecture, an algorithm is best described as

Aa finite, unambiguous sequence of steps for a defined problem
Bany program written in a high-level language
Ca benchmark suite for comparing CPU speeds
Da snippet of pseudo-code that compiles to assembly
Answer & Solution
Correct answer: A. a finite, unambiguous sequence of steps for a defined problem
An algorithm is language-agnostic and machine-agnostic: a finite, unambiguous sequence of steps for a defined problem. A program is one specific implementation; a benchmark suite is a measurement harness; pseudo-code is a writing notation. The algorithm itself is the abstract recipe.
Solve this in the app — GATE CSE practice & 24k+ MCQs →
Related questions