Intro to Python

Intro to Python

KG - University

10 Qs

quiz-placeholder

Similar activities

Python

Python

7th - 8th Grade

12 Qs

Loops Python

Loops Python

9th Grade

13 Qs

Program Development - Python: Errors

Program Development - Python: Errors

8th - 10th Grade

13 Qs

year 8 lesson 2 quiz - python

year 8 lesson 2 quiz - python

8th - 10th Grade

14 Qs

Python - Y8 lesson 1

Python - Y8 lesson 1

8th Grade

12 Qs

Python for Class 7

Python for Class 7

7th - 8th Grade

11 Qs

Python Revision

Python Revision

8th Grade

15 Qs

Python

Python

7th - 8th Grade

13 Qs

Intro to Python

Intro to Python

Assessment

Quiz

Mathematics, Computers

KG - University

Medium

CCSS
1.OA.C.6, 6.EE.B.6, 6.EE.A.2

Standards-aligned

Created by

Tezel Asena

Used 144+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is a variable?

A math operator

An element, feature, or factor that is liable to vary or change.

An if statement

A computer system that can change

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What does print("hello) display?

hello

gives you an error

"hello"

"hello

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

True is a boolean

True

False

Neither

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What does \n do?

Adds a quotation

Creates a number

Adds a new line

Adds a fullstop

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What does the following code display?


a = 1

b = 2

print(a + a)

2

3

4

22

Tags

CCSS.1.OA.C.6

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is casting?

When you convert a variable value from one type to another.

When you assign a string

When you create a boolean

When you display an integer

Tags

CCSS.6.EE.B.6

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What symbol would you use to add a comment to your code?

//

#

-

]]

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?