
Unit V DSA Quiz
Quiz
•
Computers
•
University
•
Practice Problem
•
Hard
Placement Stjosephs
FREE Resource
Enhance your content in a minute
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the time complexity of linear search in the worst case?
O(1)
O(log n)
O(n)
O(n log n)
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which search algorithm works efficiently on sorted arrays?
Linear search
Binary search
Hashing
Jump search
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the time complexity of binary search in the worst case?
O(n)
O(log n)
O(n log n)
O(1)
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a necessary condition for binary search to work?
Unsorted list
Sorted list
Circular array
Linked list
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In linear search, the average number of comparisons is:
n
n/2
log n
1
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a comparison-based sorting algorithm?
Radix sort
Counting sort
Bubble sort
Bucket sort
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Bubble sort repeatedly compares:
Current element with the first
Adjacent elements
All elements with the last
Even indexed elements
Access all questions and much more by creating a free account
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
Already have an account?
Similar Resources on Wayground
20 questions
UJIAN TEORI SUSULAN DTIK 2023
Quiz
•
University
20 questions
Introducción a la ingeniería
Quiz
•
University
20 questions
Spreadsheet Fundamentals - Quiz2
Quiz
•
University
20 questions
Sjmit-Q2-[Workshop-MAR-25]
Quiz
•
12th Grade - University
20 questions
Ulangan Harian Analisis Data 8C
Quiz
•
8th Grade - University
20 questions
Excel Parte II - Test Final
Quiz
•
University
20 questions
Preguntas sobre JavaScript
Quiz
•
9th Grade - University
20 questions
Latihan UAS - Mobile Computing
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
