DBMS

Complete study material for DBMS, RDBMS, Data Base Management System, Relational Data Base Management System, Primary Key, Foreign Key, Data, Information to prepare for B.Sc-IT, M.Sc-IT, BCA, MCA, MCa Entrance

25 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

Selection sort's average time complexity is

  1. O(n2)
  2. O(nlogn)
  3. O(logn)
  4. O(n)
Question 2 Multiple Choice (Single Answer)

Insertion sort's average time complexity is

  1. O(n2)
  2. O(nlogn)
  3. O(logn)
  4. O(n)
Question 3 Multiple Choice (Single Answer)

Insertion sort's worstcase time complexity is

  1. O(n2)
  2. O(nlogn)
  3. O(logn)
  4. O(n)
Question 4 Multiple Choice (Single Answer)

Bubble sort's worst case time complexity is

  1. O(n2)
  2. O(nlogn)
  3. O(logn)
  4. O(n)
Question 5 Multiple Choice (Single Answer)

Quick sort's average time complexity is

  1. O(n2)
  2. O(nlogn)
  3. O(logn)
  4. O(n)
Question 6 Multiple Choice (Single Answer)

Merge sort's average case Space complexity is

  1. O
  2. O(n)
  3. O(logn)
  4. None of these
Question 7 Multiple Choice (Single Answer)

Merge sort's worst case time complexity is

  1. O(n2)
  2. O(nlogn)
  3. O(logn)
  4. O(n)
Question 8 Multiple Choice (Single Answer)

Quick sort's worstcase Space complexity is

  1. 0
  2. O(n)
  3. O(logn)
  4. None of these
Question 9 Multiple Choice (Single Answer)

Insertion sort's worstcase Space complexity is

  1. 0
  2. O(n)
  3. O(logn)
  4. None of these
Question 10 Multiple Choice (Single Answer)

Quick sort's worstcase time complexity is

  1. O(n2)
  2. O(nlogn)
  3. O(logn)
  4. O(n)
Question 11 Multiple Choice (Single Answer)

Selection sort's worst case time complexity is

  1. O(n2)
  2. O(nlogn)
  3. O(logn)
  4. O(n)
Question 12 Multiple Choice (Single Answer)

Bubble sort 's average case Space complexity is

  1. 0
  2. O(n)
  3. O(logn)
  4. None of these
Question 13 Multiple Choice (Single Answer)

Selection sort's worst case Space complexity is

  1. 0
  2. O(n)
  3. O(logn)
  4. None of these
Question 14 Multiple Choice (Single Answer)

Bubble sort's worst case Space complexity is

  1. 0
  2. O(n)
  3. O(logn)
  4. None of these
Question 15 Multiple Choice (Single Answer)

Insertion sort's average case Space complexity is

  1. 0
  2. O(n)
  3. O(logn)
  4. None of these
Question 16 Multiple Choice (Single Answer)

Quick sort's average case Space complexity is

  1. 0
  2. O(n)
  3. O(logn)
  4. None of these
Question 17 Multiple Choice (Single Answer)

Merge sort's worst case Space complexity is

  1. 0
  2. O(n)
  3. O(logn)
  4. None of these
Question 18 Multiple Choice (Single Answer)

Which of the following algorithms solves the Quick Sort Problem?

  1. Greedy
  2. Depth-first search
  3. Dyanamic programming
  4. Divide and conquer
Question 19 Multiple Choice (Single Answer)

The concatenation of two lists is to be performed in O(1) time. Which of the following implementations of a list should be used?

  1. Singly linked list
  2. Doubly linked list
  3. Circular doubly linked list
  4. Array implementation
Question 20 Multiple Choice (Single Answer)

Which of the following algorithms solves the all pairs shortest path problem?

  1. Greedy
  2. Depth-first search
  3. Dyanamic programming
  4. Divide and conquer
Question 21 Multiple Choice (Single Answer)

Which of the following algorithms solves the Connected components problem?

  1. Greedy
  2. Depth-first search
  3. Dynamic programming
  4. Divide and conquer
Question 22 Multiple Choice (Single Answer)

Which of the following algorithms solves the Minimum weight spanning tree problem?

  1. Greedy
  2. Depth-first search
  3. Dynamic programming
  4. Divide and conquer
Question 23 Multiple Choice (Single Answer)

Selection sort's average case Space complexity is

  1. O
  2. O(n)
  3. O(logn)
  4. None of these
Question 24 Multiple Choice (Single Answer)

Merge sort's average time complexity is

  1. O(n2)
  2. O(nlogn)
  3. O(logn)
  4. O(n)
Question 25 Multiple Choice (Single Answer)

Bubble sort's average time complexity is

  1. O(n2)
  2. O(nlogn)
  3. O(logn)
  4. O(n)