0

DBMS

Description: 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
Number of Questions: 25
Created by:
Tags: DBMS Data Base RDBMS Relational Data Base Primary Key B.Sc-IT M.Sc-IT MCA BCA MCA Entrance Basic Computer C C++ ASP PHP HTML database management system notes advantages of database management system Data Base Management System Relational Data Base Management System Data Structures
Attempted 0/25 Correct 0 Score 0

Selection sort's average time complexity is

  1. O(n2)

  2. O(nlogn)

  3. O(logn)

  4. O(n)


Correct Option: A

Insertion sort's average time complexity is

  1. O(n2)

  2. O(nlogn)

  3. O(logn)

  4. O(n)


Correct Option: A

Insertion sort's worstcase time complexity is

  1. O(n2)

  2. O(nlogn)

  3. O(logn)

  4. O(n)


Correct Option: A

Bubble sort's worst case time complexity is

  1. O(n2)

  2. O(nlogn)

  3. O(logn)

  4. O(n)


Correct Option: A

Quick sort's average time complexity is

  1. O(n2)

  2. O(nlogn)

  3. O(logn)

  4. O(n)


Correct Option: B

Merge sort's average case Space complexity is

  1. O

  2. O(n)

  3. O(logn)

  4. None of these


Correct Option: B

Merge sort's worst case time complexity is

  1. O(n2)

  2. O(nlogn)

  3. O(logn)

  4. O(n)


Correct Option: B

Quick sort's worstcase Space complexity is

  1. 0

  2. O(n)

  3. O(logn)

  4. None of these


Correct Option: B

Insertion sort's worstcase Space complexity is

  1. 0

  2. O(n)

  3. O(logn)

  4. None of these


Correct Option: A

Quick sort's worstcase time complexity is

  1. O(n2)

  2. O(nlogn)

  3. O(logn)

  4. O(n)


Correct Option: A

Selection sort's worst case time complexity is

  1. O(n2)

  2. O(nlogn)

  3. O(logn)

  4. O(n)


Correct Option: A

Bubble sort 's average case Space complexity is

  1. 0

  2. O(n)

  3. O(logn)

  4. None of these


Correct Option: A

Selection sort's worst case Space complexity is

  1. 0

  2. O(n)

  3. O(logn)

  4. None of these


Correct Option: A

Bubble sort's worst case Space complexity is

  1. 0

  2. O(n)

  3. O(logn)

  4. None of these


Correct Option: A

Insertion sort's average case Space complexity is

  1. 0

  2. O(n)

  3. O(logn)

  4. None of these


Correct Option: A

Quick sort's average case Space complexity is

  1. 0

  2. O(n)

  3. O(logn)

  4. None of these


Correct Option: B
Explanation:

  

Merge sort's worst case Space complexity is

  1. 0

  2. O(n)

  3. O(logn)

  4. None of these


Correct Option: B

Which of the following algorithms solves the Quick Sort Problem?

  1. Greedy

  2. Depth-first search

  3. Dyanamic programming

  4. Divide and conquer


Correct Option: D

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


Correct Option: C

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


Correct Option: C

Which of the following algorithms solves the Connected components problem?

  1. Greedy

  2. Depth-first search

  3. Dynamic programming

  4. Divide and conquer


Correct Option: B

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


Correct Option: A

Selection sort's average case Space complexity is

  1. O

  2. O(n)

  3. O(logn)

  4. None of these


Correct Option: A

Merge sort's average time complexity is

  1. O(n2)

  2. O(nlogn)

  3. O(logn)

  4. O(n)


Correct Option: B

Bubble sort's average time complexity is

  1. O(n2)

  2. O(nlogn)

  3. O(logn)

  4. O(n)


Correct Option: A
- Hide questions