
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
23 questions
Elementy z proszkรณw spiekanych
Quiz
โข
6th Grade - University
25 questions
QUIZ 1 l TOPIC 10 [ACCOUNTING FOR LIABILITIES]
Quiz
โข
1st Grade - University
25 questions
SMN 10023 - PRETEST 2
Quiz
โข
University
23 questions
CONFIDENCE Unit 7 (Language focus - Modifying adverbs)
Quiz
โข
1st Grade - University
23 questions
Repaso planeaciรณn UA1
Quiz
โข
University
23 questions
Konkurs wiedzy o Mikoลaju Koperniku
Quiz
โข
University
23 questions
Quiz presentacion ECLAC
Quiz
โข
University
23 questions
Fatos e Opiniรตes: Entenda a Diferenรงa
Quiz
โข
12th Grade - University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
โข
3rd Grade
10 questions
Probability Practice
Quiz
โข
4th Grade
15 questions
Probability on Number LIne
Quiz
โข
4th Grade
20 questions
Equivalent Fractions
Quiz
โข
3rd Grade
25 questions
Multiplication Facts
Quiz
โข
5th Grade
22 questions
fractions
Quiz
โข
3rd Grade
6 questions
Appropriate Chromebook Usage
Lesson
โข
7th Grade
10 questions
Greek Bases tele and phon
Quiz
โข
6th - 8th Grade
Discover more resources for Education
12 questions
IREAD Week 4 - Review
Quiz
โข
3rd Grade - University
20 questions
Endocrine System
Quiz
โข
University
7 questions
Renewable and Nonrenewable Resources
Interactive video
โข
4th Grade - University
30 questions
W25: PSYCH 250 - Exam 2 Practice
Quiz
โข
University
5 questions
Inherited and Acquired Traits of Animals
Interactive video
โข
4th Grade - University
20 questions
Implicit vs. Explicit
Quiz
โข
6th Grade - University
7 questions
Comparing Fractions
Interactive video
โข
1st Grade - University
38 questions
Unit 8 Review - Absolutism & Revolution
Quiz
โข
10th Grade - University