
Pseudocode
Presentation
•
Mathematics, Computers
•
6th - 8th Grade
•
Practice Problem
•
Easy
Atharv (KMS)
Used 11+ times
FREE Resource
10 Slides • 2 Questions
1
Pseudocode
:D
2
Open Ended
What is pseudocode?
3
Pseudocode
Pseudocode is fake code. It makes sense, but you can't run it through a computer.
:D
4
Basic Operators
Pseudocode
Addition: 1 + 2 = 3
Subtraction: 4 - 3 = 1
Multiplication: 1 * 2 = 2
Division: 1 / 2 = 0.5
Modulus: 9 % 5 = 4
Exponentiation: 2 ^ 3 = 8
Arithmetic I guess
Real Code (Python)
Addition: 1 + 2 = 3
Subtraction: 4 - 3 = 1
Multiplication: 1 * 2 = 2
Division: 1 / 2 = 0.5
Modulus: 9 % 5 = 4
Exponentiation: 2 ^ 3 = 8
5
Decision Operators
Pseudocode
< (2 < 3 is True)
> (5 > 2 is True)
== (1 == 2 is False)
<= (1 <= 1 is True)
>= (1 >= 1 is True)
!= (1 != 2 is True)
Deciding
Real Code (Python)
< (2 < 3 is True)
> (5 > 2 is True)
== (1 == 2 is False)
<= (1 <= 1 is True)
>= (1 >= 1 is True)
!= (1 != 2 is True)
6
Boolean Operators
Pseudocode
! (!True = False)
&& (True && False = False)
|| (True && False = True)
The left side in C++ and Java
The right side works in Python
You may see both sides in pseudocode though :D
Boolean fun!
Real Code (Python)
not (not True = False)
and (True and False = False)
or (True or False = True)
7
Precedence
These operators follow an order (like PEMDAS, with more operators)
!, ^ or ↑, *, /, %, +, -, >, <, >=, <=, !=, ==, &&, and ||
Multiplication and division can occur in any order (the same goes for addition and subtraction)
Precendence
8
Check the weather
Otherwise
Bring a hat
If it is sunny
If/Else
The idea behind decision making
9
If/Else
if the weather is sunny then
bring a hat
else
bring nothing
end if
If/Else in pseudocode
10
if (condition){
do stuff
} else {
do stuff
}
C++/Java
if condition:
do stuff
else:
do stuff
Python
If/Else
How If/Else looks in code
11
12
Multiple Choice
-1
0
1
Φ
Pseudocode
:D
Show answer
Auto Play
Slide 1 / 12
SLIDE
Similar Resources on Wayground
8 questions
Ecuația de gradul I cu o necunoscută
Presentation
•
7th Grade
10 questions
Unit Rate Intro
Presentation
•
7th Grade
10 questions
Add and Subtract Like Fractions
Presentation
•
7th Grade
9 questions
Citing Textual Evidence
Presentation
•
6th - 8th Grade
10 questions
Connecting Conflict and Inference
Presentation
•
6th - 8th Grade
10 questions
Simple Interest
Presentation
•
7th - 8th Grade
11 questions
Appropriate Use of Technology
Presentation
•
6th - 8th Grade
8 questions
Rounding Numbers
Presentation
•
5th - 9th Grade
Popular Resources on Wayground
20 questions
"What is the question asking??" Grades 3-5
Quiz
•
1st - 5th Grade
20 questions
“What is the question asking??” Grades 6-8
Quiz
•
6th - 8th Grade
10 questions
Fire Safety Quiz
Quiz
•
12th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
34 questions
STAAR Review 6th - 8th grade Reading Part 1
Quiz
•
6th - 8th Grade
20 questions
“What is the question asking??” English I-II
Quiz
•
9th - 12th Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
47 questions
8th Grade Reading STAAR Ultimate Review!
Quiz
•
8th Grade
Discover more resources for Mathematics
36 questions
6th Grade Math STAAR Review
Quiz
•
6th Grade
14 questions
Volume of rectangular prisms
Quiz
•
7th Grade
15 questions
Pythagorean Theorem Word Problems Quizizz
Quiz
•
8th Grade
22 questions
Simple Probability
Quiz
•
7th Grade
23 questions
6th Grade Math Review
Quiz
•
6th Grade
20 questions
Graphing Inequalities on a Number Line
Quiz
•
6th - 9th Grade
20 questions
Ratios/Rates and Unit Rates
Quiz
•
6th Grade
22 questions
Mean, Median, Mode and Range
Quiz
•
6th Grade