DSA quiz

DSA quiz

Professional Development

15 Qs

quiz-placeholder

Similar activities

MG - NURTURE Training Program - Day -5

MG - NURTURE Training Program - Day -5

Professional Development

10 Qs

MGNF-13

MGNF-13

Professional Development

20 Qs

Quiz Seguridad Vial - EMC

Quiz Seguridad Vial - EMC

1st Grade - Professional Development

10 Qs

C++ Operators

C++ Operators

Professional Development

20 Qs

Human Resources Management

Human Resources Management

Professional Development

13 Qs

C programming

C programming

Professional Development

10 Qs

ERM - Written Exam - Product Expert

ERM - Written Exam - Product Expert

Professional Development

20 Qs

operators & loops

operators & loops

Professional Development

20 Qs

DSA quiz

DSA quiz

Assessment

Quiz

Professional Development

Professional Development

Medium

Created by

Vasu Taunk

Used 1+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Vasu can cover a certain distance in 1 hr. 24 min. by covering two-third of the distance at 4 kmph and the rest at 5 kmph. Find the total distance.

3 km

4 km

5 km

6 km

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the time complexity of this code

int a = 0, i = N;

while (i > 0)

{

a += i;

i /= 2;

}

O(N)

O(Sqrt(N))

O(N / 2)

O(log N)

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

A monkey🐒 climbing up a pole ascends 6 meters and slips 3 meters in alternate minutes.

If the pole💈 is 60 meters high,

how long will it take the monkey to reach the top?

31 min

33 min

35 min

37 min

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

3. An array with 32 elements is input to a binary search algorithm. How many maximum number of comparisons are performed?​

32

8

16

5

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the result of the following postfix expression?

ab*cd*+ where a=2,b=2,c=3,d=4.

a) 16

b) 12

c) 14

d) 10

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In a recursive solution to the Towers of Hanoi problem, what is the minimum number of moves required to solve the puzzle for n disks?

N2

N!

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

4 km/hr

5 km/hr

6 km/hr

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?