Python

Python

7th - 9th Grade

12 Qs

quiz-placeholder

Similar activities

python intro

python intro

4th - 12th Grade

17 Qs

Python - Week 1

Python - Week 1

8th - 10th Grade

10 Qs

KODEKIDDO HACK #MLH3

KODEKIDDO HACK #MLH3

4th Grade - University

10 Qs

Python

Python

9th Grade

10 Qs

Python 3 Basics

Python 3 Basics

9th Grade

13 Qs

AstepI Quiz 2

AstepI Quiz 2

4th - 8th Grade

10 Qs

Variables, Inputs and Concatenation

Variables, Inputs and Concatenation

9th Grade

16 Qs

Python Review KS3

Python Review KS3

9th - 12th Grade

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