Python Basic Unit 1

Quiz
•
Computers
•
7th - 8th Grade
•
Hard
shelley andros
Used 33+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
17 questions
Python KS3

Quiz
•
8th Grade
19 questions
Python Year 9 Quiz

Quiz
•
8th - 10th Grade
16 questions
CodeMonkey Vocab 1-70

Quiz
•
8th Grade
11 questions
JAVA QUIZ

Quiz
•
1st - 12th Grade
18 questions
Micro:bit

Quiz
•
6th - 7th Grade
15 questions
Python Casting and Input

Quiz
•
8th - 11th Grade
12 questions
Coding Vocabulary Words

Quiz
•
8th Grade
10 questions
Python Basics

Quiz
•
8th - 10th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade