Python

Python

7th - 9th Grade

12 Qs

quiz-placeholder

Similar activities

break цикілі

break цикілі

8th Grade

10 Qs

History of Computers

History of Computers

6th - 12th Grade

15 Qs

Networking Quiz

Networking Quiz

8th - 9th Grade

15 Qs

Arduino

Arduino

7th - 9th Grade

15 Qs

HTML

HTML

8th - 12th Grade

15 Qs

Y10M2A2 - Selection

Y10M2A2 - Selection

6th - 10th Grade

15 Qs

4Q Week3 Review Quiz (Who missed the Quiz ONLY))

4Q Week3 Review Quiz (Who missed the Quiz ONLY))

9th Grade

10 Qs

Traffic Light Project Quiz

Traffic Light Project Quiz

9th Grade

17 Qs

Python

Python

Assessment

Quiz

Computers

7th - 9th Grade

Medium

CCSS
L.2.2C

Standards-aligned

Created by

Aisha Lawton

Used 99+ 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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?