Searches & Bubble Sort

Searches & Bubble Sort

9th - 12th Grade

18 Qs

quiz-placeholder

Similar activities

Berpikir Komputasional 2024

Berpikir Komputasional 2024

10th Grade

20 Qs

Week 6 - ECS

Week 6 - ECS

12th Grade

20 Qs

10 Minute Test 19 - Algorithms

10 Minute Test 19 - Algorithms

9th - 10th Grade

17 Qs

Searching & sorting algorithms

Searching & sorting algorithms

10th - 12th Grade

21 Qs

Quiz Ôn tập

Quiz Ôn tập

7th Grade - University

18 Qs

LINEAR DAN BINARY SEARCH

LINEAR DAN BINARY SEARCH

9th - 10th Grade

19 Qs

Computer Science Quiz

Computer Science Quiz

KG - Professional Development

18 Qs

Unit 8 Algorithms

Unit 8 Algorithms

9th - 12th Grade

18 Qs

Searches & Bubble Sort

Searches & Bubble Sort

Assessment

Quiz

Computers

9th - 12th Grade

Medium

Created by

Alaric Cook

Used 10+ times

FREE Resource

18 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the following symbol mean != ?

Equal

Not Equal

Priority

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Complete a binary search on this list to find the number 5. How many comparisons did it take?

Two

Three

Four

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is the correct major steps of using a bubble sort on this list:
4, 8, 2, 3, 8

4, 2, 3, 8, 8
2, 3, 4, 8, 8

2, 4, 8, 3, 8
2, 3, 4, 8, 8

8, 8, 2, 3, 4
2, 3, 4, 8, 8

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

I am completing a bubble sort on this list:
c, i, f, a, k, s

What is the first pass?

a, c, I, k, s, f

c, f, a, i, k, s

c, i, a, k, s, f

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

I am completing a bubble sort on this list:
c, i, f, a, k, s

What is the second pass?

c, f, a, i, k, s

c, a, f, i, k, s

c, i, a, k, s, f

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which search examines each data item in turn until a match is made or there are no more items to examine?

Linear search

Binary search

Standard search

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is an advantage of a linear search?

It works on both ordered and un-ordered data sets

It is more efficient than a binary search

It works on strings and integers

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?