
ADS LAB Quiz-2
Authored by roja laveti
Education
University
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following special type of trie is used for fast searching of the full texts?
Ctrie
Hash tree
Suffix tree
T tree
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following is not true?
Trie requires less storage space than hashing
Trie allows listing of all the words with same prefix
Tries are collision free
Trie is also known as prefix tree
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the worst case time complexity for search, insert and delete operations in a general Binary Search Tree?
O(n) for all
O(Logn) for all
O(Logn) for search and insert, and O(n) for delete
O(Logn) for search, and O(n) for insert and delete
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
How can we define a AVL tree?
A tree which is binary search tree and height balanced tree.
A tree which is a binary search tree but unbalanced tree.
A tree with utmost two children
A tree with utmost three children
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Why do we prefer Red Black tree over AVL tree?
Red Black trees are not strictly balanced
Red black tree requires lesser rotations than AVL tree.
AVL tree needs more space to store the balance factor.
Both Red black tree requires lesser rotations than AVL tree and AVL tree needs more space to store the balance factor.
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is a splay operation?
moving parent node to down of child
moving a node to root
moving root to leaf
removing leaf node
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the worst case time complexity of KMP algorithm for pattern searching (m = length of text, n = length of pattern)?
O(n)
O(n*m)
O(m)
O(log n)
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
10 questions
Sesión 2. Planeación y Evaluación Educativa I
Quiz
•
University
10 questions
Marco Metodológico y administrativo
Quiz
•
8th Grade - University
15 questions
IDE Tema 2
Quiz
•
University
15 questions
La Dialéctica
Quiz
•
University
15 questions
BÚSQUEDA DE INFORMACIÓN
Quiz
•
University
15 questions
Historia de la educación y pedagogía
Quiz
•
1st Grade - University
10 questions
Quiz Ciberviolencia
Quiz
•
University
11 questions
Segundo TAI - 29 de mayo
Quiz
•
University
Popular Resources on Wayground
8 questions
Spartan Way - Classroom Responsible
Quiz
•
9th - 12th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
14 questions
Boundaries & Healthy Relationships
Lesson
•
6th - 8th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
3 questions
Integrity and Your Health
Lesson
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
9 questions
FOREST Perception
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
Discover more resources for Education
20 questions
Disney Trivia
Quiz
•
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
7 questions
Force and Motion
Interactive video
•
4th Grade - University
20 questions
Implicit vs. Explicit
Quiz
•
6th Grade - University
14 questions
Ch.3_TEACHER-led
Quiz
•
University
7 questions
Comparing Fractions
Interactive video
•
1st Grade - University