Quiz 3
Quiz 3
Instructions:
1. What is the main function of the CPU (Central Processing Unit) in a computer?
a) To store data
b) To process data
c) To display graphics
a) Printer
b) Monitor
c) Keyboard
d) Speaker
b) 0 and 2
c) 1 and 2
d) 1 and 9
4. In programming, which of the following is used to store a value that can be modified
during the program?
a) Variable
b) Constant
c) Function
d) Class
a) Assembly
b) Machine Code
c) Python
d) Binary
7. Which of the following sorting algorithms has the best average-case time complexity?
a) Bubble Sort
b) Quick Sort
c) Selection Sort
d) Insertion Sort
a) O(n)
b) O(log n)
c) O(1)
d) O(n^2)
Part 4: Operating Systems
a) Memory management
b) Hardware abstraction
c) Task scheduling
a) Internet Protocol
b) Internet Pathway
c) International Protocol
d) Internal Program
13. Which of the following is a common method to protect data in computer networks?
a) Data encryption
b) Data compression
c) Data storage
d) Data printing