Programming Basics MCQs Class 9
Programming Basics MCQs Class 9
Class: 9 | Subject: Computer Science
Section: Introduction to Programming Concepts
Topic: Programming Basics
Based on CBSE Board Examination Pattern
Section: Introduction to Programming Concepts
Topic: Programming Basics
Based on CBSE Board Examination Pattern
Instructions: These Multiple Choice Questions (MCQs) are designed strictly as per the NCERT syllabus, making them ideal for CBSE Class 9 Computer Science examination standard.
1. What is a computer program?
Answer: B
A computer program is a sequence of instructions written to perform a specific task. It tells the computer what to do and how to do it.
A computer program is a sequence of instructions written to perform a specific task. It tells the computer what to do and how to do it.
2. The process of writing programs is called:
Answer: B
Programming refers to designing and writing instructions in a programming language to solve problems using computers.
Programming refers to designing and writing instructions in a programming language to solve problems using computers.
3. Which of the following is a programming language?
Answer: B
Python is a high‑level programming language used to create programs, while others are hardware or software tools.
Python is a high‑level programming language used to create programs, while others are hardware or software tools.
4. Error in a program is called:
Answer: A
A bug is a mistake or error in a program that causes incorrect results or prevents execution.
A bug is a mistake or error in a program that causes incorrect results or prevents execution.
5. Finding and fixing errors is known as:
Answer: B
Debugging is the systematic process of locating and correcting errors in a program.
Debugging is the systematic process of locating and correcting errors in a program.
6. Step‑by‑step solution to a problem is called:
Answer: B
An algorithm is a logical sequence of steps used to solve a problem before writing the actual program.
An algorithm is a logical sequence of steps used to solve a problem before writing the actual program.
7. Graphical representation of an algorithm is:
Answer: B
A flowchart uses symbols and arrows to visually represent program logic.
A flowchart uses symbols and arrows to visually represent program logic.
8. Which symbol represents Start/Stop in a flowchart?
Answer: C
The oval (terminator) symbol indicates the beginning or end of a flowchart.
The oval (terminator) symbol indicates the beginning or end of a flowchart.
9. Input/Output symbol in flowchart is:
Answer: D
Parallelogram represents input or output operations like data entry or display.
Parallelogram represents input or output operations like data entry or display.
10. Decision making symbol is:
Answer: C
Diamond shape is used where a condition is tested and branching occurs.
Diamond shape is used where a condition is tested and branching occurs.
11. Translator that converts program to machine code:
Answer: A
A compiler translates entire source code into machine language.
A compiler translates entire source code into machine language.
12. Human‑readable program is called:
Answer: B
Source code is written by programmers in high‑level languages.
Source code is written by programmers in high‑level languages.
13. Machine language uses:
Answer: C
Computers understand binary digits (0 and 1).
Computers understand binary digits (0 and 1).
14. First step in programming:
Answer: C
Understanding the problem is essential before writing code.
Understanding the problem is essential before writing code.
15. Program execution means:
Answer: B
Execution is running the program to get output.
Execution is running the program to get output.
16. Logical errors affect:
Answer: B
Logical errors produce wrong results though program runs.
Logical errors produce wrong results though program runs.
17. Syntax errors occur when:
Answer: B
Syntax errors happen due to incorrect grammar of programming language.
Syntax errors happen due to incorrect grammar of programming language.
18. Testing ensures:
Answer: B
Testing checks correctness and reliability of program.
Testing checks correctness and reliability of program.
19. High‑level languages are:
Answer: B
They use English‑like statements making coding easier.
They use English‑like statements making coding easier.
20. Example of flowchart use:
Answer: B
Flowcharts help in planning program logic visually before coding.
Flowcharts help in planning program logic visually before coding.
