AL_lecture_search_algorithm
Quiz
•
Computers
•
1st - 3rd Grade
•
Practice Problem
•
Medium
Dilmurod Tuxtanazarov
Used 16+ times
FREE Resource
Enhance your content in a minute
13 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Binarysearch algoritmi qanday arraydan qidiradi
tartiblangan
Tartiblanmagan
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How does a binary search algorithm works?
Dividing the list into halves until the item is matched with one in the list.
Starts with the first element and checks the next element consecutively until a match is found.
None of the above
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
An array with 32 elements is input to a binary search algorithm. How many maximum number of comparisons are performed?
32
16
8
5
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
An array with 32 elements is input to a linear search algorithm. How many maximum number of comparisons are performed?
32
16
8
5
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How is the midpoint of the list calculated?
midpoint= round ((first_element+last_element)/2)
midpoint=(lower_bound+upper_bound)/2
midpoint= round ((lower_bound+upper_bound)/2)
midpoint= round ((lower_bound+upper_bound))
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the disadvantage of binary search algorithm?
It takes longer time when compared to linear search algorithm
It works only on sorted lists
It is very complex to understand
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the worst-case runtime of lookUp/get in a binary search tree?
O(n)
O(logn)
O(1)
O(n2)
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
15 questions
Pliki, foldery oraz ich atrybuty
Quiz
•
1st - 5th Grade
10 questions
PROGRAMACIÓN BÁSICA
Quiz
•
3rd Grade
11 questions
Devices
Quiz
•
KG - 4th Grade
10 questions
Ôn lại Paint 5
Quiz
•
1st - 5th Grade
10 questions
Evaluación de Informática
Quiz
•
1st Grade
10 questions
Programação de Computadores - Aula - 5
Quiz
•
1st - 3rd Grade
10 questions
Introdução aos Sistemas Operacionais
Quiz
•
1st Grade
14 questions
Quiz sobre documentos y dibujos de google, y dispositivos
Quiz
•
1st - 6th Grade
Popular Resources on Wayground
8 questions
2 Step Word Problems
Quiz
•
KG - University
20 questions
Comparing Fractions
Quiz
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Latin Bases claus(clois,clos, clud, clus) and ped
Quiz
•
6th - 8th Grade
22 questions
fractions
Quiz
•
3rd Grade
7 questions
The Story of Books
Quiz
•
6th - 8th Grade
Discover more resources for Computers
8 questions
2 Step Word Problems
Quiz
•
KG - University
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
22 questions
fractions
Quiz
•
3rd Grade
5 questions
Drama
Quiz
•
3rd - 4th Grade
20 questions
Identify Fractions
Quiz
•
3rd Grade
10 questions
Martin Luther King, Jr. For Kids
Interactive video
•
1st - 12th Grade
10 questions
Area
Quiz
•
3rd Grade
