Intro to Python

Intro to Python

8th Grade

10 Qs

quiz-placeholder

Similar activities

THE PHOTOSHOP WINDOW

THE PHOTOSHOP WINDOW

7th - 8th Grade

10 Qs

Five Nights At Freddy's: Security Breach Quiz

Five Nights At Freddy's: Security Breach Quiz

KG - Professional Development

13 Qs

topologies

topologies

7th - 8th Grade

13 Qs

แบบทดสอบสุดท้ายจากเกาะมรณะ

แบบทดสอบสุดท้ายจากเกาะมรณะ

8th Grade

10 Qs

For loop

For loop

8th Grade

10 Qs

Wee Word Intro

Wee Word Intro

7th - 12th Grade

12 Qs

Grade-8 Ch-2 Advanced Features of Excel Quiz

Grade-8 Ch-2 Advanced Features of Excel Quiz

8th Grade

12 Qs

Hour of Code

Hour of Code

2nd - 12th Grade

10 Qs

Intro to Python

Intro to Python

Assessment

Quiz

Computers

8th Grade

Practice Problem

Medium

Created by

Neil Stephens

Used 128+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

print

constant

variable

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?