Python

Python

7th - 9th Grade

12 Qs

quiz-placeholder

Similar activities

Python-Basic

Python-Basic

3rd Grade - University

15 Qs

Python

Python

7th - 8th Grade

13 Qs

Python Basics

Python Basics

6th - 12th Grade

9 Qs

Program Development - Python: Errors

Program Development - Python: Errors

8th - 10th Grade

13 Qs

Python - Quiz

Python - Quiz

9th - 11th Grade

17 Qs

Python Introduction Quiz

Python Introduction Quiz

8th - 9th Grade

12 Qs

year 8 lesson 2 quiz - python

year 8 lesson 2 quiz - python

8th - 10th Grade

14 Qs

python String and comment

python String and comment

3rd Grade - University

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