Q1. Which data structure follows FIFO (First In First Out)?
A. Stack
B. Queue
C. Tree
D. Graph
Answer: B. Queue
Q2. What is the default port number of HTTP?
A. 21
B. 25
C. 80
D. 443
Answer: C. 80
Q3. Which SQL command is used to remove a table completely?
A. DELETE
B. REMOVE
C. DROP
D. TRUNCATE
Answer: C. DROP
Q4. What is the time complexity of Binary Search?
A. O(n)
B. O(log n)
C. O(n²)
D. O(1)
Answer: B. O(log n)
Q5. Which protocol is used for sending emails?
A. FTP
B. SMTP
C. HTTP
D. SNMP
Answer: B. SMTP
Q6. In C language, which symbol is used to access the address of a variable?
A. *
B. &
C. %
D. #
Answer: B. &
Q7. What does GUI stand for?
A. General User Interface
B. Graphical User Interface
C. Graphic Utility Interface
D. Global User Interface
Answer: B. Graphical User Interface
Q8. Which normal form removes transitive dependency?
A. 1NF
B. 2NF
C. 3NF
D. BCNF
Answer: C. 3NF
Q9. Which device operates at Layer 2 of the OSI model?
A. Router
B. Switch
C. Gateway
D. Modem
Answer: B. Switch
Q10. What is the binary equivalent of hexadecimal A?
A. 1001
B. 1010
C. 1100
D. 1111
Answer: B. 1010
Q11. Which scheduling algorithm gives minimum average waiting time?
A. FCFS
B. Round Robin
C. SJF (Shortest Job First)
D. Priority Scheduling
Answer: C. SJF
Q12. Which of the following is not an example of NoSQL database?
A. MongoDB
B. Cassandra
C. MySQL
D. Redis
Answer: C. MySQL
Q13. What is the purpose of a Firewall?
A. Increase speed
B. Store data
C. Protect network from unauthorized access
D. Convert signals
Answer: C. Protect network from unauthorized access
Q14. In networking, what does MAC stand for?
A. Machine Access Control
B. Media Access Control
C. Memory Access Control
D. Main Area Control
Answer: B. Media Access Control
Q15. Which cloud model provides virtual machines?
A. SaaS
B. PaaS
C. IaaS
D. DaaS
Answer: C. IaaS
Q16. Which command is used to test connectivity between two computers?
A. ipconfig
B. ping
C. netstat
D. format
Answer: B. ping
Q17. Which logic gate gives output 1 only when both inputs are 1?
A. OR
B. AND
C. XOR
D. NOT
Answer: B. AND
Q18. What is the full form of API?
A. Application Program Interface
B. Application Programming Interface
C. Applied Program Integration
D. Advanced Programming Interface
Answer: B. Application Programming Interface
Q19. Which memory is used by CPU to store frequently used instructions?
A. RAM
B. Cache
C. Hard Disk
D. DVD
Answer: B. Cache
Q20. Which of the following is an example of an open-source operating system?
A. Windows
B. macOS
C. Ubuntu
D. iOS
Answer: C. Ubuntu