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
Questions
Selection sort's average time complexity is
- O(n2)
- O(nlogn)
- O(logn)
- O(n)
Insertion sort's average time complexity is
- O(n2)
- O(nlogn)
- O(logn)
- O(n)
Insertion sort's worstcase time complexity is
- O(n2)
- O(nlogn)
- O(logn)
- O(n)
Bubble sort's worst case time complexity is
- O(n2)
- O(nlogn)
- O(logn)
- O(n)
Quick sort's average time complexity is
- O(n2)
- O(nlogn)
- O(logn)
- O(n)
Merge sort's average case Space complexity is
- O
- O(n)
- O(logn)
- None of these
Merge sort's worst case time complexity is
- O(n2)
- O(nlogn)
- O(logn)
- O(n)
Quick sort's worstcase Space complexity is
- 0
- O(n)
- O(logn)
- None of these
Insertion sort's worstcase Space complexity is
- 0
- O(n)
- O(logn)
- None of these
Quick sort's worstcase time complexity is
- O(n2)
- O(nlogn)
- O(logn)
- O(n)
Selection sort's worst case time complexity is
- O(n2)
- O(nlogn)
- O(logn)
- O(n)
Bubble sort 's average case Space complexity is
- 0
- O(n)
- O(logn)
- None of these
Selection sort's worst case Space complexity is
- 0
- O(n)
- O(logn)
- None of these
Bubble sort's worst case Space complexity is
- 0
- O(n)
- O(logn)
- None of these
Insertion sort's average case Space complexity is
- 0
- O(n)
- O(logn)
- None of these
Quick sort's average case Space complexity is
- 0
- O(n)
- O(logn)
- None of these
Merge sort's worst case Space complexity is
- 0
- O(n)
- O(logn)
- None of these
Which of the following algorithms solves the Quick Sort Problem?
- Greedy
- Depth-first search
- Dyanamic programming
- Divide and conquer
The concatenation of two lists is to be performed in O(1) time. Which of the following implementations of a list should be used?
- Singly linked list
- Doubly linked list
- Circular doubly linked list
- Array implementation
Which of the following algorithms solves the all pairs shortest path problem?
- Greedy
- Depth-first search
- Dyanamic programming
- Divide and conquer
Which of the following algorithms solves the Connected components problem?
- Greedy
- Depth-first search
- Dynamic programming
- Divide and conquer
Which of the following algorithms solves the Minimum weight spanning tree problem?
- Greedy
- Depth-first search
- Dynamic programming
- Divide and conquer
Selection sort's average case Space complexity is
- O
- O(n)
- O(logn)
- None of these
Merge sort's average time complexity is
- O(n2)
- O(nlogn)
- O(logn)
- O(n)
Bubble sort's average time complexity is
- O(n2)
- O(nlogn)
- O(logn)
- O(n)