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 or use that data.
Click to reveal answer
beginner
Why do programs need output?
Output shows the result of the program's work to the user or sends data to another system.
Click to reveal answer
beginner
Give a real-life example of input and output.
Typing your name on a website is input; seeing a welcome message with your name is output.
Click to reveal answer
beginner
What happens if a program has no input?
It cannot get new data from the user, so it can only work with fixed information inside the program.
Click to reveal answer
beginner
What happens if a program has no output?
The user cannot see the results or information from the program, making it hard to know if it worked.
Click to reveal answer
Why do programs need input?
✗ Incorrect
Input is used to get data from users or other sources so the program can work with it.
What is output used for in a program?
✗ Incorrect
Output shows the results or information from the program to the user.
If a program has no input, what is true?
✗ Incorrect
Without input, the program cannot get new data and must use fixed data inside.
What happens if a program has no output?
✗ Incorrect
Without output, the user cannot see what the program did or its results.
Which of these is an example of input?
✗ Incorrect
Typing data into a form is input because the program receives data from the user.
Explain why input and output are important in programming.
Think about how a program talks with people.
You got /3 concepts.
Describe what would happen if a program had no input or no output.
Consider how a program works without talking or listening.
You got /3 concepts.