Skip to content
Exam prep · Pakistan · Matric & FSc 100 questions 5 rounds of 20 Ages 14–15

9th Class Computer Science MCQs with Answers

These 9th class computer science MCQs with answers cover problem solving, the binary system and logic gates, computer networks, data and privacy, and designing a website with HTML. There are 100 original practice questions for Matric students, from flowcharts and binary conversion to topologies, ciphers and HTML tags. Use them for chapter revision or a quick test in the computer lab.

0 Pick the questions you wantTick any question below, from any round.
Preview
Difficulty

Round 1: Problem Solving · 20 questions

  1. What is a step-by-step set of instructions to solve a problem called?

    Easy
    1. A compiler
    2. A network
    3. An algorithm
    4. A database
  2. Which flowchart symbol is used for a decision?

    Medium
    1. Parallelogram
    2. Rectangle
    3. Diamond
    4. Oval
  3. What does the oval symbol show in a flowchart?

    Medium
    1. A decision
    2. A process
    3. Start or end
    4. Input or output
  4. What does the parallelogram symbol show in a flowchart?

    Medium
    1. Input or output
    2. A decision
    3. A process
    4. Start or end
  5. What is finding and fixing errors in a program called?

    Easy
    1. Debugging
    2. Encoding
    3. Compiling
    4. Formatting
  6. What is the first step in solving a problem?

    Easy
    1. Understanding the problem
    2. Printing the result
    3. Writing code
    4. Testing
  7. What is a flowchart?

    Easy
    1. A list of computers
    2. A sales chart
    3. A diagram showing the steps of a solution
    4. A programming language
  8. Which flowchart symbol shows a process or calculation?

    Easy
    1. Diamond
    2. Arrow
    3. Oval
    4. Rectangle
  9. What is pseudocode?

    Easy
    1. A computer chip
    2. Steps written in plain, code-like language
    3. A finished program
    4. A virus
  10. What is a test case?

    Medium
    1. A set of inputs and expected outputs used to check a solution
    2. A box for storing disks
    3. A program error
    4. A flowchart symbol
  11. What is it called when a solution repeats steps?

    Medium
    1. Selection
    2. Iteration (a loop)
    3. Debugging
    4. Sequence
  12. What is selection in an algorithm?

    Medium
    1. Stopping the program
    2. Running steps in order
    3. Choosing between steps depending on a condition
    4. Repeating steps
  13. Which kind of error gives a wrong answer even though the program runs?

    Medium
    1. Hardware error
    2. Typing error
    3. Syntax error
    4. Logical error
  14. Starting from 4, an algorithm keeps adding 2 until it reaches 10. How many times does it add 2?

    Medium
    1. 4
    2. 2
    3. 5
    4. 3
  15. Which of these are features of a good algorithm?

    Medium
    1. It has clear steps
    2. It gives the right output
    3. It never ends
    4. It ends after a finite number of steps
  16. Which of these are ways to write down an algorithm?

    Medium
    1. Flowchart
    2. A pie chart of sales
    3. Pseudocode
    4. Numbered plain-English steps
  17. What is dry running an algorithm?

    Hard
    1. Deleting it
    2. Working through it by hand with test values
    3. Compiling it
    4. Running it without electricity
  18. What is decomposition in problem solving?

    Hard
    1. Throwing away bad code
    2. Converting to binary
    3. Breaking a problem into smaller parts
    4. Making a problem bigger
  19. What is an infinite loop?

    Hard
    1. A loop with no steps
    2. A loop whose stopping condition is never met
    3. A loop that runs once
    4. A flowchart symbol
  20. Which of these are types of program error?

    Hard
    1. Syntax errors
    2. Run-time errors
    3. Logical errors
    4. Colour errors
Next: Round 2, Binary System and Logic Gates →

Questions people ask

Which topics do these computer science MCQs cover?

Problem solving, the binary system and logic gates, networks, data and privacy, and website design with HTML, with one round of 20 on each.

Are there binary conversion questions?

Yes. Several questions ask students to convert between binary and decimal, add in binary and work out logic gate outputs.

Can I run the test in the computer lab?

Yes. Students join with the quiz code in any browser, answer and submit, and you see every score.

More exam prep

All templates →