Intro to Python

Intro to Python

8th Grade

10 Qs

quiz-placeholder

Similar activities

Python

Python

7th - 8th Grade

12 Qs

Python Strings

Python Strings

8th - 12th Grade

14 Qs

App Development - Thunkable

App Development - Thunkable

8th Grade

9 Qs

MOAC Excel 2016 Lesson 03

MOAC Excel 2016 Lesson 03

8th - 12th Grade

10 Qs

Image File Formats

Image File Formats

KG - 9th Grade

10 Qs

Chapter 4 - 2

Chapter 4 - 2

8th Grade

10 Qs

Programming concepts: Revision

Programming concepts: Revision

4th - 9th Grade

15 Qs

Y9 Intro to Python

Y9 Intro to Python

8th Grade

10 Qs

Intro to Python

Intro to Python

Assessment

Quiz

Computers

8th Grade

Medium

Created by

Neil Stephens

Used 117+ times

FREE Resource

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
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?