
Advanced Algorithms Theoretical Questions
Authored by Yernur Zinelov
Education
University
Used 4+ 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
30 sec โข 1 pt
What is the time complexity of x^n?
Can we optimize it?
O(n^2).
No we can't.
O(n).
By optimizing it using โExponentiation by Squaringโ, it becomes O(log n).
O(n).
No we can't.
O(n*log n).
By optimizing it using โExponentiation by Squaringโ, it becomes O(log n).
2.
MULTIPLE CHOICE QUESTION
30 sec โข 1 pt
What is the maximum number of id[] array entries that can change (from one value to a different value) during one call to union when using the quick-find data structure on n elements?
log n
1
n - 1
n
3.
MULTIPLE CHOICE QUESTION
30 sec โข 1 pt
What is the time complexity of "union" and "find" operation in Quick-Find?
Union: O(n)
Find: O(1)
Union: O(n)
Find: O(n)
Union: O(1)
Find: O(n)
Union: O(n)
Find: O(log n)
4.
MULTIPLE CHOICE QUESTION
30 sec โข 1 pt
Consider the maximum number of array accesses during a find operation when using the quick-union data structure on ๐ elements. How does this quantity grow as function of ๐?
constant
logarithmic
quadratic
linear
5.
MULTIPLE CHOICE QUESTION
30 sec โข 1 pt
What is the time complexity of "union" and "find" operations in Quick-Union?
Union: O(n)
Find: O(n)
Union: O(n)
Find: O(1)
Union: O(1)
Find: O(n)
Union: O(log n)
Find: O(n)
6.
MULTIPLE CHOICE QUESTION
30 sec โข 1 pt
Time complexity of Weighted Quick-Union?
Union: O(log n)
Find: O(log n)
Union: O(log n)
Find: O(n)
Union: O(n)
Find: O(log n)
Union: O(1)
Find: O(log n)
7.
MULTIPLE CHOICE QUESTION
30 sec โข 1 pt
What does adjacent mean in a graph?
Two vertices connected directly by an edge.
Two vertices connected undirectly.
Two vertices connected by something.
Two vertices connected but not directly.
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
24 questions
Aprendendo com Piaget e Vygotsky
Quiz
โข
2nd Grade - University
24 questions
Metodologia da Matemรกtica na Profissionalizaรงรฃo
Quiz
โข
2nd Grade - University
24 questions
Verbos regulares - presente do indicativo
Quiz
โข
University
25 questions
TTHCM - C3 - CNXH
Quiz
โข
University
23 questions
REPASO SEGUNDO RECONOCIMIENTO ADM II
Quiz
โข
University
25 questions
planeacion estrategica Foda
Quiz
โข
University
23 questions
Lideratge i negociaciรณ en els equips de treball de camp
Quiz
โข
12th Grade - University
25 questions
QUIZZ WIZZ
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
29 questions
Alg. 1 Section 5.1 Coordinate Plane
Quiz
โข
9th Grade
22 questions
fractions
Quiz
โข
3rd Grade
11 questions
FOREST Effective communication
Lesson
โข
KG
20 questions
Main Idea and Details
Quiz
โข
5th Grade
20 questions
Context Clues
Quiz
โข
6th Grade
Discover more resources for Education
12 questions
IREAD Week 4 - Review
Quiz
โข
3rd Grade - University
7 questions
Fragments, Run-ons, and Complete Sentences
Interactive video
โข
4th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
โข
4th Grade - University
10 questions
DNA Structure and Replication: Crash Course Biology
Interactive video
โข
11th Grade - University
5 questions
Inherited and Acquired Traits of Animals
Interactive video
โข
4th Grade - University
5 questions
Examining Theme
Interactive video
โข
4th Grade - University
20 questions
Implicit vs. Explicit
Quiz
โข
6th Grade - University
7 questions
Comparing Fractions
Interactive video
โข
1st Grade - University