Q1. Which of the following is a non-preemptive scheduling algorithm?
A. Round Robin
B. SJF (Non-preemptive)
C. Priority (Preemptive)
D. Multilevel Queue
Answer: B. SJF (Non-preemptive)
Q2. What is the default port number of HTTPS?
A. 21
B. 25
C. 80
D. 443
Answer: D. 443
Q3. In SQL, which clause is used to filter grouped records?
A. WHERE
B. ORDER BY
C. HAVING
D. GROUP BY
Answer: C. HAVING
Q4. Which RAID level provides both striping and mirroring?
A. RAID 0
B. RAID 1
C. RAID 5
D. RAID 10
Answer: D. RAID 10
Q5. In Object-Oriented Programming, which concept allows one class to inherit properties of another?
A. Polymorphism
B. Abstraction
C. Inheritance
D. Encapsulation
Answer: C. Inheritance
Q6. Which device converts digital signals to analog signals?
A. Switch
B. Router
C. Modem
D. Repeater
Answer: C. Modem
Q7. What is the size of IPv4 address?
A. 16 bits
B. 32 bits
C. 64 bits
D. 128 bits
Answer: B. 32 bits
Q8. Which of the following sorting algorithms has worst-case time complexity O(n²)?
A. Merge Sort
B. Quick Sort
C. Bubble Sort
D. Heap Sort
Answer: C. Bubble Sort
Q9. Which command is used to display active network connections in Windows?
A. ping
B. ipconfig
C. netstat
D. tracert
Answer: C. netstat
Q10. In database indexing, what is the main purpose of an index?
A. Delete data
B. Increase storage
C. Improve search performance
D. Encrypt data
Answer: C. Improve search performance
Q11. Which OSI layer is responsible for end-to-end communication?
A. Network Layer
B. Transport Layer
C. Data Link Layer
D. Session Layer
Answer: B. Transport Layer
Q12. What is the full form of VPN?
A. Virtual Private Network
B. Variable Private Network
C. Verified Public Network
D. Virtual Public Node
Answer: A. Virtual Private Network
Q13. Which type of attack floods a network with excessive traffic?
A. Phishing
B. Malware
C. DoS (Denial of Service)
D. Spoofing
Answer: C. DoS (Denial of Service)
Q14. In C programming, what is the size of an int (typically in 32-bit system)?
A. 2 bytes
B. 4 bytes
C. 8 bytes
D. 16 bytes
Answer: B. 4 bytes
Q15. Which logic gate outputs 1 when inputs are different?
A. AND
B. OR
C. XOR
D. NAND
Answer: C. XOR
Q16. Which cloud deployment model is accessible only within one organization?
A. Public Cloud
B. Hybrid Cloud
C. Private Cloud
D. Community Cloud
Answer: C. Private Cloud
Q17. In Excel, which function is used to find the highest value?
A. MAX
B. MIN
C. AVG
D. COUNT
Answer: A. MAX
Q18. Which memory is non-volatile?
A. RAM
B. Cache
C. ROM
D. Register
Answer: C. ROM
Q19. What does BIOS stand for?
A. Basic Input Output System
B. Binary Input Output System
C. Basic Internal Operating Setup
D. Boot Integrated Operating System
Answer: A. Basic Input Output System
Q20. Which programming paradigm focuses on functions and immutability?
A. Procedural Programming
B. Object-Oriented Programming
C. Functional Programming
D. Structured Programming
Answer: C. Functional Programming