Introduction to Programming MCQs with Answers
Practice important Introduction to Programming MCQs with answers and explanations.
Multiple Choice Questions
Q11: Why is it important to comment the code liberally?
- A: To make the code run faster
- B: To use more memory
- C: To explain the functioning of the program
- D: To confuse other programmers
View Answer
C
Q12: What is the first step in the program design recipe?
- A: Write the code
- B: Analyze a problem statement
- C: Test the program
- D: Ignore problem statements
View Answer
B
Q13: What should be done after formulating statements and comments in a precise language?
- A: Ignore the results
- B: Evaluate and revise the activities
- C: Write random code
- D: Skip testing the program
View Answer
B
Q14: Why is it important to divide a problem into small segments during program design?
- A: To make the program complex
- B: To check and test each part separately
- C: To confuse other programmers
- D: To ignore details
View Answer
B
Q15: What is the purpose of the design recipe in programming?
- A: To create confusion
- B: To help in creating effective programs
- C: To skip important steps
- D: To avoid testing
View Answer
B
Q16: What does the system software control?
- A: The computer
- B: Application software
- C: User interface
- D: Hardware
View Answer
A
Q17: Which of the following is NOT a subcategory of system software?
- A: Operating system
- B: Device drivers
- C: Utilities
- D: Compilers
View Answer
D
Q18: What is the role of an operating system?
- A: Manages all other programs
- B: Allocates CPU time
- C: Provides input/output control
- D: All of the above
View Answer
A
Q19: What is the software responsible for controlling the allocation and usage of hardware resources?
- A: Device drivers
- B: Operating system
- C: Utilities
- D: Compiler
View Answer
B
Q20: Which software communicates between devices and the computer?
- A: Operating system
- B: Device drivers
- C: Utilities
- D: Compiler
View Answer
B