
Intro to Python
Authored by Neil Stephens
Computers
8th Grade
Used 130+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Which word is missing from this line of code, trying to show a welcome message on the screen?
("Welcome to Quizizz")
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these is the correct syntax to put some text on the console screen?
Print ("Hello world")
print ("Hello world")
print (Hello world)
print "Hello world"
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a variable?
A way of printing information to the console window.
A user-friendly name for stored data, which cannot change as the program runs.
A way of having the user type in information whilst the program is running.
A user-friendly name for stored data, which can change as the program runs.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
To assign an input to a variable, called 'name', which of the following would be used?
name = print("What is your name?")
name = input("What is your name?")
name = input print("What is your name?")
input name ("What is your name?")
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Some data is assigned to a variable as follows:
username = "Mr Stephens"
Which of these is the correct way to print out a message which includes the username?
print ("Welcome to the game", username)
output ("Welcome to the game", username)
print ("Welcome to the game, username")
print (Welcome to the game, username)
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What would this output to the console screen?
userID = 143
username = "Donald"
print ("The username is, username and the ID is, userID")
The username is, username and the ID is, userID
The username is 143 and the ID is Donald
Nothing, it would cause an error
The username is Donald and the ID is 143
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the name given to a place in memory where we want to store some information that may change as the program runs?
syntax
constant
variable
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?