
N5 Programming Recap
Presentation
•
Computers
•
7th - 12th Grade
•
Practice Problem
•
Medium
Kelsey Swan
Used 3+ times
FREE Resource
5 Slides • 6 Questions
1
Programming Recap
N5
2
Variables and Data Types
When we create variables in our program we need to tell the program what type of data to expect.
String = Text
Integer = Whole Numbers
Single = Decimal Numbers
Boolean = True/False
3
Multiple Choice
A program is being created to calculate the number of burgers in stock and the total profit made so far.
Identify the data types required for this program.
Stock - Integer
Profit - Single
Stock - Single
Profit - Single
Stock - Integer
Profit - Integer
Stock - Integer
Profit - String
4
Complex If Statements
A complex if statement includes more than one condition per If statement.
We do this using the 3 logic operators.
5
Multiple Choice
Which one of the following is NOT a Logic Operator
AND
NOT
OR
=
6
Complex If Statements
Using AND, OR or NOT allow us to combine conditions.
E.G.
If mark >= 40 AND mark <= 55 THEN
Grade = "C"
End If
7
Multiple Choice
What would be the output if 90 entered in as the score?
Proceed to level 2
Proceed to level 3
Proceed to level 4
Nothing
8
Multiple Choice
The output from the following code is:
You need to pass another unit
What must the values of the variables to get this output?
UnitOne = True
UnitTwo = True
UnitOne = False
UnitTwo = True
UnitOne = False
UnitTwo = False
9
Loops
Used when the programmer doesn't know how many times to repeat.
Will repeat WHILE something is true or UNTIL something is true
Conditional Loops
Used when the programmer knows how many times the code should repeat.
Fixed Loops
10
Fill in the Blanks
Type answer...
11
Multiple Choice
WHILE age < 18
MsgBox("Entry not allowed")
age = InputBox("Enter age")
End Loop
What value will trigger the while loop to start?
18 or under
18
Anything less than 18
Anything more than 18
Programming Recap
N5
Show answer
Auto Play
Slide 1 / 11
SLIDE
Similar Resources on Wayground
12 questions
Anne Frank Character Change
Presentation
•
6th - 9th Grade
10 questions
Phenotype, Genotype, and Punnett Squares
Presentation
•
7th - 12th Grade
8 questions
Digitális platformok online workshop
Presentation
•
KG
10 questions
Solving Equations
Presentation
•
6th Grade
11 questions
Reading News Online
Presentation
•
5th Grade
10 questions
Lesson 5-3: Construct Linear Functions
Presentation
•
7th - 12th Grade
9 questions
Writing a Story
Presentation
•
7th - 12th Grade
11 questions
Identify Essential Study Skills
Presentation
•
6th - 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