Question 1 of 12
A step-by-step finite procedure for solving a problem is called what?
Show answer
Answer: B. Algorithm
An algorithm is a well-defined sequence of steps that produces a result.
27 MCQs with answers on this topic. 12 are on this page: tap an answer to check it.
Question 1 of 12
Answer: B. Algorithm
An algorithm is a well-defined sequence of steps that produces a result.
Question 2 of 12
Answer: C. Diamond
A diamond has a question with two or more exit paths.
Question 3 of 12
Answer: D. Logic error
The code is valid, but its logic does not match what was intended.
Question 4 of 12
Answer: D. Rectangle
The rectangle represents an action or process.
Question 5 of 12
Answer: A. Parallelogram
The parallelogram marks data entering or leaving the process.
Question 6 of 12
Answer: A. Binary search
Binary search works only on ordered data and discards half of the remaining items at each step.
Question 7 of 12
Answer: B. Debugging
Debugging locates the cause of faulty behaviour and corrects it.
Question 8 of 12
Answer: C. Pseudocode
Pseudocode helps plan logic without following the strict syntax of a programming language.
Question 9 of 12
Answer: D. Inheritance
Inheritance supports reuse by deriving one class from another.
Question 10 of 12
Answer: D. Variable
A variable gives a name to a value that may be updated while the program runs.
Question 11 of 12
Answer: D. Interpreter
In the classic distinction, an interpreter runs the source as it processes it, while a compiler translates it all beforehand.
Question 12 of 12
Answer: D. Encapsulation
Encapsulation hides internal details behind a defined interface.
These are practice questions, not official or past papers. They may contain mistakes.