Python - Abstractions, Comments, Data Types, Variables

Python - Abstractions, Comments, Data Types, Variables

9th - 12th Grade

12 Qs

quiz-placeholder

Similar activities

Python Variables and Properties

Python Variables and Properties

9th - 12th Grade

16 Qs

Computer Science - Python

Computer Science - Python

9th - 12th Grade

15 Qs

Quiz 143 - Python Data Types and Numbers

Quiz 143 - Python Data Types and Numbers

9th Grade

15 Qs

Data Handling in Python

Data Handling in Python

11th Grade

10 Qs

Python User Input Quiz

Python User Input Quiz

6th Grade - University

10 Qs

Python Variable and Declaration 1

Python Variable and Declaration 1

1st - 12th Grade

8 Qs

XI Assessemnt 2

XI Assessemnt 2

11th Grade - University

10 Qs

Records and Files

Records and Files

8th - 11th 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 68+ 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?