FBISE, NCP & NBF-aligned resources for Classes 9–12
Browse by Class
Browse by Type
Computer Chapter 2 : Topic 2.2
Algorithmic Approaches to Problem Solving
1 / 10
Which algorithmic approach is most suitable when instructions must execute once in a fixed order?
Reasoning: Sequence executes instructions one after another in a predefined order without repeating or making decisions.
2 / 10
A program repeatedly checks numbers until finding a target; which algorithmic approach is mainly used?
Reasoning: Iteration repeatedly performs instructions until a specified condition is satisfied.
3 / 10
Which approach solves a problem where different actions depend on whether a condition is true?
Reasoning: Selection chooses between alternative actions according to whether a given condition is true or false.
4 / 10
A student identifies inputs, required processing, and outputs before writing an algorithm for payroll calculation. What does it represents?
Reasoning: Problem analysis determines the required inputs, processing, and expected outputs before designing the algorithm.
5 / 10
Which method verifies an algorithm manually by following each instruction with sample input values carefully?
Reasoning: A dry run traces an algorithm step by step using sample data to check its correctness.
6 / 10
An algorithm calculates total marks by repeatedly adding each subject score; which structure is appropriate?
Reasoning: Iteration efficiently repeats the addition operation for every subject score.
7 / 10
Which representation allows students to describe algorithm steps using structured English without programming language syntax?
Reasoning: Pseudocode expresses algorithmic steps clearly without requiring the strict syntax of a programming language.
8 / 10
A programmer compares two algorithms solving the same task; which factor best indicates greater efficiency?
Reasoning: An efficient algorithm generally requires less execution time, memory, or other computational resources.
9 / 10
Which step should occur first when developing an algorithm to solve a practical computational problem?
Reasoning: The problem and its requirements must first be understood before an appropriate algorithm can be designed.
10 / 10
An algorithm works for typical inputs but fails on boundary values; what should happen next?
Reasoning: Failure on boundary values shows the algorithm needs correction followed by further testing with suitable cases.
Your score is
Restart quiz