Intro to Python

Intro to Python

8th Grade

10 Qs

quiz-placeholder

Similar activities

Python Week 3 Homework - Conditional Statements

Python Week 3 Homework - Conditional Statements

8th Grade

11 Qs

Linux-2 Quiz 2 -- LAMP

Linux-2 Quiz 2 -- LAMP

1st - 12th Grade

15 Qs

Computer Quiz

Computer Quiz

8th Grade

10 Qs

MOAC Excel 2016 Lesson 09

MOAC Excel 2016 Lesson 09

8th - 12th Grade

10 Qs

MOAC Excel 2016 Lesson 7

MOAC Excel 2016 Lesson 7

8th - 12th Grade

10 Qs

Python Revision

Python Revision

7th - 9th Grade

14 Qs

Multimedia Lesson 2

Multimedia Lesson 2

6th - 8th Grade

15 Qs

Term 3 Quiz 1 Python

Term 3 Quiz 1 Python

8th Grade

15 Qs

Intro to Python

Intro to Python

Assessment

Quiz

Computers

8th Grade

Medium

Created by

Neil Stephens

Used 111+ 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?