
DSA quiz
Quiz
•
Professional Development
•
Professional Development
•
Medium
Vasu Taunk
Used 1+ times
FREE Resource
Enhance your content
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

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
10 questions
AIFF Beach Soccer
Quiz
•
Professional Development
10 questions
Pre & Post Test QCC
Quiz
•
Professional Development
10 questions
Noom | Day 2
Quiz
•
Professional Development
19 questions
Orders Unit 8 Level 2
Quiz
•
University - Professi...
15 questions
Nghiệp vụ lễ tân G2 - Chương 1
Quiz
•
Professional Development
15 questions
Pre Test Basic Modul 3 Jam
Quiz
•
Professional Development
20 questions
Business Writing 2
Quiz
•
Professional Development
10 questions
Pre and Post Test
Quiz
•
Professional Development
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
11 questions
NEASC Extended Advisory
Lesson
•
9th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
20 questions
Multiplying and Dividing Integers
Quiz
•
7th Grade
