
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
9 questions
Central Idea
Presentation
•
8th - 11th Grade
10 questions
Imaginary Numbers
Presentation
•
7th - 12th Grade
10 questions
Solving Systems by Substitution
Presentation
•
8th - 12th Grade
8 questions
Touching Spirit Bear Anticipation Guide
Presentation
•
7th - 12th Grade
10 questions
Computer Network
Presentation
•
9th - 12th Grade
10 questions
MLA Formatting
Presentation
•
6th - 12th Grade
11 questions
Spanish Adjective Placement
Presentation
•
6th - 12th Grade
7 questions
Viikonpäivät ja kellonajat
Presentation
•
KG
Popular Resources on Wayground
10 questions
HCS SCI 03 Summer School Assessment 1
Quiz
•
3rd Grade
15 questions
HCS SCI 05 Summer School Assessment 1 Review
Quiz
•
5th Grade
22 questions
Day 9 Equations and Inequalities Review
Quiz
•
9th Grade
10 questions
Writing and Identifying Ratios Practice
Quiz
•
5th - 6th Grade
7 questions
PYRAMID PERSPECTIVES part 1
Presentation
•
9th - 12th Grade
12 questions
Understanding the Fourth of July
Quiz
•
9th Grade
15 questions
Soccer World Cup Quiz Questions
Quiz
•
7th Grade