A variable is used in a program to store this kind of information.
What is a value (or data)?
This is what happens when students talk, joke, and work together during class activities.
What is interaction?
(Also acceptable: teamwork, collaboration, communication.)
In programming, a function is a block of code designed to do this.
What is perform a task?
A Boolean value can only be one of these two things.
What is true or false?
One class project focused on memorizing and typing digits of this famous math number.
What is pi?
Look at this line of code: age = 16;
Which part is the variable?
What is age?
When one group stays focused and finishes work quietly, this positive habit helps everyone learn.
What is good work ethic?
This is the value you give to a function so it can do its job.
What is an input?
What does this expression evaluate to?
What is True?
In the cookie clicker activity, clicking increased this main value.
What is cookies?
(Also acceptable: score, count, total.)
Which of these is a valid variable name in most programming languages?
A) 2score
B) my_score
C) my score
What is my_score?
In games like Dungeons & Dragons and in group projects, this role helps guide the group and make decisions.
What is a leader?
This is what a function gives back after it finishes running.
What is a return value?
Which symbol checks if two values are equal in most programming languages?
A) =
B) ==
C) !=
What is ==?
The gambling machine project relied heavily on randomness and this programming concept.
What is probability?
(Also acceptable: random numbers, chance.)
In this code: score = score + 1;
What is changing each time this line runs?
What is the variable score?
Jokes can make class fun, but too many at the wrong time can cause this.
What is a distraction?
What does this function return?
def add_one(x):
return x + 1
add_one(4)
What is 5?
What does this expression evaluate to?
What is True?
Both the Fortnite quiz and Hamilton quiz required players to answer this type of input.
What is multiple choice questions?
(Or simply: answers, user input.)
Why can this be a variable but not a constant?
lives = lives - 1;
What is because a variable can change its value while a constant cannot?
A class where people respect each other’s learning styles shows this quality.
What is respect?
Why is using functions helpful when writing large programs?
What is they organize code, reduce repetition, and make programs easier to fix and understand?
What will this code print?
x = 8
if x > 10:
print("A")
else:
print("B")
What is B?
All of these projects used variables, logic, and sometimes functions to create this overall result.
What is an interactive program (or game / application)?