Cs 502 Midterm Important Repeated Mcqs Quiz

Cs 502 MidTerm Important Repeated Mcqs Online Quiz

Cs 502 quiz helps us to increase our knowledge

1 / 23

For the sieve technique we solve the problem,

2 / 23

A (an) _________ is a left-complete binary tree that conforms to the heap order

3 / 23

The analysis of Selection algorithm shows the total running time is indeed ________in n,

4 / 23

One of the clever aspects of heaps is that they can be stored in arrays without using any

5 / 23

Divide-and-conquer as breaking the problem into a small number of

6 / 23

We do sorting to,

7 / 23

Analysis of Selection algorithm ends up with,

8 / 23

The recurrence relation of Tower of Hanoi is given below T(n)={1 if n=1 and 2T(n-1) if n >1 In
order to move a tower of 5 rings from one peg to another, how many ring moves are required?

9 / 23

In which order we can sort?

10 / 23

The sieve technique is a special case, where the number of sub problems is just

11 / 23

Slow sorting algorithms run in,

12 / 23

The sieve technique works in ___________ as follows

13 / 23

For the sieve technique we solve the problem

14 / 23

For the heap sort, access to nodes involves simple _______________ operations.

15 / 23

In the analysis of Selection algorithm, we eliminate a constant fraction of the array with each
phase; we get the convergent _______________ series in the analysis,

16 / 23

The recurrence relation of Tower of Hanoi is given below T(n)={1 if n=1 and 2T(n-1) if n >1 In
order to move a tower of 5 rings from one peg to another, how many ring moves are required?

17 / 23

In Sieve Technique we do not know which item is of interest

18 / 23

Divide-and-conquer as breaking the problem into a small number of

19 / 23

A (an) _________ is a left-complete binary tree that conforms to the heap order

20 / 23

A heap is a left-complete binary tree that conforms to the ___________

21 / 23

Sieve Technique can be applied to selection problem?

22 / 23

Heaps can be stored in arrays without using any pointers; this is due to the ____________
nature of the binary tree,

23 / 23

We do sorting to,

Your score is

The average score is 0%

0%