Classical

Data Structures - Sorting & Searching

31:  

Sorting is useful for

A.

report generation

B.

responding toe queries easily

C.

making searching easier and efficient

D.

All of these

 
 

Option: D

Explanation :


32:  

Choose the correct statements

A.

Internal sorting is used if the number of items to be sorted is very large.

B.

External sorting is used if the number of items to be sorted is very large

C.

External sorting needs auxilary storage

D.

Both (b) & (c)

 
 

Option: D

Explanation :


33:  

A sorting technique that guarantees that records with the same primary key occurs in the same order in the sorted list as in the original unsorted list is said to be

A.

stable

B.

consistent

C.

external

D.

linear

 
 

Option: A

Explanation :


34:  

The way a card game player arranges his cards as he picks them up one by one, is an example of

A.

bubble sort

B.

Selection sort

C.

insertion sort

D.

merge sort

 
 

Option: C

Explanation :


35:  

You want to check whether a given set of items is sorted. Which of the following sorting methods will be most efficient if it is already in sorted order?

A.

Bubble sort

B.

Selection sort

C.

Insertion sort

D.

Merge Sort

 
 

Option: C

Explanation :




Suggest an improvement