When does a computer program qualify as an algorithm?
AWhen it stops eventually
BIf it runs indefinitely
CWhen it compiles quickly
DIf it skips calculations
Answer & Solution
Correct answer: A. When it stops eventually
Computer programs qualify as algorithms only when they halt after completing finite operations.
Keep practising Algorithms and Flowcharts
Browse all Algorithms and Flowcharts questions for ICSE Class 8, or explore more Computer Applications topics.
Related questions
Match each algorithm control structure with its execution pattern:Match each programming design concept with its definition:Match each flowchart symbol with its operational logic:Match each standard flowchart symbol with its geometric shape:What informal term describes mathematical style pseudocode?Which element is typically omitted in pseudocode descriptions?Why does no universal syntax standard exist for pseudocode?Why do programmers frequently prefer pseudocode over raw code?