Python - Abstractions, Comments, Data Types, Variables

Python - Abstractions, Comments, Data Types, Variables

9th - 12th Grade

12 Qs

quiz-placeholder

Similar activities

Records and Files

Records and Files

8th - 11th Grade

15 Qs

Key Python Data Types

Key Python Data Types

9th Grade

16 Qs

KS4 Programming Techniques (1)

KS4 Programming Techniques (1)

8th - 10th Grade

10 Qs

J277 Programming - Data Types

J277 Programming - Data Types

9th - 11th Grade

11 Qs

Python Review KS3

Python Review KS3

9th - 12th Grade

17 Qs

Python Arithmetic Operators

Python Arithmetic Operators

8th - 9th Grade

10 Qs

Python Boolean

Python Boolean

11th - 12th Grade

11 Qs

Computer Science - Python

Computer Science - Python

9th - 12th Grade

15 Qs

Python - Abstractions, Comments, Data Types, Variables

Python - Abstractions, Comments, Data Types, Variables

Assessment

Quiz

Computers

9th - 12th Grade

Medium

Created by

Karen Koelm

Used 66+ times

FREE Resource

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of the following statements is correct?

Python is a high level programming language

Python is a machine coding language

Python is a low level programming language

All of the above

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of the following is an example of abstraction?

Specific driving directions provided on Google Maps

Communicating how you feel by posting emojis

A YouTube video that demonstrates how to setup a new smart watch

Following the directions on a recipe card to bake a loaf of bread

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which line of code represents an in-line comment?

" " "

This program will calculate the area of a rectangle.

" " "

"Congratulations, you win!"

print ("What is your name?")

# calculates the area

4.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Which coding comments can be used to deactivate other code in Python?

Select 2 answers.

" " "

" " "

#

return

pass

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which data type represents a number without a decimal place?

integer

float

string

Boolean

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What data type is x in this code?

x = "56"

integer

float

string

Boolean

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What type of data has values of True and False?

integer

float

string

Boolean

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?