

Pseudocode Lesson 1
Presentation
•
Other
•
9th - 12th Grade
•
Practice Problem
•
Hard
Andre Purcell
Used 1+ times
FREE Resource
32 Slides • 14 Questions
1
2
What is Pseudocode?
English-Type
Words and Phrases
Easy Conversion to
Programming Code
3
IPO Chart
Data INPUT
PROCESS Data
OUTPUT Results
4
What is Pseudocode?
Pseudocode, is not a programming language, but simply an informal way of describing a program. It does not require strict syntax, but instead serves as a general representation of a program's functions. Since each programming language uses a unique syntax structure, understanding the code of multiple languages can be difficult.
5
Pseudocode
6
Multiple Choice
Is pseudocode a programming language?
No
Yes
7
Multiple Select
Pseudocode is useful for which of the following? Choose ALL that apply.
to describe how an algorithm should work
to explain a computing process to less-technical users
to design code in a group setting
to show the correct syntax for Phyton
8
Pseudocode
9
Pseudocode
10
Pseudocode
11
12
Multiple Choice
Pseudocode is _________ and non-standard.
subjective
complex
language-specific
cryptic
13
Multiple Choice
When working on a project with others, try to use standard structures that are not specific syntax of a particular programming language.
True
False
14
Pseudocode Loops
For loop – Commonly known as the repeat (x) { ... } loop.
Do while loop – Known as the repeat { ... } until (!CONDITION) loop.
Infinite loop – Known as the repeat forever { ... } loop.
For i = 1 To 5
OUTPUT i // would output each number 1 To 5
EndFor
15
Pseudocode Loops
For loop – Commonly known as the repeat (x) { ... } loop.
Do while loop – Known as the repeat { ... } until (!CONDITION) loop.
Infinite loop – Known as the repeat forever { ... } loop.
games ← ['Fortnite', 'Call of Duty', 'Battlefield']
For i = 0 To 2
While games[i] != 'Battlefield'
i = i + 1
Endwhile
Endfor
16
Multiple Choice
The pseudocode represents a nested loop. Based on your observation, what best describes a nested loop?
A nested loop is a loop inside the body of the outer loop.
A nested loop is a loop alongside the body of the outer loop.
A nested loop is two loops running together.
A nested loop is a loop where one loop waits for the other is done before running.
17
Multiple Choice
If you wanted to display the name of the game found in each position of the array games[i], which line would you use.
OUTPUT games[i]
INPUT games[i]
OUTPUT games
INPUT games[i] on the screen
18
Multiple Choice
If you wanted to display the name of the game found in each position of the array games[i] ONLY once, where would you place the code?
Immediately after For i = 0 to 2
Immediately after 'For'
Immediately after i = i + 1
Before For i = 0 to 2
19
Multiple Choice
What would be displayed if i = 1 when OUTPUT games[i] is placed after i = i + 1?
'Call of Duty' will be displayed
'Fortnite' will be displayed
'Battlefield' will be displayed
Nothing because games[i] would be 'Battlefield' and the WHILE loop will be skipped.
20
Multiple Choice
If you wanted to add 'Forza' to the list, how would you edit the code?
Change 2 to 4 because there are now 4 items in the array
ADD 'Forza' to any position before 'Battlefield' in the array and change
For i = 0 to 2
to For i = 0 to 3
ADD 'Forza' to any position in array ONLY
You cannot add a new item because the array is limited to 3 items
21
Pseudocode Loops
For loop – Commonly known as the repeat (x) { ... } loop.
Do while loop – Known as the repeat { ... } until (!CONDITION) loop.
Infinite loop – Known as the repeat forever { ... } loop.
Do
OUTPUT(fileVariable.readLine) // reads each line of the file until the file ends
Until fileVariable.endOfFile
22
Pseudocode Loops
Discussion questions
23
Multiple Choice
What is the value of Met if Num = 4, in 9.3.3? Show work.
Blu = (2*4)+4
Blu = 8+4 = 12
Met = 12+4-5
Met = 16-5 = 11
Blu = 2*(4+4)
Blu = 2*8 = 16
Met = 16+4-5
Met = 20-5 = 15
Blu = 2*4+4
Blu = 8+4 = 12
Met = 12+4-5
Met = 21
Blu = (2*4)+4
Blu = 8+4 = 12
Met = 12+4-5
Met = 16-5 = 10
24
Multiple Choice
How many times will 'OK' be displayed after the user inputs 'page', in 9.3.3 right?
0
1
2
4
25
Multiple Choice
How many times will 'Oh No' be displayed after the user inputs 'page', in 9.3.3 right?
0
1
2
4
26
Multiple Choice
When will 'Oh No' get displayed in 9.3.3 right?
If word is not equal to 'page'
The first time through the loop
Never
When word = 'page'
27
Pseudocode Example
• Input three numbers
• Add them together
• Show the results
28
Multiple Choice
Which option would display the average of the numbers?
Add (number1 + number2 + number3)/3
OUTPUT result (number1 + number2 + number3)/3
OUTPUT result (number1 + number2 + number3)*.3
Add/3
29
Pseudocode Example
• Input three numbers
• Add them together
• Show the results
Same Data Type
30
Pseudocode Example
• Input three numbers
• Add them together
• Show the results
Same Data Type and Output to Variable
31
Pseudocode Sequential
Statements
Executed one after the other
from the first to the last
Example 6:
32
Pseudocode Conditional
Branching
IF-THEN-ENDIF
IF-THEN-ELSE
33
Pseudocode Conditional
Branching
34
Pseudocode Conditional
Branching – Example 8
35
Pseudocode Conditional
Branching – Example 8
36
Pseudocode Conditional
Branching – Example 9
37
Pseudocode Conditional
Branching – Example 9
38
Pseudocode Conditional
Branching – Example 10
IF-THEN-ELSE
39
Pseudocode Conditional
Branching – Example 10
IF-THEN-ELSE
40
Pseudocode Conditional
Branching – Example 11
IF-THEN-ELSE
41
Pseudocode Conditional
Branching - IF-THEN-ELSE
42
Pseudocode Nested
Conditions
IF-THEN ELSE IF-THEN
43
Pseudocode Loops
44
Pseudocode Loops
45
Pseudocode Loops
46
Pseudocode Loops
Show answer
Auto Play
Slide 1 / 46
SLIDE
Similar Resources on Wayground
44 questions
ALGEBRA STAAR REVIEW
Presentation
•
9th - 12th Grade
40 questions
Causes of the American Revolution
Presentation
•
8th - 12th Grade
40 questions
The French Republic
Presentation
•
9th - 12th Grade
41 questions
Translations and Rotations
Presentation
•
9th - 12th Grade
41 questions
Exploring the United States Space Force
Presentation
•
9th Grade - University
42 questions
Narrative - Short Story
Presentation
•
9th - 12th Grade
40 questions
Accusative pronouns
Presentation
•
9th - 12th Grade
40 questions
Environmental interactions terms
Presentation
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Safety Day 2026 – Student Review
Quiz
•
9th 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
15 questions
Rounding Decimals
Quiz
•
5th Grade
Discover more resources for Other
10 questions
Safety Day 2026 – Student Review
Quiz
•
9th Grade
20 questions
REGULAR Present tense verbs
Quiz
•
8th - 9th Grade
26 questions
SLIME!!!!!
Quiz
•
KG - 12th Grade
20 questions
Cell organelles and functions
Quiz
•
10th Grade
10 questions
Test Your Knowledge on Bullying
Quiz
•
9th Grade
12 questions
Absolute Value Equations
Quiz
•
9th Grade
20 questions
Position vs. Time Graphs
Quiz
•
9th Grade
20 questions
Function or Not a Function
Quiz
•
8th - 9th Grade