

Linear Search (One dimensional)
Presentation
•
Computers
•
9th - 10th Grade
•
Practice Problem
•
Medium
Calum Gordon
Used 13+ times
FREE Resource
12 Slides • 15 Questions
1
Linear Search
(One dimensional)
Searching a sequential list

2
3
4
Multiple Select
In this lesson I am going to learn to ... ?
Apply a linear search to a 1-D list
Show a linear search algorithm in a flowchart
Code a linear search algorithm
Compare linear and binary search algorithms
5
6
Poll
You need to find the value 42 in this table?
How would you go about doing this?
Scan row-by-row from top to bottom looking for it?
Scan column-by-column from left to rightlooking for it
Look in random positions for it
Scan from bottom up to top looking for it
7
8
Fill in the Blanks
The search algorithm you are going to use today is called
Type answer...
9
10
11
Multiple Choice
Which of these is the best description of linear search?
Start looking at the beginning and continue until you get to the end
Start looking at the beginning and continue until either you find the item or get to the end
Start looking at the end and continue until you get to the beginning
Keep looking in random locations until you find the item
12
Multiple Choice
What would be the most suitable type of data for the linear search algorithm to return
Bool
str
int
float
13
Multiple Choice
What data type should be returned if the linear search algorithm was to return the index position of the search item.
Book
int
float
str
14
Multiple Choice
What integer value should be returned by the linear search algorithm to indicate the search item was NOT found?
0
-1
1
len(list)
15
16
17
Fill in the Blanks
Executing a computer algorithm on paper instead of on a computer is called doing a
Type answer...
18
19
Fill in the Blanks
What integer value would be returned by a linear search when searching for the value: "Serrano"
Type answer...
20
Fill in the Blanks
What integer value would be returned by a linear search when searching for the value: "Mopp"
Type answer...
21
22
Multiple Choice
What has been blanked out from this linear search algorithm?
found
notFound
moreItems
index
23
Multiple Choice
What has been blanked out from this linear search algorithm?
!=
==
<=
<
24
25
Multiple Select
In this lesson I have learned to ...
Apply a linear search to a 1-D list
Show a linear search in a flowchart
Write code for a linear search algorithm
26
Open Ended
Thinking Hard
What is the most interesting thing you’ve learnt today?
Compare your idea with a friend's.
Explain why yours is more important.
(press Shift+Enter to take a new line ...)
27
Poll
How much of this lesson have you understood?
None of it
Some of it
Most of it
All of it
Linear Search
(One dimensional)
Searching a sequential list

Show answer
Auto Play
Slide 1 / 27
SLIDE
Similar Resources on Wayground
19 questions
Yr 11 - AQA GCSE Computer Science-Computer networks revision
Presentation
•
9th - 10th Grade
23 questions
Occupations related to digital media careers
Presentation
•
9th Grade
20 questions
Romeo and Juliet Act 3
Presentation
•
9th - 10th Grade
20 questions
fast food
Presentation
•
KG
20 questions
Areas of polygons
Presentation
•
9th - 10th Grade
21 questions
Past Continuous
Presentation
•
9th - 10th Grade
21 questions
Addition and Subtraction
Presentation
•
KG
20 questions
INFORMATIKA 9
Presentation
•
9th Grade
Popular Resources on Wayground
6 questions
PRIDE Always and Everywhere
Presentation
•
12th Grade
20 questions
Lab Safety Quiz
Quiz
•
6th Grade
26 questions
KOR Review Kahoot Questions
Quiz
•
8th Grade
21 questions
Continents and Oceans
Quiz
•
6th Grade
12 questions
Unit Zero lesson 2 cafeteria
Presentation
•
9th - 12th Grade
20 questions
Parts of Speech
Quiz
•
5th Grade
10 questions
Riddles Riddles fun Riddles
Quiz
•
6th - 12th Grade
16 questions
Subject & Predicate
Quiz
•
5th Grade