Computer Data Structure Test 3 Online MCQs With Answers
Home / Tests / Data Structure Test 3 Online MCQs

Data Structure Test 3 Online MCQs

Test Name Data Structure Test 3
Subject Computer
Test Type MCQs
Total Question 15
Total Marks 30
Total Time 15 Mints
Test Help For
  • Basic Knowledge about IT
  • IT General Knowledge Quiz
  • Computer History
  • IT & Computer Tests
  • General Ability
  • Competitive Exams.

Data Structure Test 3 Online MCQs


1. When is insertion sort a good choice for sorting an array?

Question 1 of 15

2. Selection sort and quick sort both fall into the same category of sorting algorithms. What is this category?

Question 2 of 15

3. Binary search tree is a

Question 3 of 15

4. What is the complexity of Ford-Fulkerson algorithm?

Question 4 of 15

5. When inorder traversing a tree resulted E A C K F H D B G; the preorder traversal would return

Question 5 of 15

6. Suppose you have an array of N elements, containing only 2 distinct keys, true and false. Given an O(N) algorithm to sort the array.

Question 6 of 15

7. What is the worst-case time for quick sort to sort an array of n elements?

Question 7 of 15

8. Suppose that a selection sort of 100 items has completed 42 iterations of the main loop. How many items are now guaranteed to be in their final spot (never to be moved again)?

Question 8 of 15

9. Which one of the following is not composite type?

Question 9 of 15

10. For a nonempty tree T, if n0 is the number of leaf nodes and n2 the number of nodes of degree 2 then

Question 10 of 15

11. Which algorithm is used to find out the maximum flow from a source to a sink in a graph?

Question 11 of 15

12. Suppose we are sorting an array of ten integers using a some quadratic sorting algorithm. After four iterations of the algorithm’s main loop, the array elements are ordered as shown here: 1 2 3 4 5 0 6 7 8 9
Which statement is correct? (Note: Our selection sort picks largest items first.)

Question 12 of 15

13. A(n) ________ is a graph in which each connection has two directions.

Question 13 of 15

14. Which one of the followings is a probabilistic data structure?

Question 14 of 15

15. The property of hash function is that

Question 15 of 15


Test By Subject
Test By Topics
Have any Problem or Error please mention in below comments section.

Leave a Reply

Your email address will not be published.