
Python Basic Unit 1
Authored by shelley andros
Computers
7th - 8th Grade
Used 40+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
14 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A statement is...
A line of code that performs some action
always in quotes
must be indented
a type of comment
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the print( ) command do?
creates an error
causes text output to appear in the console
outputs a decimal
let's the user input data
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
int( ) is an example of what type of command?
Creates an error message
Commands an input from the user
Comment command
Typecast command
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a variable
Gives the user choices
A container that holds information
part of a print statement
Must always be in the header comment
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A string literal in Python must be enclosed in
Parenthesis
Must be indented
Uses a colon
Double quotes
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
float( )
A data type in programming that contains a floating point value, more commonly referred to as a decimal value, like 1.5 or 3.14
A Python data type that holds positive and negative whole numbers
A container that holds information
causes text output to appear in the console
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
int( )
A data type in programming that contains a floating point value, more commonly referred to as a decimal value, like 1.5 or 3.14
A container that holds information
causes text output to appear in the console
A Python data type that holds positive and negative whole numbers
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?