My Report

Data Structure II Mock Test 1


Correct Answer: 2 points | Wrong: -1 point
Grades: A* (100% score) | A (80%-99%) | B (60%-80%) | C (40%-60%) | D (0%-40%)
advertisement
 10%

Question 1 of 10

1. What is the value of jump taken for maximum efficiency while implementing jump search?

Question 1 of 10

Question 2 of 10

2. Consider an array of length 5, arr[5] = {9,7,4,2,1}. What are the steps of insertions done while running insertion sort on the array?

Question 2 of 10

Question 3 of 10

3. Which of the following is good for sorting arrays having less than 100 elements?

Question 3 of 10

Question 4 of 10

4. Merge sort can be implemented using O(1) auxiliary space.

Question 4 of 10

Question 5 of 10

5. Find the pivot element from the given input using median-of-three partitioning method.
8, 1, 4, 9, 6, 3, 5, 2, 7, 0.

Question 5 of 10

Question 6 of 10

6. Which of the following stable sorting algorithm takes the least time when applied to an almost sorted array?

Question 6 of 10

Question 7 of 10

7. What is the best case for linear search?

Question 7 of 10

Question 8 of 10

8. What is the average case time complexity of standard merge sort?

Question 8 of 10

Question 9 of 10

9. Merge sort uses which of the following algorithm to implement sorting?

Question 9 of 10

Question 10 of 10

10. Which of the following is not an application of binary search?

Question 10 of 10


 

Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & discussions at Telegram SanfoundryClasses.