Recall & Review
beginner
What is the purpose of input in a program?
Input allows a program to receive data from the user or another source, so it can process and respond to different situations.
Click to reveal answer
beginner
Why do programs need output?
Output shows the results of the program's work to the user or another system, making the program useful and interactive.
Click to reveal answer
beginner
How do input and output work together in a program?
Input provides data to the program, the program processes it, and output delivers the results back to the user or system.
Click to reveal answer
beginner
Give a real-life example of input and output.
Typing a message on a phone (input) and seeing the message appear on the screen (output) is a simple example.
Click to reveal answer
beginner
What happens if a program has no input or output?
Without input, the program can't get data to work on; without output, the user can't see the results, so the program is not useful.
Click to reveal answer
Why is input important in a program?
✗ Incorrect
Input is important because it gives the program data to work with.
What does output do in a program?
✗ Incorrect
Output shows the results of the program's processing to the user.
What happens if a program has no output?
✗ Incorrect
Without output, the user cannot see what the program did.
Which of these is an example of input?
✗ Incorrect
Typing text on a keyboard is input because it sends data to the program.
How do input and output relate?
✗ Incorrect
Input gives data to the program, output shows the results.
Explain why input and output are necessary in a program.
Think about how a program talks with users.
You got /3 concepts.
Describe a simple real-life example that shows input and output.
Consider typing and seeing something on a screen.
You got /3 concepts.