Search Header Logo

Y10D/Computer Science GCSE - Algorithms - Linear & Binary

Authored by Salah Mehdi

Computers

10th Grade

Used 23+ times

Y10D/Computer Science GCSE - Algorithms - Linear & Binary
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?