
Algorithm Quiz 30 Questions
Authored by Oendrila Samanta
Computers
University
Used 5+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the time complexity of binary search in a sorted array?
O(n)
O(log n)
O(n log n)
O(1)
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which sorting algorithm is the fastest on average for general use?
Bubble Sort
Insertion Sort
Merge Sort
Quick Sort
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of the following is not a divide and conquer algorithm?
Merge Sort
Quick Sort
Binary Search
Bubble Sort
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What does Big-O notation describe?
The exact number of steps
The best case performance
The average performance
The upper bound on time complexity
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which data structure is used in a Breadth-First Search (BFS) algorithm?
Stack
Queue
Heap
Tree
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the main idea of dynamic programming?
Trying all possibilities
Recursion with backtracking
Solving subproblems and storing their results
Sorting inputs before solving
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which algorithm is used for finding the shortest path in a graph with non-negative weights?
Prim's Algorithm
Kruskal’s Algorithm
Dijkstra’s Algorithm
Depth-First Search
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
25 questions
PAS Kelas 7 Ganjil
Quiz
•
7th Grade - University
26 questions
Analysis Algorithms Introduction
Quiz
•
University
25 questions
untitled
Quiz
•
12th Grade - University
25 questions
TECH_IQ_HUNT ROUND
Quiz
•
University
32 questions
TCP Socket Programming
Quiz
•
University
25 questions
Programação Orientada a Objetos - Quiz 1
Quiz
•
University
25 questions
Quiz 2
Quiz
•
University
25 questions
TRẮC NGHIỆM TIN 4 BÀI 2: GÕ PHÍM ĐÚNG CÁCH
Quiz
•
5th Grade - 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
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
20 questions
Figurative Language Review
Quiz
•
6th Grade