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
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
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
6. The queues follow
a) LIFO
b) FIFO
c) LILO
d) none of the above
View Answer
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
8. The term PUSH and POP is related to
a) Array
b) Lists
c) Stacks
d) Trees
View Answer
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