2.3 Problem Solving

9 Computer Science · Chapter 2: Computational Thinking and Algorithms · Federal Board (FBISE)

2.3 Problem Solving from Federal Board 9 Computer Science (9th Class) Chapter 2, Computational Thinking and Algorithms: 3 short and long questions and 15 MCQs with answers.

This topic explains the step-by-step process of analyzing a situation and taking action to resolve it through defining, designing, implementing, and evaluating a plan.

Problem Solving MCQs

  1. Q1

    What does problem solving involve?

    1. AChoosing an action before understanding the situation
    2. BWriting code without identifying the objective
    3. CAnalysing a situation and acting to produce a response
    4. DProducing an output without following a process
    Show answer

    Correct answer: C. Analysing a situation and acting to produce a response

    Problem solving uses analysis to decide what action should be taken.

  2. Q2

    Which sequence correctly shows the four steps for a simple problem?

    1. ADefine and analyse → Design → Implement → Evaluate
    2. BDesign → Evaluate → Define and analyse → Implement
    3. CImplement → Design → Evaluate → Define and analyse
    4. DEvaluate → Implement → Design → Define and analyse
    Show answer

    Correct answer: A. Define and analyse → Design → Implement → Evaluate

    First understand the problem, then plan, carry out the plan and check its success.

  3. Q3

    Which question is addressed when defining and analysing a problem?

    1. AWhich code statement should run last?
    2. BDid the completed plan work?
    3. CHow should the program be written?
    4. DWhat is the problem, and why is it happening?
    Show answer

    Correct answer: D. What is the problem, and why is it happening?

    Definition and analysis establish the nature of the problem and its causes.

  4. Q4

    What is developed during the plan-design stage?

    1. AA final evaluation
    2. BAn algorithm for the solution
    3. CA list of completed results
    4. DA replacement problem
    Show answer

    Correct answer: B. An algorithm for the solution

    Designing a plan determines the steps that will be followed to solve the problem.

  5. Q5

    Which activity belongs to implementing a plan?

    1. AIdentifying why the problem occurs
    2. BComparing possible plans
    3. CCoding the solution in a programming language
    4. DChecking whether the result meets the objective
    Show answer

    Correct answer: C. Coding the solution in a programming language

    Implementation turns the designed plan into executable program instructions.

  6. Q6

    What is the main purpose of evaluation?

    1. ATo determine whether the plan worked
    2. BTo define the original problem
    3. CTo create sub-problems
    4. DTo identify possible plans
    Show answer

    Correct answer: A. To determine whether the plan worked

    Evaluation checks whether the implemented solution achieved its intended purpose.

  7. Q7

    Which additional activity helps manage a complex problem?

    1. ARemoving its objectives
    2. BSkipping its analysis
    3. CSelecting an output randomly
    4. DDividing it into manageable sub-problems
    Show answer

    Correct answer: D. Dividing it into manageable sub-problems

    Decomposing a complex problem makes its smaller parts easier to handle.

  8. Q8

    What follows identifying potential plans for each sub-problem?

    1. ADefine the problem again
    2. BSelect and design the best plan
    3. CEvaluate an unimplemented plan
    4. DRemove the sub-problems
    Show answer

    Correct answer: B. Select and design the best plan

    After considering possible approaches, the most suitable plan is selected and developed.

  9. Q9

    Why should a problem be investigated before action is taken?

    1. ATo avoid identifying its requirements
    2. BTo begin implementation immediately
    3. CTo understand all relevant aspects
    4. DTo remove the need for evaluation
    Show answer

    Correct answer: C. To understand all relevant aspects

    Investigation helps identify the important details needed to define and solve the problem properly.

  10. Q10

    What must be clearly specified when defining a problem?

    1. AIts objectives
    2. BIts diagram colours
    3. CIts software price
    4. DIts number of programmers
    Show answer

    Correct answer: A. Its objectives

    Clear objectives explain what the solution is expected to achieve.

  11. Q11
    Developing Student Average Software

    A school wants software to calculate student averages. The developer first identifies the requirements and objectives. She divides the work into smaller tasks, considers different plans, selects the best approach and writes the program. Finally, she checks whether it produces the required results.

    Identifying the requirements and objectives belongs to which stage?

    1. ADefining and analysing
    2. BImplementing
    3. CEvaluating
    4. DSelecting a plan
    Show answer

    Correct answer: A. Defining and analysing

    This stage establishes what the problem is and what the solution must achieve.

  12. Q12
    Developing Student Average Software

    A school wants software to calculate student averages. The developer first identifies the requirements and objectives. She divides the work into smaller tasks, considers different plans, selects the best approach and writes the program. Finally, she checks whether it produces the required results.

    Why does the developer divide the work into smaller tasks?

    1. ATo avoid selecting a plan
    2. BTo remove the objectives
    3. CTo skip implementation
    4. DTo make the work manageable
    Show answer

    Correct answer: D. To make the work manageable

    Smaller sub-problems are easier to understand and solve individually.

  13. Q13
    Developing Student Average Software

    A school wants software to calculate student averages. The developer first identifies the requirements and objectives. She divides the work into smaller tasks, considers different plans, selects the best approach and writes the program. Finally, she checks whether it produces the required results.

    What should follow consideration of different possible plans?

    1. ARemove the requirements
    2. BSelect and design the best plan
    3. CEnd the development process
    4. DEvaluate the final program
    Show answer

    Correct answer: B. Select and design the best plan

    The available approaches are considered before choosing the most suitable plan.

  14. Q14
    Developing Student Average Software

    A school wants software to calculate student averages. The developer first identifies the requirements and objectives. She divides the work into smaller tasks, considers different plans, selects the best approach and writes the program. Finally, she checks whether it produces the required results.

    Writing the program represents which stage?

    1. AAnalysis
    2. BEvaluation
    3. CImplementation
    4. DDecomposition
    Show answer

    Correct answer: C. Implementation

    Implementation converts the selected plan into program code.

  15. Q15
    Developing Student Average Software

    A school wants software to calculate student averages. The developer first identifies the requirements and objectives. She divides the work into smaller tasks, considers different plans, selects the best approach and writes the program. Finally, she checks whether it produces the required results.

    Checking whether the program produces the required results is:

    1. AEvaluation
    2. BPlan design
    3. CProblem definition
    4. DDecomposition
    Show answer

    Correct answer: A. Evaluation

    Evaluation determines whether the implemented solution works as intended.

Problem Solving short questions

  1. What is problem solving? State the four steps used to solve a simple problem.

    Important
  2. State the six steps used to solve a complex problem.

    Important
  3. Why should a problem be defined and analysed before designing a solution?

Chapter 2 study material

A little trouble connecting

We could not reach IlmiDunya. Your connection may be slow or interrupted. Check your connection and try again.

If you were saving or submitting, check the result before trying again.

Account blocked

You are blocked from using IlmiDunya. Contact support to unblock your account.