

Linear Search (Two dimensional)
Presentation
•
Computers
•
9th - 10th Grade
•
Hard
Calum Gordon
FREE Resource
14 Slides • 26 Questions
1
Sequentially searching for an item in a 2-D list

2
3
4
Multiple Select
In this lesson I am going to learn to ... ?
Apply a linear search to a 2-D list on paper
Complete a linear search algorithm flowchart
Code a linear search for an item in a 2-D list
Compare linear searches of 1-D and 2-D lists
5
6
Multiple Choice
A database record contains .....
all the data on a single person or thing
one piece of data on a person or thing
all the data on multiple persons or things
7
Multiple Choice
A database is ______
An organised collection of records
A table of data
A single field of data
8
Multiple Select
Choose all the tasks normally available in a database ...
Sort records
Search records
Update records
Delete records
Add new records
9
10
Multiple Choice
Which is the best description of a linear search algorithm?
Starts looking for the item at beginning of list until either finds it or reaches end of list
Looks through all items in list looking for the search item
Looks in random locations of the list for the search item
11
12
Multiple Choice
How would you access the record for "Forest"?
studentData[5]
studentData[5][1]
studentData[6]
studentData[6][2]
13
Multiple Choice
What is the index position of "Cooper"?
studentData[2][1]
studentData[1][2]
studentData[3][2]
studentData[2][4]
14
Multiple Choice
Whose record is at studentData[2]?
Cooper
Bennett
Davies
Forest
15
Fill in the Blanks
What data is at index position studentData[4][3]?
Type answer...
16
17
18
19
Multiple Select
What are the differences between this 2-D linear search and the 1-D linear search?
Looks in list[index][1] rather than list[index]
Returns sublist rather than index position if found
Returns empty list rather than -1 if not found
index is incremented by 4 instead of by 1
Searches all records regardless of if found
20
21
22
23
Multiple Select
What are the three main types of test data that should be used to test an algorithm?
expected data
boundary data
exceptional data
numeric data
string data
24
25
Fill in the Blanks
Identify the name of a subprogram
Type answer...
26
Fill in the Blanks
Identify the line number of a subprogram call
Type answer...
27
Fill in the Blanks
Identify a line number where repetition starts
Type answer...
28
Fill in the Blanks
Identify a line number with a call to a built-in subprogram
Type answer...
29
Fill in the Blanks
Identify a line number with a call to a user-defined subprogram
Type answer...
30
Fill in the Blanks
Identify a line number with a Boolean condition
Type answer...
31
Fill in the Blanks
Identify a line number where a data structure is indexed
Type answer...
32
Fill in the Blanks
Identify a line number containing a string method
Type answer...
33
Fill in the Blanks
Identify a line number containing a selection statement
Type answer...
34
Fill in the Blanks
Identify a line number where a global variable is initialised
Type answer...
35
Fill in the Blanks
Identify a line number where a local variable is initialised
Type answer...
36
Fill in the Blanks
Identify a line number containing an inequality operator
Type answer...
37
38
Multiple Select
In this lesson I have learned to ...
Understand the structure of a database record
Perform a linear search on a 2-D data structure
39
Open Ended
Thinking Hard
Transform your work from this lesson into a set of step by step instructions.
(press Shift+Enter to take a new line ...)
40
Poll
How much of this lesson have you understood?
None of it
Some of it
Most of it
All of it
Sequentially searching for an item in a 2-D list

Show answer
Auto Play
Slide 1 / 40
SLIDE
Similar Resources on Wayground
33 questions
Organelles
Presentation
•
9th - 10th Grade
38 questions
Basic Economic Concepts
Presentation
•
9th - 10th Grade
35 questions
Ôn tập HK 2
Presentation
•
10th Grade
32 questions
ASCII
Presentation
•
9th - 10th Grade
37 questions
Human Impact Biology Lesson
Presentation
•
9th Grade
34 questions
Client Server & Peer to Peer Networks
Presentation
•
8th - 10th Grade
33 questions
Bitmaps #1
Presentation
•
9th - 10th Grade
36 questions
Proving Triangles Congruent (Intro to Proofs)
Presentation
•
9th - 10th Grade
Popular Resources on Wayground
10 questions
How much do you know about our Portrait of an Eagle?
Quiz
•
10th Grade
10 questions
Fast Food Slogans
Quiz
•
6th - 8th Grade
21 questions
Continents and Oceans
Quiz
•
6th Grade
20 questions
Parts of Speech
Quiz
•
5th Grade
16 questions
Subject & Predicate
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
12 questions
Map Skills
Quiz
•
3rd Grade
22 questions
Continents and Oceans
Quiz
•
5th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
20 questions
[AP CSP] Python Coding: Functions, Parameters, Return
Presentation
•
9th - 12th Grade
40 questions
Introduction to Microsoft Word
Quiz
•
8th - 12th Grade
20 questions
APCS Unit 1A
Quiz
•
9th - 12th Grade
24 questions
Binary
Quiz
•
9th - 12th Grade