WorksheetsIntro to coding
Total questions: 8
Worksheet time: 4mins
What is a statement?
A single line of code that performs an action
a full program
multiple lines of code that perform a complicated action
commentary about a code that does not perform an action
What is Output?
information a program gives to the user, such as text, graphics, or sound
information entered into the computer to complete an action
a series of instructions the computer follows
the name of a program
Which line of code uses the correct syntax to output "hello world"?
print("hello world")
output("hello world")
print("HELLO WORLD")
print(hello world)
What is "input"?
information a program receives from a user
the information displayed by the program
a single line of code
an entire program
What is the purpose of a prompt?
it tells the user what to input
prompt is purely for output
its a place to get dressed up and dance
a series of instructions for the computer to follow
What is a "String"?
a series of letters, numbers, and symbols surrounded by double quotation marks
any set of characters with any punctuation
the thing that keeps your shoes tied
the lead singer from "the Police"
What is a "comment"?
code line ignored by the computer used as notes for the programmer
a picture or sound output
a series of instructions the computer follows
cosmic snowballs of frozen gases, rock, and dust that orbit the Sun
What is an "error"?
when the computer encounters something unexpected in your code
flawless victory
comments to help understand your code
the purpose of the program
