Recall & Review
beginner
What is the purpose of input in a C program?
Input allows a program to receive data from the user or another source, so it can process and use that data to perform tasks.
Click to reveal answer
beginner
Why is output important in programming?
Output shows the results of the program's work to the user, making the program useful by communicating information back.
Click to reveal answer
beginner
Give a real-life example of input and output.
When you use an ATM, you input your PIN and amount to withdraw, and the machine outputs cash and a receipt.
Click to reveal answer
beginner
What happens if a program has no input?
Without input, a program cannot get data to work on, so it can only do fixed tasks or show fixed results.
Click to reveal answer
beginner
What happens if a program has no output?
Without output, the user cannot see the results or know what the program did, making it hard to use or understand.
Click to reveal answer
Why do programs need input?
✗ Incorrect
Input is needed so the program can get data to work on.
What is the main role of output in a program?
✗ Incorrect
Output shows the results or information to the user.
If a program has no output, what is the problem?
✗ Incorrect
Without output, the user cannot see what the program did.
Which of these is an example of input?
✗ Incorrect
Typing your name is giving data to the program, which is input.
Why is input and output together important?
✗ Incorrect
Input and output let the program get data and show results, enabling interaction.
Explain why input is necessary for a program to be useful.
Think about how a program knows what to do.
You got /3 concepts.
Describe the role of output in communicating with the user.
Consider how a program shares what it did.
You got /3 concepts.