Python first steps Quiz 1

Python first steps Quiz 1

8th Grade

24 Qs

quiz-placeholder

Similar activities

Python-ICT

Python-ICT

8th Grade

20 Qs

Beginner Python KS3 Revision

Beginner Python KS3 Revision

8th - 10th Grade

26 Qs

Python Basics

Python Basics

8th - 12th Grade

23 Qs

Year 8 Computing Revision Quiz

Year 8 Computing Revision Quiz

8th Grade

20 Qs

Python Programming

Python Programming

8th Grade

29 Qs

Year 8 Python -input-output-selection

Year 8 Python -input-output-selection

8th - 9th Grade

20 Qs

Python outputs

Python outputs

7th - 11th Grade

20 Qs

Python year 9

Python year 9

8th - 11th Grade

20 Qs

Python first steps Quiz 1

Python first steps Quiz 1

Assessment

Quiz

Computers

8th Grade

Medium

Created by

Tom Care

Used 7+ times

FREE Resource

24 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Everything that we want do display in a print() function must:

be inside parentheses - ()

quotation marks - ""

be inside single quotation marks - ''

be inside hash marks - #

2.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Which statement correctly assigns the string "Tanner" to the variable name?
name  = print( "Tanner")
input("Tanner")
name = "Tanner"
name = input("Tanner")

3.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

The output of the program

x = 4

x = "Sally"

print(x)

four

Saly

Sally

4

4.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Media Image

What is the name of the variable in this program?

print

colour

input

" "

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What symbol is used in python to assign values to a variable?
equals =
plus + 
forward slash /
asterisk *

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The rules for putting together a correct computer language statement are called Syntax. Therefore if these rules are broken e.g. no brackets, speech marks etc. it is a...

Syntax error

Logic error

Code error

Run time error

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the syntax error with this code:

print”Hello World”

No brackets around "Hello World"

Speech marks are not needed

Colon is not needed

print is spelt incorrectly

Print has a capital P

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?