Python

Python

7th - 9th Grade

12 Qs

quiz-placeholder

Similar activities

python

python

9th - 10th Grade

12 Qs

Lesson 1 Python I Review

Lesson 1 Python I Review

6th - 8th Grade

10 Qs

Python strings

Python strings

8th - 9th Grade

11 Qs

Python Test

Python Test

6th - 12th Grade

9 Qs

Python Revision

Python Revision

8th Grade

15 Qs

python quiz

python quiz

6th Grade - Professional Development

10 Qs

worksheet python

worksheet python

7th Grade

13 Qs

Lesson 9 - The internet

Lesson 9 - The internet

8th Grade

12 Qs

Python

Python

Assessment

Quiz

Computers

7th - 9th Grade

Medium

CCSS
L.2.2C

Standards-aligned

Created by

Aisha Lawton

Used 97+ times

FREE Resource

12 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 does the following code do? myAge = int (myAge)

Converts the var (variable) myAge to a string

Converts the var (variable) myAge to a integer

Converts the var (variable) myAge from a integer to a string

Converts the var (variable) myAge to if statement

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

Tags

CCSS.L.2.2C

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the print function do in python?
It's a variable.
It can input data.
It displays something like a string or integer
It loops the code.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What symbol do you use to make a comment in Python?
@
¬
;
#

7.

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’

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?