SMG Testing System › MCQs › 6th class Computer › Chapter 5

6th class Computer, Chapter 5: Programming MCQs

10 of 10 multiple-choice questions, with the correct answer in green.

1. What is a computer program?

  1. (A) A set of tools used to fix computers
  2. (B) A set of instructions that tells the computer what to do ✓
  3. (C) A type of computer hardware
  4. (D) A website

2. What does the "input" in a computer program refer to?

  1. (A) The final result of the program
  2. (B) The data provided by the user or other systems for processing ✓
  3. (C) The instructions were written by the programmer
  4. (D) The hardware used to run the program

3. Which of the following is NOT a type of programming language?

  1. (A) Python
  2. (B) Java
  3. (C) Assembly
  4. (D) Calculator ✓

4. What does the "output" of a computer program refer to?

  1. (A) The instructions were written by the programmer
  2. (B) The data that the user inputs
  3. (C) The result of the program's operations ✓
  4. (D) The error messages in the program

5. What is "debugging" in computer programming?

  1. (A) Writing new code
  2. (B) Fixing errors or bugs in the code ✓
  3. (C) Testing the program before release
  4. (D) Planning how the program will work

6. Which of these is an example of a "high-level programming language"?

  1. (A) Binary
  2. (B) Assembly
  3. (C) Python ✓
  4. (D) Machine language

7. What is a "variable" in a computer program?

  1. (A) A set of instructions the computer follows
  2. (B) A place to store a value that can change during the program's execution ✓
  3. (C) A constant value that cannot change
  4. (D) The final result of the program

8. What is the purpose of "planning the solution" in programming?

  1. (A) To find bugs in the program
  2. (B) To decide how to solve the problem step by step ✓
  3. (C) To write the final code
  4. (D) To deploy the program

9. Which programming concept allows you to repeat a set of instructions multiple times?

  1. (A) Sequence
  2. (B) Selection
  3. (C) Repetition (Loops) ✓
  4. (D) Debugging

10. In Scratch, what is a "sprite"?

  1. (A) The background of a project
  2. (B) A character or object in a project ✓
  3. (C) A type of block used in coding
  4. (D) A tool for drawing shapes
Teacher? Make a full exam paper with solutions from this chapter in minutes. Register free.
Student? Practise every question of the book inside the app: join your class.