Below is a Comp-WPS Office
Below is a Comp-WPS Office
key listed at the end. You can copy the text into your favorite word processor or Markdown editor and
then “Save As” or “Export” it as a PDF.
---
A. Bit
B. Byte
C. Nibble
D. Word
B. SSD
C. RAM
D. HDD
4. What is an algorithm?
C. A programming language
A. Assembly
B. Python
C. Machine Code
D. Binary
D. There is no difference
7. What does debugging mean in programming?
C. Designing hardware
D. Compiling code
C. To compile code
D. To act as an antivirus
B. A single computer
D. A hardware component
C. A type of hardware
D. A computer virus
---
2. Programming Fundamentals
A. JavaScript
B. C++
C. Python
D. Java
A. A constant value
C. A type of loop
D. A programming error
13. What is a loop in programming?
B. A type of function
C. A data structure
D. An error in code
A. for loop
B. while loop
C. do-while loop
D. foreach loop
C. A conditional statement
D. A data structure
B. A variable
C. A loop
D. An error
C. A type of loop
D. A syntax error
B. A type of function
C. A control structure
D. A programming error
D. To define a variable
B. A hardware component
D. A network protocol
---
3. Data Structures
21. Which data structure operates on a FIFO (First In, First Out) basis?
A. Stack
B. Queue
C. Tree
D. Graph
22. Which data structure uses a LIFO (Last In, First Out) principle?
A. Queue
B. Linked List
C. Stack
D. Array
23. What is a linked list?
B. A type of array
C. A database structure
D. A sorting algorithm
A. Elements are added at the end and removed from the beginning
A. LIFO ordering
B. Hierarchical ordering
C. FIFO ordering
B. A type of array
D. A programming language
29. Which data structure is most suitable for representing hierarchical relationships?
A. Array
B. Graph
C. Tree
D. Stack
30. What is a hash table used for?
A. Sorting data
---
31. Which algorithm is known for its divide and conquer approach to sorting?
A. Bubble sort
B. Insertion sort
C. Merge sort
D. Selection sort
A. O(n)
B. O(log n)
C. O(n²)
D. O(1)
33. Which of the following best describes recursion?
A. An algorithm that divides the problem into subproblems, solves them, and combines the results
A. Dijkstra's algorithm
B. Binary search
C. Merge sort
D. Depth-first search
A. Solving problems by breaking them down into overlapping subproblems and storing their solutions
B. Programming without loops
D. Hardcoding solutions
A. O(n log n)
B. O(n²)
C. O(n)
D. O(log n)
39. Which algorithm is commonly used for finding the shortest path in a weighted graph?
A. Depth-first search
B. Breadth-first search
C. Dijkstra's algorithm
D. Bubble sort
40. Which sorting algorithm is most efficient for nearly sorted data?
A. Insertion sort
B. Quicksort
C. Merge sort
D. Selection sort
---
5. Computer Architecture
A. To store data
C. To display graphics
D. To manage network connections
A. Permanent storage
C. Power supply
A. Hard Drive
B. CPU
C. GPU
D. RAM
D. A cooling system
D. To display graphics
A. Base 10
B. Base 2
C. Base 16
D. Base 8
49. Which logic gate outputs true only if all inputs are true?
A. OR gate
B. AND gate
C. NOT gate
D. XOR gate
50. What does GPU stand for?
---
6. Operating Systems
A. Microsoft Word
B. Linux
C. Google Chrome
D. Adobe Photoshop
A. A hardware component
D. A computer virus
D. To display graphics
C. A programming language
D. A network protocol
56. What is virtual memory?
C. A type of hardware
D. A networking protocol
D. A security protocol
A. Windows 10
B. Linux Ubuntu
C. QNX
D. macOS
---
7. Networking
A. To store data
B. To forward data packets between networks
C. To compile code
A. HTTP
B. FTP
C. HTTPS
D. SMTP
B. To store emails
B. A security system that monitors and controls incoming and outgoing network traffic
C. A type of database
D. A programming language
70. Which layer of the OSI model is responsible for physical data transmission?
A. Application layer
B. Transport layer
C. Network layer
D. Physical layer
---
8. Databases
C. A non-structured database
B. A field in one table that refers to the primary key in another table
B. Encrypting data
C. Compressing data
D. Backing up data
76. Which SQL command is used to retrieve data from a database?
A. INSERT
B. UPDATE
C. DELETE
D. SELECT
A. MySQL
B. PostgreSQL
C. MongoDB
D. Oracle
B. A type of query
C. A backup process
D. A network protocol
C. Compressing data
D. Encrypting data
D. To compile code
---
9. Software Engineering
D. A type of database
B. A type of database
C. A programming language
D. A computer virus
B. A method of encryption
A. Git
B. HTTP
C. SQL
D. XML
D. A security protocol
---
C. To compile code
D. To store data
B. A type of encryption
C. A network protocol
D. A programming technique
C. A programming language
D. A type of database
A. Password
B. Fingerprint recognition
C. Security questions
D. CAPTCHA
C. A programming paradigm
D. A hardware component
99. What is machine learning?
A. A branch of artificial intelligence that focuses on algorithms that learn from data
B. A hardware component
---
Answer Key
1. A
2. A
3. C
4. A
5. B
6. B
7. B
8. A
9. A
10. A
11. A
12. B
13. A
14. C
15. A
16. A
17. B
18. A
19. B
20. A
21. B
22. C
23. A
24. B
25. C
26. B
27. B
28. A
29. C
30. B
31. C
32. B
33. A
34. A
35. A
36. A
37. B
38. B
39. C
40. A
41. A
42. B
43. B
44. B
45. A
46. A
47. B
48. B
49. B
50. B
51. B
52. A
53. B
54. B
55. A
56. B
57. B
58. B
59. B
60. C
61. A
62. B
63. C
64. A
65. A
66. A
67. B
68. A
69. A
70. D
71. A
72. A
73. A
74. B
75. A
76. D
77. C
78. A
79. A
80. A
81. A
82. B
83. A
84. A
85. A
86. A
87. A
88. A
89. A
90. A
91. A
92. A
93. A
94. A
95. A
96. A
97. B
98. A
99. A
100. B
---