Skip to content

Punjab (PTB) · Chapter test · Free

9th Class Computer Chapter 4 TestCOMPUTATIONAL THINKING

30 marks · 40 minutes · 21 questions. Covers: CHAP 4: COMPUTATIONAL THINKING.

Your school name

9th Class Computer Chapter 4 Test

9th Class · Computer · Punjab (PTB)

Name: ____________Roll No: ________Class/Section: ________Date: ________Total marks: 30Time: 40 minutes

Q1. Multiple choice questions (Attempt all · 10 × 1 = 10)

  1. Errors that happen when the algorithm or flowchart is being executed are called:

    1. Syntax Errors

    2. Logical Errors

    3. Runtime Errors

    4. Debugging Errors

  2. Example of Big O notation is:

    1. O(n), O(log n), O(n²)

    2. O+1, O-1, O_2

    3. O(10), O(100), O(1000)

    4. O(T), O(S)

  3. Breaking a problem into smaller, more manageable sub-problems is called:

    1. Problem Understanding

    2. Solution Selection and Design

    3. Problem Simplification

    4. Abstraction

  4. ........ is a step-by-step collection of instructions to solve a problem or complete a task.

    1. Procedure

    2. Algorithm

    3. Method

    4. Technique

  5. Dry run helps to: 

    1. Hide errors

    2. Find errors manually

    3. Reduce code size

    4. Delete variables

  6. The main advantage of flowcharts is:

    1. They run directly on a computer

    2. They provide a clear and concise way

    3. They are faster to write than pseudocode

    4. They eliminate the need for algorithms

  7. Flowchart is a representation of steps to be followed to solve a problem. 

    1. Graphical 

    2. Historical 

    3. Numerical

    4. Textual 

  8. Simulation helps to explore:

    1. Software installation

    2. Different scenarios and situations

    3. Hardware parts

    4. Internet speed

  9. An example of a Syntax Error is:

    1. Using the wrong symbol

    2. Dividing by zero

    3. Using the wrong condition

    4. Getting the wrong output

  10. Which of the following is true about simulation?

    1. Saves time and cost

    2. Increases risk

    3. Wastes resources

    4. None of these

Q2. Short questions (Attempt any 6 of 8 · 6 × 2 = 12)

  1. Which symbol of flowchart will be used to represent the condition "n<=5"?

  2. Describe logical errors.

  3. Why is computational thinking important beyond computer science?

  4. How does problem understanding help in computational thinking?

  5. Define Problem Simplification with an example.

  6. Which symbol is used to show processing in flowchart? 

  7. What is pseudocode? Why is it used?

  8. Why we use flow charts?

Q3. Long questions (Attempt any 2 of 3 · 2 × 4 = 8)

  1. Describe the principles of computational thinking.

  2. Explain the concept of a dry run in the context of both flowcharts and pseudocode. How does performing a dry run help in validating the correctness of an algorithm?

  3. Differentiate between pseudocode and flowchart.