Save
Grade 7
First Quarter
Robotics
Save
Share
Learn
Content
Leaderboard
Learn
Created by
Annika Concepcion
Visit profile
Cards (13)
What is repeating behavior also known as?
Loops
What are the types of loops in programming?
Forever
- to loop forever.
Repeat
- to repeat for a set amount of times.
Repeat until
- to repeat until the Boolean condition reports true.
What does a "Forever" loop do?
It loops
forever.
What does a "Repeat" loop do?
It
repeats
for a
set amount
of times.
What does a "Repeat until" loop do?
It
repeats
until the Boolean condition reports
true.
What are the types of conditional statements in programming?
If then
- to run if the Boolean condition reports true.
If then-Else
- first or second parts based on Boolean value reported.
If then-Else if then-Else
- first set of internal blocks where the condition returns true.
What does an "If then" statement do?
It runs if the Boolean
condition
reports
true.
How does an "If then-Else" statement function?
It executes the first or
second parts
based on the
Boolean
value reported.
What is the purpose of an "If then-Else if then-Else" statement?
It allows for
multiple conditions
to be
checked in sequence.
What are Boolean expressions?
Statements that evaluate to either true or false.
Types include:
Equal
to - if first value is the same as the second value.
Greater
than - if first value is larger than second value.
Less
than - if first value is less than second value.
What does "equal to" mean in Boolean expressions?
It means the
first
value is the same as the
second
value.
What does "greater than" mean in Boolean expressions?
It means the first value is
larger
than the
second
value.
What does "less than" mean in Boolean expressions?
It means the
first
value is
less
than the second value.