Search courses, chapters, or pages...
Write a single command that makes text appear on the screen. You’ll identify the command name, the data it receives, and the exact punctuation that tells the computer what to run.
A clinic check-in kiosk is supposed to show one clear message before the doors open. You and a teammate must fix the single command that prints the message, without breaking the launch script.
Trace a short program line by line and predict the order of its output. You’ll see why moving one line can change what the user sees first, next, and last.
Use what you learned in the previous lesson to solve real-world problems.
Check what you understood with a short quiz.
Put simple calculations or joined text inside an output command and predict the value that appears. You’ll practice seeing an expression as something the computer evaluates before the command finishes.
Run an input prompt and follow the moment when the program pauses for the user’s reply. You’ll recognize that the reply becomes a value the program can use next.
Place one step inside another, such as asking for input inside an output command. You’ll trace nested code from the inside out so the prompt, reply, and final output happen in the right order.
Spot how quotes, parentheses, commas, spelling, and capitalization change whether code can run. You’ll connect small syntax mistakes to the computer’s need for exact instructions.
Use a simple trace table to record each line, any input value, each expression result, and each piece of output. You’ll be able to predict what a tiny program does without guessing.
Review this chapter with practice based on your mistakes.