Python - Abstractions, Comments, Data Types, Variables

Quiz
•
Computers
•
9th - 12th Grade
•
Medium
Karen Koelm
Used 71+ 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
Similar Resources on Wayground
15 questions
Python for kids and teenagers - Level 1

Quiz
•
10th Grade
13 questions
Lesson 1: Variables (Activity)

Quiz
•
8th - 10th Grade
15 questions
Python Introduction

Quiz
•
9th Grade
17 questions
Python - Quiz

Quiz
•
9th - 11th Grade
16 questions
Python Basics

Quiz
•
KG - University
15 questions
Type data python

Quiz
•
9th Grade - University
10 questions
Python Basics Quiz

Quiz
•
9th - 12th Grade
15 questions
Python Basics

Quiz
•
KG - University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade
29 questions
AP CSP Unit 2 Review (Code.org)

Quiz
•
10th - 12th Grade