Question 1: What is the primary focus of computer science?
A. Managing office supplies
B. Studying natural phenomena
C. Theoretical and practical aspects of computation
D. Designing home appliances
Answer: C
Explanation: Computer science is dedicated to understanding algorithms, computation, and the design
of software and hardware systems.
Question 2: Which era is known as the beginning of modern computing?
A. The Renaissance
B. The Industrial Revolution
C. The Digital Revolution
D. The Bronze Age
Answer: C
Explanation: The Digital Revolution marks the onset of modern computing with the development of
electronic devices and digital circuits.
Question 3: Which device is considered the “brain” of the computer?
A. Hard drive
B. CPU
C. Monitor
D. Keyboard
Answer: B
Explanation: The Central Processing Unit (CPU) executes instructions and processes data, analogous to a
computer's brain.
Question 4: In binary numeral system, which digits are used?
A. 0 and 1
B. 1 and 2
C. 0 and 2
D. 1 and 3
Answer: A
Explanation: The binary system uses only the digits 0 and 1 to represent data.
Question 5: What does the term “hexadecimal” represent in computing?
A. A six-digit system
B. A base-10 numbering system
C. A base-16 numbering system
D. A binary conversion method
,Answer: C
Explanation: Hexadecimal is a base-16 numeral system, using digits 0–9 and letters A–F, commonly used
in computing.
Question 6: Which component is responsible for temporary data storage in a computer?
A. ROM
B. SSD
C. RAM
D. GPU
Answer: C
Explanation: Random Access Memory (RAM) is used for temporary storage, enabling quick read/write
access for active processes.
Question 7: What is the purpose of buses in a computer system?
A. To store permanent data
B. To transfer data among components
C. To display graphics
D. To generate power
Answer: B
Explanation: Buses are communication pathways that allow different parts of a computer to exchange
data.
Question 8: Which of the following is a primary characteristic of embedded systems?
A. High power consumption
B. General-purpose computing
C. Designed for a specific control function
D. Primarily used for gaming
Answer: C
Explanation: Embedded systems are tailored for specific control functions within larger systems,
emphasizing efficiency and reliability.
Question 9: What distinguishes system software from application software?
A. System software runs on mobile devices only
B. Application software manages hardware resources
C. System software manages and supports the computer’s basic functions
D. Application software is not installed on a computer
Answer: C
Explanation: System software, such as operating systems, controls hardware and provides a platform for
application software to run.
Question 10: Which phase is not part of the Software Development Life Cycle (SDLC)?
A. Planning
B. Execution
,C. Testing
D. Maintenance
Answer: B
Explanation: The SDLC typically includes planning, analysis, design, implementation, testing, and
maintenance; “execution” is not a standard phase.
Question 11: Which of these is a high-level programming language?
A. Assembly
B. Machine code
C. Python
D. Binary
Answer: C
Explanation: Python is a high-level programming language known for its readability and ease of use.
Question 12: What is an algorithm?
A. A type of computer hardware
B. A step-by-step procedure for solving a problem
C. A programming language
D. A computer virus
Answer: B
Explanation: An algorithm is a clear, defined procedure or set of rules used to solve a problem or
complete a task.
Question 13: What does Big O notation measure?
A. Memory usage
B. The efficiency of algorithms in terms of time or space
C. Hardware performance
D. Network latency
Answer: B
Explanation: Big O notation is used to describe the worst-case scenario for an algorithm’s time or space
complexity.
Question 14: Which sorting algorithm is known for its divide and conquer strategy?
A. Bubble sort
B. Merge sort
C. Insertion sort
D. Selection sort
Answer: B
Explanation: Merge sort divides the array into halves, recursively sorts them, and merges the sorted
halves, following a divide and conquer approach.
Question 15: What best describes recursion in programming?
A. A process where a function calls itself
B. A method to compile code
, C. A type of data structure
D. A syntax error
Answer: A
Explanation: Recursion is when a function calls itself to solve a problem, breaking it down into simpler
sub-problems.
Question 16: Which of the following best describes a variable in programming?
A. A constant value that never changes
B. A storage location identified by a name
C. A method to format text
D. An error in code execution
Answer: B
Explanation: Variables are storage locations with names that hold data values which may change during
program execution.
Question 17: What is the role of control structures in programming?
A. To encrypt data
B. To manage program flow
C. To store files
D. To design graphical interfaces
Answer: B
Explanation: Control structures such as conditionals and loops determine the order in which code
statements execute.
Question 18: In object-oriented programming, what does encapsulation refer to?
A. Hiding data and methods within a class
B. Inheriting properties from another class
C. Overloading functions
D. Creating multiple interfaces
Answer: A
Explanation: Encapsulation is the concept of bundling data and methods that operate on that data
within one unit (a class) and restricting direct access.
Question 19: Which of the following is not a principle of object-oriented programming?
A. Encapsulation
B. Inheritance
C. Polymorphism
D. Compilation
Answer: D
Explanation: Compilation is a process in software development, not a core OOP principle.
Question 20: What is a class in object-oriented programming?
A. A blueprint for creating objects
B. A method for looping