

2.8 Procedures Lesson
Presentation
•
Computers
•
9th - 12th Grade
•
Easy
Amy Austin
Used 3+ times
FREE Resource
13 Slides • 1 Question
1
2.8 Procedures Lesson

2
Abstraction
the process of reducing complexity by focusing on the main idea
3
Imagine that you are sitting in a chair in your home when someone knocks at the door. What do you do? How do you react to this event?
4
Common answers to this scenario apply a great amount of abstraction—“removing—or obscuring—detail”:
Open the door leaves out how you get to the door
Adding walk to the door doesn’t explain how to actually walk
Replace walk to the door with a repeated series of take a step doesn’t describe how steps are taken
Lift your foot leaves out which muscles you use to bend your leg
5
Open Ended
What is one level of abstraction that is applied to the event answering a text message?
6
Procedural Abstraction
Allows us to provide a name to a process and then allows us to perform that process without necessarily know how it does the process, but just by knowing what it does
7
Modularity
the subdivision of a computer program into separate subprograms
8
Wouldn’t it be nice to define walking—with all of the necessary details—once and then just call it walk?
9
Procedure
a named collection of steps in an algorithm (or group of programming instructions) that can be reused anytime it is needed A procedure may have parameters and return values
10
Procedures = abstraction
11
Parameter
A special type of variable used within a procedure.
12
PROCEDURE walk
1. Lift left leg.
2. Move left leg forward.
3. Set left leg down.
4. Lift right leg.
5. Move right leg forward.
6. Set right leg down.
13
walk -> take n steps
14
PROCEDURE take n steps
REPEAT n times
1. Lift left leg.
2. Move left leg forward.
3. Set left leg down.
4. Lift right leg.
5. Move right leg forward.
6. Set right leg down.
2.8 Procedures Lesson

Show answer
Auto Play
Slide 1 / 14
SLIDE
Similar Resources on Wayground
14 questions
AP CSP Unit 1 Test Review
Presentation
•
10th - 12th Grade
14 questions
DIDLS - Imagery
Presentation
•
9th - 12th Grade
10 questions
Jimmy Carter Presidency
Presentation
•
9th - 12th Grade
14 questions
Employability
Presentation
•
9th - 12th Grade
10 questions
L600.5O-3 (VOCA APPLIANCES) W25
Presentation
•
9th - 12th Grade
9 questions
Procedural Text
Presentation
•
9th - 12th Grade
10 questions
Behavior BrainPOP
Presentation
•
9th - 12th Grade
10 questions
IDIOMS
Presentation
•
9th - 12th Grade
Popular Resources on Wayground
24 questions
PBIS-HGMS Day 10
Quiz
•
6th - 8th Grade
10 questions
HCS SCI 03 Summer School Review 3
Quiz
•
3rd Grade
11 questions
Home Scope
Quiz
•
7th - 8th Grade
15 questions
HCS SCI 05 Summer School Assessment 3 Review
Quiz
•
5th Grade
35 questions
Lufkin Road Middle School Student Handbook & Policies Assessment
Quiz
•
7th Grade
18 questions
Geo 11.3 Area of Circles and Sectors
Quiz
•
9th - 11th Grade