Search Header Logo

Python - Abstractions, Comments, Data Types, Variables

Authored by Karen Koelm

Computers

9th - 12th Grade

Used 72+ times

Python - Abstractions, Comments, Data Types, Variables
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?