
Algorithms and Programs- Control Structures
Presentation
•
Computers
•
8th - 11th Grade
•
Practice Problem
•
Medium
Jodian Blake
Used 111+ 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
17 questions
Literary Elements: Author's Tone
Presentation
•
7th - 12th Grade
17 questions
Analyzing Rhetorical Devices
Presentation
•
7th - 10th Grade
16 questions
4.1 Describe Network Firewall Settings
Presentation
•
9th - 12th Grade
15 questions
Conditional Probability
Presentation
•
9th - 12th Grade
14 questions
Plant and Animal Cell Tonicity
Presentation
•
9th - 12th Grade
14 questions
Determining Word Meanings
Presentation
•
9th - 10th Grade
15 questions
Organizational Structures
Presentation
•
9th - 11th Grade
17 questions
Water Pollution
Presentation
•
9th - 12th Grade
Popular Resources on Wayground
15 questions
Grade 3 Simulation Assessment 1
Quiz
•
3rd Grade
22 questions
HCS Grade 4 Simulation Assessment_1 2526sy
Quiz
•
4th Grade
16 questions
Grade 3 Simulation Assessment 2
Quiz
•
3rd Grade
19 questions
HCS Grade 5 Simulation Assessment_1 2526sy
Quiz
•
5th Grade
17 questions
HCS Grade 4 Simulation Assessment_2 2526sy
Quiz
•
4th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
24 questions
HCS Grade 5 Simulation Assessment_2 2526sy
Quiz
•
5th Grade
20 questions
Math Review
Quiz
•
3rd Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
18 questions
Company Logos
Quiz
•
6th - 8th Grade
20 questions
Inventor Terms Exercise #1a
Quiz
•
9th Grade
31 questions
Inventor Vocabulary Review Sheet
Quiz
•
9th Grade
26 questions
Final Exam Review 1
Quiz
•
11th Grade
10 questions
Exploring Cybersecurity Techniques and Threats
Interactive video
•
6th - 10th Grade
9 questions
Health
Interactive video
•
6th - 8th Grade