
Algorithms final exam mock
Authored by Jack Samawi
Information Technology (IT)
University

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
35 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the time complexity of looking for an element in any given tree?
O(n)
O(log n)
O(1)
O(n log n)
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Given the topological sort implementation below, what is its time complexity? (n for Vertices, m for Edges)
O(m + n)
O(nm)
O(m log n)
O(n log m)
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A Binary Search Tree is more appropriate than Binary Search over a sorted array when...
We need to perform not only searches but access any random element efficiently
The contents of the data structure are very dynamic and elements are added and removed frequently
The contents of the data structure are very static and do not change once inserted
We need to save space in memory
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of Red-Black Trees?
To help making insertions on the Binary Search Tree faster
To help making removals from the Binary Search Tree faster
To give the tree a beautiful colored shape
To keep the Binary Search Tree balanced
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following sentences about graphs is correct?
Breadth-First Search is suited to compose the topological orderings of a graph
Breadth-First Search can help us calculate the shortest path between two nodes in an unweighted graph
Depth-First Search is suited to calculate the shortest path in a Direct Acyclic Graph
Dijkstra's algorithm can help us calculate the shortest path between two nodes in an unweighted graph
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
This is a placeholder for Question 6.
Option A for Question 6
Option B for Question 6
Option C for Question 6
Option D for Question 6
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
This is a placeholder for Question 7.
Option A for Question 7
Option B for Question 7
Option C for Question 7
Option D for Question 7
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
40 questions
Infinity Code Nexus
Quiz
•
University
40 questions
Tema 3. Recepción y distribución de radio y TV terrestre
Quiz
•
2nd Grade - University
34 questions
Quiz sobre Frameworks Front-end
Quiz
•
University
30 questions
Warmup - Python - Machine Learning
Quiz
•
University
40 questions
Trắc nghiệm củng cố kiến thức lớp 11 HK2
Quiz
•
11th Grade - University
40 questions
Ujian Akhir Semester Informatika
Quiz
•
7th Grade - University
30 questions
Quiz Berpikir Komputasional
Quiz
•
8th Grade - University
30 questions
Quiz Pertemuan 1: Pengantar Pengembangan Web
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
Discover more resources for Information Technology (IT)
7 questions
How James Brown Invented Funk
Interactive video
•
10th Grade - University
5 questions
Helping Build the Internet: Valerie Thomas | Great Minds
Interactive video
•
11th Grade - University
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
23 questions
Subject Verb Agreement
Quiz
•
9th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
19 questions
Review2-TEACHER
Quiz
•
University
15 questions
Pre2_STUDENT
Quiz
•
University
20 questions
Ch. 7 Quadrilateral Quiz Review
Quiz
•
KG - University