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
12 questions
Mathematical Operators in Python

Quiz
•
8th Grade
10 questions
Year 7 Python Lesson 1 Recap

Quiz
•
8th Grade
10 questions
SDA Review Questions 41- 50

Quiz
•
7th Grade
12 questions
Python - Data Types and Operators

Quiz
•
7th Grade
14 questions
Computer Hardware

Quiz
•
7th Grade
14 questions
9-10 robotics EV3 basics

Quiz
•
7th - 10th Grade
12 questions
Micro:bit Quiz 1

Quiz
•
7th Grade
18 questions
Computer Science (Micro:bit)

Quiz
•
6th - 8th Grade
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
18 questions
Company Logos

Quiz
•
6th - 8th 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