0% found this document useful (0 votes)
10 views6 pages

MSBTE_CSE_MCQs

Uploaded by

tejasborseee
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
Download as pdf or txt
0% found this document useful (0 votes)
10 views6 pages

MSBTE_CSE_MCQs

Uploaded by

tejasborseee
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
Download as pdf or txt
Download as pdf or txt
You are on page 1/ 6

300 Commonly Asked MCQs in MSBTE CSE Exams

1. Which data structure is used to implement the recursive function call?

a) Queue

b) Stack

c) Linked List

d) Array

2. What is the time complexity of binary search?

a) O(n)

b) O(log n)

c) O(n log n)

d) O(1)

3. Which of the following sorting algorithms is based on the divide and conquer strategy?

a) Selection Sort

b) Bubble Sort

c) Merge Sort

d) Insertion Sort

4. Which of the following is a non-linear data structure?

a) Stack

b) Queue

c) Tree

d) Array

5. In which traversal of a binary tree, the root node is visited last?

a) Preorder

b) Inorder

c) Postorder
d) Level-order

6. Which of the following is the correct syntax to create an object in Java?

a) Object obj = new Object();

b) Object obj = Object.new();

c) new Object obj();

d) Object obj = Object();

7. Which keyword is used to prevent inheritance of a class in Java?

a) final

b) abstract

c) private

d) static

8. Which of the following is the default value of a boolean variable in Java?

a) true

b) false

c) 0

d) null

9. Which method in Java is used to start a thread?

a) run()

b) start()

c) execute()

d) init()

10. What is the return type of the main() method in Java?

a) void

b) int

c) String[]

d) Object
11. Which of the following is not a type of join in SQL?

a) Inner Join

b) Outer Join

c) Right Join

d) Left Merge

12. Which of the following SQL statements is used to update data in a database?

a) INSERT INTO

b) UPDATE

c) SELECT

d) DELETE

13. Which normal form does not allow any multi-valued dependency?

a) First Normal Form (1NF)

b) Second Normal Form (2NF)

c) Third Normal Form (3NF)

d) Boyce-Codd Normal Form (BCNF)

14. Which of the following is used to remove duplicates from a query result in SQL?

a) DISTINCT

b) UNIQUE

c) NO DUPLICATES

d) REMOVE

15. Which of the following is a relational database?

a) MongoDB

b) Oracle

c) Neo4j

d) Firebase

16. Which of the following is the main function of the operating system?
a) Memory Management

b) Task Scheduling

c) File Management

d) All of the above

17. Which memory management scheme allows processes to be stored in non-contiguous memory?

a) Paging

b) Segmentation

c) Swapping

d) Contiguous allocation

18. Which of the following is an example of a preemptive scheduling algorithm?

a) First-Come-First-Serve (FCFS)

b) Round Robin (RR)

c) Shortest Job Next (SJN)

d) Shortest Job First (SJF)

19. In a deadlock, which condition must be present?

a) Mutual exclusion

b) Hold and wait

c) No preemption

d) All of the above

20. Which of the following is not a type of system software?

a) Operating system

b) Compiler

c) Database management system

d) Application software

21. Which of the following is used to uniquely identify a device in a network?

a) IP Address
b) MAC Address

c) DNS Server

d) Gateway

22. Which layer of the OSI model is responsible for routing?

a) Data Link

b) Network

c) Transport

d) Application

23. Which of the following is a connectionless protocol?

a) TCP

b) UDP

c) IP

d) HTTP

24. Which of the following protocols is used to transfer files over the internet?

a) FTP

b) HTTP

c) SMTP

d) SNMP

25. Which device is used to convert digital data to analog signals?

a) Modem

b) Router

c) Switch

d) Hub

26. What is the purpose of the DNS in computer networks?

a) To provide IP addresses

b) To route data packets


c) To resolve domain names to IP addresses

d) To connect networks

27. Which of the following is an example of a hybrid cloud?

a) Private cloud and public cloud combined

b) Cloud within a single organization

c) Cloud for a single service

d) Cloud for storage only

28. Which of the following is a key feature of cloud computing?

a) On-demand resources

b) Long-term storage

c) High energy consumption

d) Offline access

29. In which type of cloud model, resources are shared by multiple organizations?

a) Private Cloud

b) Public Cloud

c) Community Cloud

d) Hybrid Cloud

30. Which of the following is not a part of the OSI model?

a) Session Layer

b) Presentation Layer

c) Transport Layer

d) Internet Layer

You might also like