Linear Search

Linear Search

12th Grade

5 Qs

quiz-placeholder

Similar activities

PLTW CSP Activity 1.1.1 Section 2

PLTW CSP Activity 1.1.1 Section 2

9th - 12th Grade

10 Qs

AP CSP Linear Search

AP CSP Linear Search

12th Grade

10 Qs

C++ Searches and Sorts

C++ Searches and Sorts

7th - 12th Grade

9 Qs

Checkpoint - IPO Diagrams in Computational Thinking

Checkpoint - IPO Diagrams in Computational Thinking

9th Grade - University

10 Qs

Insert Sort

Insert Sort

12th Grade

10 Qs

J277 - 2.1 - Inputs, Outputs and Processes

J277 - 2.1 - Inputs, Outputs and Processes

10th Grade - University

10 Qs

Telebort Program G: Data Preparation & Classification

Telebort Program G: Data Preparation & Classification

12th Grade

10 Qs

G12 ICDL Search Engine Optimisation

G12 ICDL Search Engine Optimisation

11th - 12th Grade

6 Qs

Linear Search

Linear Search

Assessment

Quiz

Computers

12th Grade

Medium

Created by

Heba Alqedra

Used 56+ times

FREE Resource

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

How many linear searches will it take to find the value 7 in the list [1,4,8,7,10,28]?
2
3
4
5

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image
A Linear search algorithm requires data to be ordered.
True
False

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image
What is an advantage of the Linear search algorithm?
Performs well with small sized data sets
Can be used on data sets with more than a million elements
Is complicated to code

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is a disadvantage of the Linear search algorithm?
It will only work on a sorted data set
May be too slow to process large data sets

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image
What will happen in a Linear search algorithm if no match is found?
It continues to search in a never ending loop.
"Item not found" is returned