Data Structure Questions Answers - Chapter 1
-
22. A graph with one or more edges is at least
- 1-chromatic
- 2-chromatic
- 3-chromatic
- 4-chromatic
Answer And Explanation
Answer: Option B
Explanation:
-
23. The memory address of the first element of an array is called
- floor address
- first address
- foundation address
- base address
Answer And Explanation
Answer: Option D
Explanation:
-
24. Which of the following name does not relate to stacks
- FIFO lists
- LIFO list
- Piles
- Push-down lists
Answer And Explanation
Answer: Option A
Explanation:
-
25. Which of the following data structure is linear data structure
- Trees
- Graphs
- Array
- None of above
Answer And Explanation
Answer: Option C
Explanation:
-
26. The complexity of linear search algorithm is
- O(n)
- O(log n)
- O(n2)
- O(n log n)
Answer And Explanation
Answer: Option A
Explanation:
-
27. The complexity of Binary search algorithm is
- O(n)
- O(log n)
- O(n2)
- O(n log n)
Answer And Explanation
Answer: Option B
Explanation:
-
28. The complexity of Bubble sort algorithm is
- O(n)
- O(log n)
- O(n2)
- O(n log n)
Answer And Explanation
Answer: Option C
Explanation: