Data Structures & Algorithms: 1. Which data structure uses FIFO (First In First Out)?
a) Stack b) Queue c) Tree d) Graph
2. What is the time complexity of binary search in a sorted array?
a) O(n)
b) O(log n)
c) O(n log n)
d) O(1)
3. Which of the following is a self-balancing binary search tree?
a) BST
b) AVL Tree
c) Heap
d) Linked List
Object-Oriented Programming (OOP): 4. Which of the following is NOT an OOP
concept? a) Encapsulation b) Inheritance c) Polymorphism d) Compilation
5. What is the process of creating a new object from an existing class called?
a) Inheritance
b) Instantiation
c) Overloading
d) Encapsulation
Computer Networks: 6. Which protocol is used to send emails? a) HTTP b) FTP c)
SMTP d) SNMP
7. What does IP stand for in networking?
a) Internet Protocol
b) Internal Process
c) Integrated Program
d) Interface Port
Databases (DBMS): 8. SQL is used for: a) Creating databases b) Managing data c)
Querying data d) All of the above
9. What does ACID stand for in databases?
a) Atomicity, Consistency, Isolation, Durability
b) Accuracy, Consistency, Integrity, Durability
c) Atomicity, Consistency, Integrity, Distribution
d) Access, Control, Integrity, Durability
Operating Systems: 10. Which of the following is a non-preemptive scheduling
algorithm? a) Round Robin b) Shortest Job Next (SJN) c) Priority Scheduling d)
Multilevel Queue