Y10D/Computer Science GCSE - Algorithms - Linear & Binary

Y10D/Computer Science GCSE - Algorithms - Linear & Binary

10th Grade

14 Qs

quiz-placeholder

Similar activities

HTML Quiz

HTML Quiz

7th - 12th Grade

15 Qs

Unit 3 Lists

Unit 3 Lists

7th - 12th Grade

15 Qs

Python. Двоичный(бинарный) поиск.

Python. Двоичный(бинарный) поиск.

10th Grade

9 Qs

[AP CSP] Programming: LISTS/ARRAYS (Python)

[AP CSP] Programming: LISTS/ARRAYS (Python)

9th - 12th Grade

16 Qs

Python Loops Quiz (for loop and while loop)

Python Loops Quiz (for loop and while loop)

10th Grade

10 Qs

Binary and Linear Search

Binary and Linear Search

9th - 12th Grade

18 Qs

Create a Website 1

Create a Website 1

KG - University

10 Qs

Searching Algorithm

Searching Algorithm

9th - 12th Grade

16 Qs

Y10D/Computer Science GCSE - Algorithms - Linear & Binary

Y10D/Computer Science GCSE - Algorithms - Linear & Binary

Assessment

Quiz

Computers

10th Grade

Medium

Created by

Salah Mehdi

Used 21+ times

FREE Resource

14 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A linear search works by?

Randomly picking out items in the list until it finds the one it is looking for

Starts at the beginning and checks each item in sequence until it finds the value it is looking for

Starts in the middle to see if the value is higher or lower than what is being lookedfor, removing half the list and repeating the process

Starts at the end and checks each item in the sequence going backwards until itfinds the value it is looking for

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How many checks would need to be made to find the number 8, in the list 4,5,9,8,14,20,21?

1

2

3

4

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the best case scenario for finding a value in a linear search?

It is the first item

It is the last item

It is somewhere in the middle

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the worst case scenario for finding a value in a linear search?

It is the first item

It is the last item

It is somewhere in the middle

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

3

4

5

6

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

3

4

5

6

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

To add another item to the list

To remove an item that has been checked from the list

To increase the value so that the next item of the list can be checked

To increase the number of times that the loop will repeat

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?