NEW
Font size
WorksheetsPython Vocab
Total questions: 34
Worksheet time: 17mins
Command displays text and numbers on the screen.
write
function
Gives the remainder of integers which have been divided.
Modulus
Division
Multiplication
Compiler
Information sent to a function.
Detail
Command
Parameter
Command that tests a true/false condition.
while loop
if
else
lie
and, or, ____
This loop will never stop iterating.
Infinite Loop
"Break" Statement
"While" Loop
"Do-while" Loop
What will be the output?
name = "Dave"
print (name)
Dave
'Dave'
name
(name)
If you want to create an empty list called colors in Python, which of the following is correct?
colors = [ ]
colors = ( )
colors = { }
colors = <>
Each item in a list has an index. What is the first index in a Python list?
0
1
a
A
Which of these is correct Python conditional statement?
IF answer == "Yes":
if answer == "Yes"
if answer == "Yes":
if answer = "yes":
Which of these operators means EQUAL TO?
=
=>
<=
==
When using a command to move the turtle to a specific position on the drawing canvas, the middle of the canvas is represented by which coordinates?
(1, 1)
(100, 100)
(0, 0)
(500, 500)
When you want to hide the turtle on the screen which command should you use?
hide_turtle( )
remove_turtle( )
hideturtle( )
turtle.disappear( )
To make the turtle move forward, which command is used?
turtle.penup()
turtle.forward()
turtle.left()
turtle.backward()
