Home Videos Exercises MCQ Q&A Quiz E-Store Services Sign in Appointment Payment

DSA MCQ

Soopro Pathshala provides DSA MCQ(Multiple Choice Questions)


1. Process of removing an element from an empty stack is__.

a) removing

b) underflow

c) deleting

d) overflow

View Answer

Answer: (b) underflow



2. LIFO stands for

a) Last In First Out

b) Late In First Out

c) Light in Figure Out

d) None of the above

View Answer

Answer: (a) Last In First Out



3. On which element we perform insertion and deletion operation in stacks?

a) Front

b) Top

c) Rear

d) None of the above

View Answer

Answer: (b) Top



4. Advantages of Array

a) Can stored mixed type of data type

b) Last element index is n+1

c) Easy to store similar data type

d) Only store string data type

View Answer

Answer: (c) Easy to store similar data type



5. Process of removing an element from the stack is known as

a) Crush

b) Evaluate

c) Pop

d) none of the above

View Answer

Answer: (c) Pop



6. The queues follow

a) LIFO

b) FIFO

c) LILO

d) none of the above

View Answer

Answer: (b) FIFO



7. Finding the location of a given item in a collection of items is called..

a) Discovering

b) Finding

c) Searching

d) Mining

View Answer

Answer: (c) Searching



8. The term PUSH and POP is related to

a) Array

b) Lists

c) Stacks

d) Trees

View Answer

Answer: (c) Stacks



9. How can we initialize in array in c language?

a) int arr[2]=(10,15)

b) int arr(2)={10,15}

c) int arr[2]={10,15}

d) int arr(2)=(10,15)

View Answer

Answer: (c) int arr[2]={10,15}



10. Which of the following is the process of inserting an element in the stack?

a) Insert

b) Add

c) Push

d) none of the above

View Answer

Answer: (c) Push