You tap the camera button and a picture appears. Name the input and output.
Input: Tapping the Button
Output: Picture appears
Every time you collect a coin, your coin total goes up by 1. What type of processing is happening?
Calculation & Counting
You press a key on your keyboard. Is this input, output, or processing?
Input
points = 5
What is the variable
points
Symere says:
“A speaker playing music is an input because sound goes into your ears.”
Is Symere correct? Fix his answer.
No. It's an output because information is coming from the computer.
You speak into a phone and your words appear as text on the screen. What happens between the input and output?
Processing. The phone processes your voice and changes it into text.
A weather app checks Monday's and Tuesday's temperatures to determine which was warmer. What type of processing is happening?
Comparison
A sound plays through your headphones. Is this input, output, or processing?
Output
Points = 5
points = points + 3
points = points - 2
What is the new value of points
India says:
“A game checking which player has more points is Calculation & Counting.”
No. Comparison
A game remembers your score is 25. You earn more points and it changes to 30. What term describes score? Explain.
Variable, because its value can change.
A character keeps running until the player releases a button. What type of processing is happening? Explain.
Repeating/Loop, because the action continues to repeat.
A calculator solves 8 + 4. Is the computer receiving input, processing information, or giving output while it solves the problem?
Processing
lives = 3
IF lives == 0
PRINT "Game Over"
Will the computer print "Game Over"? Explain why or why not.
No. Lives equals 3, not 0.
Jennifer says:
“A loop is something a computer checks to see if it is true or false.”
What term did Jennifer actually describe
A Condition
A phone checks whether its battery is below 10%. What is the condition being checked?
Whether the battery level is below 10%.
A phone checks whether the correct passcode was entered. If it was, the phone unlocks. What type of processing is happening?
If/Then, because the phone performs an action if a condition is true.
You click the volume-up button and your computer makes the music louder. What is the input?
Clicking/pressing the volume-up button
age = 12
IF age > 10
PRINT "Welcome!"
Else
PRINT "Goodbye!"
What will the computer output?
"Welcome!"
A student looks at:
temperature > 80
and says: “The > is the condition.”
What's wrong with that answer?
> is the operator. The whole statement is the condition.
A student says, “A screen is always an output.” Prove them wrong with an example.
A touchscreen can also be an input because touching it sends information into the computer.
A game keeps track of how many keys you've collected. When you have 3 keys, a secret door opens. Name TWO types of processing happening.
Calculation & Counting + If/Then
You type 5 + 5 into a calculator. The calculator solves the problem and displays 10. Name the input, processing, and output.
Input = entering 5 + 5
Processing = calculating 5 + 5
Output = displaying 10
score = 8
score = score + 4
IF score >= 10
PRINT "You Win!"
What is the new score, will "You Win!" appear, and what two types of processing are happening?
What is the new score, will "You Win!" appear, and what two types of processing are happening?
A student says:
“If/Then and Comparison are the same because they both check information.”
Explain the difference
Comparison looks at values to determine how they relate; If/Then uses a condition to decide what happens next.