MCQs on Introduction to Programming and Algorithms/Flowcharts
1. Which of the following is a high-level programming language?
a) Assembly
b) Python
c) Machine code
d) Binary
2. What is the primary purpose of a programming language?
a) To execute machine-level code directly
b) To create algorithms without human intervention
c) To enable humans to communicate instructions to computers
d) To interact with hardware only
3. What does a compiler do?
a) Converts high-level code to machine code
b) Executes high-level code directly
c) Converts machine code to high-level code
d) Detects errors without generating machine code
4. Which of these is NOT a type of programming paradigm?
a) Object-oriented programming
b) Procedural programming
c) Declarative programming
d) Mathematical programming
5. Which of the following is NOT an example of system software?
a) Operating system
b) Compiler
c) Word processor
d) Utility programs
6. What is an algorithm?
a) A visual representation of a program
b) A set of logical steps to solve a problem
c) A programming language
d) A code snippet
7. Which of the following shapes represents a decision in a flowchart?
a) Rectangle
b) Diamond
c) Oval
d) Parallelogram
8. What is the purpose of a flowchart?
a) To design hardware circuits
b) To write a program
c) To graphically represent a process or algorithm
d) To test a program
9. Which of the following is NOT a characteristic of a good algorithm?
a) Finiteness
b) Ambiguity
c) Input
d) Output
10. What does a parallelogram symbol represent in a flowchart?
a) Input/output operation
b) Processing step
c) Decision-making
d) Start/end of the program
11. Which of the following is a high-level programming language?
a) Assembly
b) Python
c) Machine code
d) Binary
12. What is the primary purpose of a programming language?
a) To execute machine-level code directly
b) To create algorithms without human intervention
c) To enable humans to communicate instructions to computers
d) To interact with hardware only
13. What does a compiler do?
a) Converts high-level code to machine code
b) Executes high-level code directly
c) Converts machine code to high-level code
d) Detects errors without generating machine code
14. Which of these is NOT a type of programming paradigm?
a) Object-oriented programming
b) Procedural programming
c) Declarative programming
d) Mathematical programming
15. Which of the following is NOT an example of system software?
a) Operating system
b) Compiler
c) Word processor
d) Utility programs
16. What is an algorithm?
a) A visual representation of a program
b) A set of logical steps to solve a problem
c) A programming language
d) A code snippet
17. Which of the following shapes represents a decision in a flowchart?
a) Rectangle
b) Diamond
c) Oval
d) Parallelogram
18. What is the purpose of a flowchart?
a) To design hardware circuits
b) To write a program
c) To graphically represent a process or algorithm
d) To test a program
19. Which of the following is NOT a characteristic of a good algorithm?
a) Finiteness
b) Ambiguity
c) Input
d) Output
20. What does a parallelogram symbol represent in a flowchart?
a) Input/output operation
b) Processing step
c) Decision-making
d) Start/end of the program
21. Which of the following is a high-level programming language?
a) Assembly
b) Python
c) Machine code
d) Binary
22. What is the primary purpose of a programming language?
a) To execute machine-level code directly
b) To create algorithms without human intervention
c) To enable humans to communicate instructions to computers
d) To interact with hardware only
23. What does a compiler do?
a) Converts high-level code to machine code
b) Executes high-level code directly
c) Converts machine code to high-level code
d) Detects errors without generating machine code
24. Which of these is NOT a type of programming paradigm?
a) Object-oriented programming
b) Procedural programming
c) Declarative programming
d) Mathematical programming
25. Which of the following is NOT an example of system software?
a) Operating system
b) Compiler
c) Word processor
d) Utility programs
26. What is an algorithm?
a) A visual representation of a program
b) A set of logical steps to solve a problem
c) A programming language
d) A code snippet
27. Which of the following shapes represents a decision in a flowchart?
a) Rectangle
b) Diamond
c) Oval
d) Parallelogram
28. What is the purpose of a flowchart?
a) To design hardware circuits
b) To write a program
c) To graphically represent a process or algorithm
d) To test a program
29. Which of the following is NOT a characteristic of a good algorithm?
a) Finiteness
b) Ambiguity
c) Input
d) Output
30. What does a parallelogram symbol represent in a flowchart?
a) Input/output operation
b) Processing step
c) Decision-making
d) Start/end of the program
31. Which of the following is a high-level programming language?
a) Assembly
b) Python
c) Machine code
d) Binary
32. What is the primary purpose of a programming language?
a) To execute machine-level code directly
b) To create algorithms without human intervention
c) To enable humans to communicate instructions to computers
d) To interact with hardware only
33. What does a compiler do?
a) Converts high-level code to machine code
b) Executes high-level code directly
c) Converts machine code to high-level code
d) Detects errors without generating machine code
34. Which of these is NOT a type of programming paradigm?
a) Object-oriented programming
b) Procedural programming
c) Declarative programming
d) Mathematical programming
35. Which of the following is NOT an example of system software?
a) Operating system
b) Compiler
c) Word processor
d) Utility programs
36. What is an algorithm?
a) A visual representation of a program
b) A set of logical steps to solve a problem
c) A programming language
d) A code snippet
37. Which of the following shapes represents a decision in a flowchart?
a) Rectangle
b) Diamond
c) Oval
d) Parallelogram
38. What is the purpose of a flowchart?
a) To design hardware circuits
b) To write a program
c) To graphically represent a process or algorithm
d) To test a program
39. Which of the following is NOT a characteristic of a good algorithm?
a) Finiteness
b) Ambiguity
c) Input
d) Output
40. What does a parallelogram symbol represent in a flowchart?
a) Input/output operation
b) Processing step
c) Decision-making
d) Start/end of the program
41. Which of the following is a high-level programming language?
a) Assembly
b) Python
c) Machine code
d) Binary
42. What is the primary purpose of a programming language?
a) To execute machine-level code directly
b) To create algorithms without human intervention
c) To enable humans to communicate instructions to computers
d) To interact with hardware only
43. What does a compiler do?
a) Converts high-level code to machine code
b) Executes high-level code directly
c) Converts machine code to high-level code
d) Detects errors without generating machine code
44. Which of these is NOT a type of programming paradigm?
a) Object-oriented programming
b) Procedural programming
c) Declarative programming
d) Mathematical programming
45. Which of the following is NOT an example of system software?
a) Operating system
b) Compiler
c) Word processor
d) Utility programs
46. What is an algorithm?
a) A visual representation of a program
b) A set of logical steps to solve a problem
c) A programming language
d) A code snippet
47. Which of the following shapes represents a decision in a flowchart?
a) Rectangle
b) Diamond
c) Oval
d) Parallelogram
48. What is the purpose of a flowchart?
a) To design hardware circuits
b) To write a program
c) To graphically represent a process or algorithm
d) To test a program
49. Which of the following is NOT a characteristic of a good algorithm?
a) Finiteness
b) Ambiguity
c) Input
d) Output
50. What does a parallelogram symbol represent in a flowchart?
a) Input/output operation
b) Processing step
c) Decision-making
d) Start/end of the program
51. Which of the following is a high-level programming language?
a) Assembly
b) Python
c) Machine code
d) Binary
52. What is the primary purpose of a programming language?
a) To execute machine-level code directly
b) To create algorithms without human intervention
c) To enable humans to communicate instructions to computers
d) To interact with hardware only
53. What does a compiler do?
a) Converts high-level code to machine code
b) Executes high-level code directly
c) Converts machine code to high-level code
d) Detects errors without generating machine code
54. Which of these is NOT a type of programming paradigm?
a) Object-oriented programming
b) Procedural programming
c) Declarative programming
d) Mathematical programming
55. Which of the following is NOT an example of system software?
a) Operating system
b) Compiler
c) Word processor
d) Utility programs
56. What is an algorithm?
a) A visual representation of a program
b) A set of logical steps to solve a problem
c) A programming language
d) A code snippet
57. Which of the following shapes represents a decision in a flowchart?
a) Rectangle
b) Diamond
c) Oval
d) Parallelogram
58. What is the purpose of a flowchart?
a) To design hardware circuits
b) To write a program
c) To graphically represent a process or algorithm
d) To test a program
59. Which of the following is NOT a characteristic of a good algorithm?
a) Finiteness
b) Ambiguity
c) Input
d) Output
60. What does a parallelogram symbol represent in a flowchart?
a) Input/output operation
b) Processing step
c) Decision-making
d) Start/end of the program
61. Which of the following is a high-level programming language?
a) Assembly
b) Python
c) Machine code
d) Binary
62. What is the primary purpose of a programming language?
a) To execute machine-level code directly
b) To create algorithms without human intervention
c) To enable humans to communicate instructions to computers
d) To interact with hardware only
63. What does a compiler do?
a) Converts high-level code to machine code
b) Executes high-level code directly
c) Converts machine code to high-level code
d) Detects errors without generating machine code
64. Which of these is NOT a type of programming paradigm?
a) Object-oriented programming
b) Procedural programming
c) Declarative programming
d) Mathematical programming
65. Which of the following is NOT an example of system software?
a) Operating system
b) Compiler
c) Word processor
d) Utility programs
66. What is an algorithm?
a) A visual representation of a program
b) A set of logical steps to solve a problem
c) A programming language
d) A code snippet
67. Which of the following shapes represents a decision in a flowchart?
a) Rectangle
b) Diamond
c) Oval
d) Parallelogram
68. What is the purpose of a flowchart?
a) To design hardware circuits
b) To write a program
c) To graphically represent a process or algorithm
d) To test a program
69. Which of the following is NOT a characteristic of a good algorithm?
a) Finiteness
b) Ambiguity
c) Input
d) Output
70. What does a parallelogram symbol represent in a flowchart?
a) Input/output operation
b) Processing step
c) Decision-making
d) Start/end of the program
71. Which of the following is a high-level programming language?
a) Assembly
b) Python
c) Machine code
d) Binary
72. What is the primary purpose of a programming language?
a) To execute machine-level code directly
b) To create algorithms without human intervention
c) To enable humans to communicate instructions to computers
d) To interact with hardware only
73. What does a compiler do?
a) Converts high-level code to machine code
b) Executes high-level code directly
c) Converts machine code to high-level code
d) Detects errors without generating machine code
74. Which of these is NOT a type of programming paradigm?
a) Object-oriented programming
b) Procedural programming
c) Declarative programming
d) Mathematical programming
75. Which of the following is NOT an example of system software?
a) Operating system
b) Compiler
c) Word processor
d) Utility programs
76. What is an algorithm?
a) A visual representation of a program
b) A set of logical steps to solve a problem
c) A programming language
d) A code snippet
77. Which of the following shapes represents a decision in a flowchart?
a) Rectangle
b) Diamond
c) Oval
d) Parallelogram
78. What is the purpose of a flowchart?
a) To design hardware circuits
b) To write a program
c) To graphically represent a process or algorithm
d) To test a program
79. Which of the following is NOT a characteristic of a good algorithm?
a) Finiteness
b) Ambiguity
c) Input
d) Output
80. What does a parallelogram symbol represent in a flowchart?
a) Input/output operation
b) Processing step
c) Decision-making
d) Start/end of the program
81. Which of the following is a high-level programming language?
a) Assembly
b) Python
c) Machine code
d) Binary
82. What is the primary purpose of a programming language?
a) To execute machine-level code directly
b) To create algorithms without human intervention
c) To enable humans to communicate instructions to computers
d) To interact with hardware only
83. What does a compiler do?
a) Converts high-level code to machine code
b) Executes high-level code directly
c) Converts machine code to high-level code
d) Detects errors without generating machine code
84. Which of these is NOT a type of programming paradigm?
a) Object-oriented programming
b) Procedural programming
c) Declarative programming
d) Mathematical programming
85. Which of the following is NOT an example of system software?
a) Operating system
b) Compiler
c) Word processor
d) Utility programs
86. What is an algorithm?
a) A visual representation of a program
b) A set of logical steps to solve a problem
c) A programming language
d) A code snippet
87. Which of the following shapes represents a decision in a flowchart?
a) Rectangle
b) Diamond
c) Oval
d) Parallelogram
88. What is the purpose of a flowchart?
a) To design hardware circuits
b) To write a program
c) To graphically represent a process or algorithm
d) To test a program
89. Which of the following is NOT a characteristic of a good algorithm?
a) Finiteness
b) Ambiguity
c) Input
d) Output
90. What does a parallelogram symbol represent in a flowchart?
a) Input/output operation
b) Processing step
c) Decision-making
d) Start/end of the program
91. Which of the following is a high-level programming language?
a) Assembly
b) Python
c) Machine code
d) Binary
92. What is the primary purpose of a programming language?
a) To execute machine-level code directly
b) To create algorithms without human intervention
c) To enable humans to communicate instructions to computers
d) To interact with hardware only
93. What does a compiler do?
a) Converts high-level code to machine code
b) Executes high-level code directly
c) Converts machine code to high-level code
d) Detects errors without generating machine code
94. Which of these is NOT a type of programming paradigm?
a) Object-oriented programming
b) Procedural programming
c) Declarative programming
d) Mathematical programming
95. Which of the following is NOT an example of system software?
a) Operating system
b) Compiler
c) Word processor
d) Utility programs
96. What is an algorithm?
a) A visual representation of a program
b) A set of logical steps to solve a problem
c) A programming language
d) A code snippet
97. Which of the following shapes represents a decision in a flowchart?
a) Rectangle
b) Diamond
c) Oval
d) Parallelogram
98. What is the purpose of a flowchart?
a) To design hardware circuits
b) To write a program
c) To graphically represent a process or algorithm
d) To test a program
99. Which of the following is NOT a characteristic of a good algorithm?
a) Finiteness
b) Ambiguity
c) Input
d) Output
100. What does a parallelogram symbol represent in a flowchart?
a) Input/output operation
b) Processing step
c) Decision-making
d) Start/end of the program