NEW
Font size
WorksheetsSpiral/Variables&Loops/User Input - Codesters
Total questions: 17
Worksheet time: 9mins
The _______ lets us store the text that the user types. We can change that name of that variable to remind us of the value it holds.
input variable
output variable
string
Text that the user enters which is stored in a variable for later use
user input
say command
integer variable
string variable
Debug the code
Add a + between the string and season
Add " " around season
change sprite to season
Delete the " " around "My favorite season is "
We use ______ to combine two strings. If a variable is holding a string value, we can use a ______ to connect the variable and the string.
" "
' '
+
+=
What is the name of the variable that stores the user input?
a
b
c
d
What is the value stored in the user input variable?
a
b
c
d
What is the command that asks the user to type in an answer?
a
b
c
d
a
b
c
d
a
b
c
d
a
b
c
d
The _____ is the number of times that the set of commands will repeat in a loop.
for loop
command
range
counter
How much does the x variable change with each pass through the loop?
-200
40
20
200
How much does the y variable change with each pass through the loop?
-200
40
20
200
What is the turtle’s x-coordinate when the loop has finished?
-200
40
160
200
A _______ is used to repeat a command or a set of commands
range
variable
counter
loop
Debug the program
Add a : at the end of line 9
Remove the indentions on lines 10-13
Add indentions on lines 10-13
This program does not have a bug
Debug the program
Add a : at the end of line 9
Remove the indentions on lines 10-13
Add indentions on lines 10-13
This program does not have a bug
