Site icon DataFlair

MCQ Questions on Data Structures

mcq questions on data structures

Free Data Structures and Algorithms courses with real-time projects Start Now!!

A lot of engineering students find the concepts of data structures and algorithms quite challenging. To make things easier for the students, here is a small initiative in the form of MCQ quiz questions on Data Structures which will help the students practice the concepts and gain confidence over the subject.

Let’s start!!!

Time limit: 0

Quiz Summary

0 of 20 Questions completed

Questions:

Information

You have already completed the quiz before. Hence you can not start it again.

Quiz is loading…

You must sign in or sign up to start the quiz.

You must first complete the following:

Results

Quiz complete. Results are being recorded.

Results

0 of 20 Questions answered correctly

Your time:

Time has elapsed

You have reached 0 of 0 point(s), (0)

Earned Point(s): 0 of 0, (0)
0 Essay(s) Pending (Possible Point(s): 0)

Categories

  1. Not categorized 0%
  1. 1
  2. 2
  3. 3
  4. 4
  5. 5
  6. 6
  7. 7
  8. 8
  9. 9
  10. 10
  11. 11
  12. 12
  13. 13
  14. 14
  15. 15
  16. 16
  17. 17
  18. 18
  19. 19
  20. 20
  1. Current
  2. Review / Skip
  3. Answered
  4. Correct
  5. Incorrect
  1. Question 1 of 20
    1. Question
    1. What is the minimum number of nodes in a k-ary tree of height ‘h’?

    Correct
    Incorrect
  2. Question 2 of 20
    2. Question

    Which of the following statements with respect to complexity analysis is true?

    Correct
    Incorrect
  3. Question 3 of 20
    3. Question

    What is the replacement of x in step 1 of the topological sort algorithm?

    Algorithm TSort{

        step1: x;

        step2: Arrange the nodes in the descending order of finish time;

    Correct
    Incorrect
  4. Question 4 of 20
    4. Question

    Which of the following is false with respect to an AVL tree?

    Correct
    Incorrect
  5. Question 5 of 20
    5. Question

    What does the following function do?

    void fun(struct node* START){

        if(START == NULL)

            return;

        fun(START->link);

        cout << START->data;

    }

    Correct
    Incorrect
  6. Question 6 of 20
    6. Question

    What is the time complexity of a graph if we represent it using an adjacency matrix?

    Correct
    Incorrect
  7. Question 7 of 20
    7. Question

    Which of the following statements is false?

    Correct
    Incorrect
  8. Question 8 of 20
    8. Question

    Which of the following is not an m-way search tree?

    Correct
    Incorrect
  9. Question 9 of 20
    9. Question

    Why shouldn’t we represent a binary tree using an array?

    Correct
    Incorrect
  10. Question 10 of 20
    10. Question

    Which of the following is true with respect to expression trees?

    Correct
    Incorrect
  11. Question 11 of 20
    11. Question

    If F denotes the front, R denotes the rear and SIZE denotes the maximum possible size of a circular queue, which of the following is the correct function depicting that the circular queue is full?

    Correct
    Incorrect
  12. Question 12 of 20
    12. Question

    Let f1=n! And let f2=2n. Which of the following statement is correct with respect to  f1  and f2?

    Correct
    Incorrect
  13. Question 13 of 20
    13. Question

     Let E denote the edges in a graph and V denote the vertices in a graph. What is the time complexity in Kruskal’s algorithm?

    Correct
    Incorrect
  14. Question 14 of 20
    14. Question

    Which of the following statements is false with respect to a multi-stage graph?

    Correct
    Incorrect
  15. Question 15 of 20
    15. Question

    What is the best case time complexity in the case of modified bubble sort?

    Correct
    Incorrect
  16. Question 16 of 20
    16. Question

    We need to create a list dynamically, where the search operation is of the order O(1). The user does not care about any statistical operations like finding max, min or medium. Which is the best data structure for such a case?

    Correct
    Incorrect
  17. Question 17 of 20
    17. Question

     What is the total number of stack permutations possible for ‘n’ elements?

    Correct
    Incorrect
  18. Question 18 of 20
    18. Question

    Which of the following statements is false?

    Correct
    Incorrect
  19. Question 19 of 20
    19. Question

    Traversal of a graph is different from a tree because

    Correct
    Incorrect
  20. Question 20 of 20
    20. Question

     What is the time complexity of the optimised matrix multiplication also known as Strassen’s multiplication method?

    Correct
    Incorrect

Summary

Here we complete the quiz. The above quiz has MCQ type questions covering the important concepts of data structures and algorithms. This quiz will prove to be really helpful for the students who wish to test their knowledge and understanding of data structures and algorithms.

Exit mobile version