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 user and group dfn30053

linux user and group dfn30053

1st Grade - University

10 Qs

7th & 8th Library Orientation 2019

7th & 8th Library Orientation 2019

7th - 8th Grade

15 Qs

S3 Databases Knowledge Check

S3 Databases Knowledge Check

2nd - 9th Grade

15 Qs

MOAC Excel 2016 Lesson 09

MOAC Excel 2016 Lesson 09

8th - 12th Grade

10 Qs

Python Revision

Python Revision

7th - 9th Grade

14 Qs

4.2 Word Quizizz

4.2 Word Quizizz

8th - 12th Grade

15 Qs

Python Basics - Year 8

Python Basics - Year 8

7th - 9th Grade

14 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?