Python - lists,loops,basics

Python - lists,loops,basics

9th - 11th Grade

20 Qs

quiz-placeholder

Similar activities

Python Lists

Python Lists

10th - 12th Grade

15 Qs

Python Quiz

Python Quiz

9th Grade

21 Qs

python lists

python lists

10th Grade

20 Qs

Python_2R

Python_2R

KG - Professional Development

20 Qs

Algorithms: Revision Questions

Algorithms: Revision Questions

8th - 10th Grade

20 Qs

End of year quiz: Python

End of year quiz: Python

9th Grade

20 Qs

List and Tuples

List and Tuples

9th - 12th Grade

22 Qs

FD Theory Python 2

FD Theory Python 2

11th Grade - University

20 Qs

Python - lists,loops,basics

Python - lists,loops,basics

Assessment

Quiz

Computers

9th - 11th Grade

Hard

Created by

Louise Lockwood

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