REVIEW QUESTIONS WITH ANSWERS
M3-R5.1 · Chapter 1: Introduction to Programming · 4 min read
REVIEW QUESTIONS WITH ANSWERS
Multiple Choice Question
Q1: Which of the following is the first step in problem-solving using programming?
a) Writing code b) Designing algorithm c) Debugging the program d) Compiling the program
Q2: A programming language is used to:
a) Build hardware b) Communicate with the computer
c) Design operating systems only d) Play games
Q3: Which of the following is not a high-level programming language?
a) Python b) Java c) Assembly language d) C++
Q4: What does a compiler do?
a) Translates high-level code into machine code b) Stores the code permanently
c) Debugs logical errors automatically d) Converts machine code into binary
Q5: Which of the following is an example of a low-level language?
a) Python b) C c) Assembly d) Java
Q6: In programming, debugging means:
a) Writing new programs b) Finding and fixing errors
c) Installing software d) Designing algorithms
Q7:Which type of errors are flagged by compilers
a) Logical Errors b) Syntax Errors
c) Both a and b d) None of these
Q8: Which of the following is a high-level language?
a) Assembly b) Python c) Machine code d) Binary
Q9: Which of the following convert’s source code into machine code?
a) CPU b) Compiler c) Printer d) Monitor
Q10: Which of the following is NOT a programming language?
a) Java b) C++ c) HTML d) Python
Q11: The process of finding and fixing errors in a program is called:
a) Executing b) Debugging c) Compiling d) Interpreting
Q12: A flowchart is used for:
a) Writing machine code b) Designing algorithm visually
c) Storing data in variables d) Debugging errors
Q13: Which of the following best defines an algorithm?
a) Step-by-step instructions to solve a problem b) The final program code
c) A debugging tool d) A memory storage unit
Q14: Which language is often called the “mother of all modern programming languages”?
a) Java b) Assembly c) C d) Fortran
Q15: Which of the following is NOT true about machine language?
a) It is written in binary (0s and 1s). b) It is directly understood by computers.
c) It is easy for humans to write and read. d) It is hardware-dependent.
Q16: Which of the following is the correct order in program development?
a) Testing → Coding → Algorithm → Debugging b) Algorithm → Coding → Debugging → Testing
c) Coding → Algorithm → Testing → Debugging d) Debugging → Algorithm → Coding → Testing
✅ Answer Key
1-b, 2-b, 3-c, 4-a, 5-c, 6-b, 7-b, 8-b, 9-b, 10-c, 11-b, 12-a, 13-c, 14-c, 15-b, 16-b