CS19341 - Design and Analysis of Algorithms Lab-MCQ-viva

CS19341 - Design and Analysis of Algorithms Lab-MCQ-viva

15 Qs

quiz-placeholder

Similar activities

Parcial I-I Unidad- 4TO BIOLOGICAS A-COMPUTACION-Forma A

Parcial I-I Unidad- 4TO BIOLOGICAS A-COMPUTACION-Forma A

KG - University

13 Qs

Advanced Design Techniques

Advanced Design Techniques

1st Grade

18 Qs

Digital Signature

Digital Signature

KG - University

13 Qs

Bubble Sort

Bubble Sort

KG - University

20 Qs

Matter Task Cards 1-20

Matter Task Cards 1-20

KG - University

20 Qs

DAA B3 Batch

DAA B3 Batch

KG - University

12 Qs

Sorting

Sorting

1st Grade

18 Qs

Marzano's 3rd Grade Math Vocabulary

Marzano's 3rd Grade Math Vocabulary

3rd Grade

20 Qs

CS19341 - Design and Analysis of Algorithms Lab-MCQ-viva

CS19341 - Design and Analysis of Algorithms Lab-MCQ-viva

Assessment

Quiz

others

Hard

Created by

LE156 Sorna D

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

While using the step count method to find the time complexity of an algorithm, how many time the counter variable gets incremented when the for loop condition is false?
2
0
1
3

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Order the below-stated efficiency classes in a descending manner, n,nlogn,n^2logn,n!
n,nlogn,n^2logn,n!
n^2logn,n!,n,nlogn
n!,n^2logn,nlogn,n
n!,n^2logn,n,nlogn

3.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Identify the characteristics of an algorithm
Well defined Inputs
Finiteness
Correctness
Ambiguous
Space Complexity

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image
Say true or false for the given assertions
false,true,false
false,true,true
false,false,true
true,true,true

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Consider an array A = [20, 31, 45, 56, 67, 78, 89, 91]. If key = 91, what will be the value of mid at the third recursion?
89
78
67
91

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Consider two subarrays A1 = [1,2,10] and A2 = [7,8,9,12]. During the process of merging in Merge Sort how many comparisons are required to get a Sorted Array?
4
5
6
7

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Consider an array [5,6,1,2,9,8]. Apply quicksort. After bringing the 1st pivot element to its correct position in the sorted List, how many elements will be present in the left subarray (Assume first element as Pivot)
1
2
3
4

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?