NEW
Font size
WorksheetsFrom Scratch to Python Quiz Unit 1 ,1.1-1.3
Total questions: 7
Worksheet time: 4mins
Which of these is correct?
print (hello)
print (hello ' "')
print "(hello)"
print ('hello')
What is a variable?
A memory location where you store values
Data type
A function
Prints line for you
What symbol is used in python to assign values to a variable?
equals =
plus +
forward slash /
asterisk *
Which statement correctly assigns the string "Max" to the variable name?
name = print( "Max")
input("Max")
name = "Max"
name = input("Max")
What does the print function do in python?
It's a variable.
It allows data input.
It displays an output
It loops the code.
What will be the output?
number = "21"
print ("number")
number
21
print()
number21
The name of the screen where your code appears is called a ___.
answer choices
command
console
monitor
command
console
monitor
page
