
Algorithms and Programs- Control Structures
Presentation
•
Computers
•
8th - 11th Grade
•
Practice Problem
•
Medium
Jodian Blake
Used 112+ times
FREE Resource
7 Slides • 13 Questions
1
Algorithms and Programs- Control Structures
Ms. Blake
2
Multiple Choice
Which of the following is not a type of algorithm?
Pseudocode
Flowchart
IPO Chart
Narrative (structured english)
3
Fill in the Blanks
Type answer...
4
Multiple Select
This datatype allows a variable to store either TRUE or FALSE
Character
Boolean
String
IPO chart
5
What are control structures in algorithms and programs?
Also refered to as PROGRAMMING CONSTRUCTS.
Control Structures tell how the instructions you write should be executed or processed.
They determine how the steps in your algorithm or program should flow.
6
Types of Control Structures
Sequential
Selection (conditional)
Iteration (Repetition / loop)
7
Control Structures
Sequential- the instructions are processed (executed) in the order they are written.
Selection- makes a decision between one or more options.
Iteration- repeat a set of instructions for a number of times.
8
Multiple Choice
Which of the following is NOT a control structure?
Datatype
Sequential
Conditional
Repetition
9
Fill in the Blanks
Type answer...
10
Multiple Choice
This control structure executes instructions in the order they are written.
Iteration
Selection
Sequential
11
Fill in the Blanks
Type answer...
12
Fill in the Blanks
Type answer...
13
Sequential Control Structure Example (Narrative)
1.Ask user to enter 3 numbers
2.Computer accepts numbers
3.Find the sum of the 3 numbers
4.Divide the sum by 3
5.Print Answer
14
Using Selection/ conditional control structure example (Narrative)
Ask user to enter 3 numbers
Computer accepts numbers
Find the sum of the numbers and store it in the variable total
If total is greater than 40 then display “very good” ELSE
Display “too bad”
15
Iteration/ Repetition Control structure Example (Narrative)
Set X to start at 1; (X = 1)
Repeat the instructions:
1. Ask user to enter 3 numbers
2.Computer accepts numbers
3.Find the sum of the 3 numbers
4.Divide the sum by 3
5.Print Answer
6.Add 1 to X
Until X becomes 20
16
Fill in the Blanks
Type answer...
17
Multiple Select
if age1 > age2 then
print "age 1 is bigger"
else
print "age2 is bigger"
This is an example of which construct?
Iteration
Repetition
Conditional
18
Multiple Select
X= 1
Repeat
Print "enter name"
Read name
Print "your name is", name
X= X+1
Until X= 10
This is an example of which construct?
loop
Conditional
Selection
19
Multiple Choice
Which of the following is NOT a control structure?
Algorithms
Conditional
Repetition
Sequential
20
Fill in the Blanks
Type answer...
Algorithms and Programs- Control Structures
Ms. Blake
Show answer
Auto Play
Slide 1 / 20
SLIDE
Similar Resources on Wayground
15 questions
ACT English Consistency
Presentation
•
9th - 11th Grade
14 questions
Third Conditional
Presentation
•
8th - 10th Grade
16 questions
Scientific Method
Presentation
•
9th - 11th Grade
17 questions
Networks
Presentation
•
8th - 12th Grade
12 questions
What is Science?
Presentation
•
KG - 12th Grade
16 questions
Cell Cycle and Cancer Lesson
Presentation
•
9th - 12th Grade
14 questions
4.2.4 Application with Trigonometry
Presentation
•
9th - 10th Grade
15 questions
Cybersecurity: CC CS #31
Presentation
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
GPA Lesson
Presentation
•
9th - 12th Grade
7 questions
Albert Einstein
Quiz
•
3rd Grade
31 questions
Bridge A Review
Quiz
•
3rd Grade
6 questions
Blue Sue and Red Ruth
Quiz
•
3rd Grade
8 questions
(Day12 HW) Inverse Trig Ratios
Quiz
•
9th Grade
20 questions
Summer Geometry QUIZ (Week3)
Quiz
•
9th Grade
16 questions
Theme Practice
Quiz
•
7th Grade
20 questions
Taxes
Quiz
•
9th - 12th Grade
Discover more resources for Computers
10 questions
GPA Lesson
Presentation
•
9th - 12th Grade
8 questions
(Day12 HW) Inverse Trig Ratios
Quiz
•
9th Grade
20 questions
Summer Geometry QUIZ (Week3)
Quiz
•
9th Grade
20 questions
Taxes
Quiz
•
9th - 12th Grade
16 questions
Warm Up: Basics of Geometry
Quiz
•
9th Grade
16 questions
Translations and Reflections
Quiz
•
9th - 10th Grade
17 questions
High School Survival Guide
Presentation
•
9th - 12th Grade
20 questions
Banking
Quiz
•
9th - 12th Grade