Python - lists,loops,basics

Python - lists,loops,basics

9th - 11th Grade

20 Qs

quiz-placeholder

Similar activities

Python In Real Life Review

Python In Real Life Review

9th Grade

20 Qs

Programming in Python, Lists - 9RH

Programming in Python, Lists - 9RH

8th - 10th Grade

17 Qs

Python Basics - yr 9

Python Basics - yr 9

9th - 12th Grade

18 Qs

Python lists and more

Python lists and more

9th - 11th Grade

21 Qs

Python Lists v2

Python Lists v2

9th - 12th Grade

15 Qs

Python list, if

Python list, if

6th - 12th Grade

20 Qs

Int Prog: Lists and Functions

Int Prog: Lists and Functions

9th - 12th Grade

20 Qs

List & String - Gtrade 9 Recap - Jan 22

List & String - Gtrade 9 Recap - Jan 22

9th - 11th Grade

20 Qs

Python - lists,loops,basics

Python - lists,loops,basics

Assessment

Quiz

Computers

9th - 11th Grade

Hard

Created by

Louise Lockwood

Used 519+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is syntax?
Syntax is the word used to describe an error
Syntax is the rules of the programming language
It is used to read information
It is used to output information 

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will the output be from the following code?
print(9/3)
3
3.0
9/3
SyntaxError

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will the output be from the following code?
print("Hello" + "world!")
Hello world!
Helloworld!
SyntaxError
"Hello" "world!"

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will the output be from the following code?
print("Hello" + 2 + "world")
Hello 2 world
Hello2world
TypeError
HelloHelloworld

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Joining elements together to make a string is called what?
Combining
Connecting
Concatenation
Stringing

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In python the ' INTEGER data type' can be defined as...?
holds alphanumeric data as text
holds whole numbers
holds numbers with a decimal point
holds either ‘true’ or ‘false’

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In python the ' STRING data type' can be defined as...?
holds alphanumeric text
hold whole numbers
holds numbers with a decimal point
holds either a true or false value

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?