Data Structure Questions Answers - Chapter 1
-
8. minimum number of stacks of size n required to implement a queue of size n
- One
- Two
- Three
- Four
Answer And Explanation
Answer: Option B
-
9. Which is problem oriented language
- BASIC
- PL/I
- FORTRAN
- none of above
Answer And Explanation
Answer: Option D
-
10. Sort which compares adjacent elements in a list and switches where necessary is
- Insertion sort
- Heap sort
- Quick sort
- Bubble sort
Answer And Explanation
Answer: Option D
-
11. Recursive problems are implemented by
- queues
- stacks
- linked lists
- strings
Answer And Explanation
Answer: Option B
-
12. Recursive problems are implemented by
- queues
- stacks
- linked lists
- strings
Answer And Explanation
Answer: Option B
-
13. A linear list from which elements can be added or removed from either end is called
- stack
- queue
- deque
- tree
Answer And Explanation
Answer: Option C
-
14. Which is ALGOL based simulation language
- FORTRAN
- SIMSCRIPT
- GASP IV
- none of above
Answer And Explanation
Answer: Option B