Q1What is a program?
- AA picture the computer draws by itself.
- BA list of steps the computer follows in order.
- CThe screen the computer shows text on.
- DThe printed paper copy of what the computer shows.
Four questions about today's words. Tap the answer you choose.
print do?printRun"hello"helloprint("Cat") and press Run. What appears on the screen?print("Cat") — the whole line you typed.Cat — the quote marks only mark where the text starts and ends."Cat" — with the quote marks, because you typed them.Run each program in your head. What does it print or draw?
print("Red")
print("Blue")Blue on the first line, Red on the second lineRedBlue with no spaceRed Blue on one lineRed on the first line, Blue on the second lineprint("One")
print()
print("Three")print("*****")
print("* Mia *")
print("*****")***** * Mia * ****** Mia *, then the same row of starsThis program is broken. You do not have to fix it — say what is wrong.
Hello. They press Run and the screen shows nothing at all. What is wrong?print()
print line before the first one shows anything.print is spelled wrong.Pick one. Type it in any chapter runner and run it.
Print a name and a color.
Write a program that prints your name on one line and your favorite color on the next line.
Two print lines run, and two lines appear on the screen in that order.
Print a name badge.
Print a name badge: a row of at least five = characters, then your name, then the same row again.
Three print lines produce three lines on screen, and the top and bottom rows are the same length.
Print a badge with a blank line above it and a blank line below it, so the badge sits alone in the middle.
Five print lines in all, two of them empty print(), and the badge has one clear blank line above and below.
Tick what your program does. Be honest — this is how you see what to practise.
0 of 4 ticked
Show a classmate your program and say what the word string means, using your own screen as the example.
Tick what you said out loud.
0 of 4 ticked
0 of 0 answered