Python basic commands

Quiz
•
Computers
•
8th Grade
•
Hard
Standards-aligned
Used 644+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a command to have a message appear on the screen?
write
msg
input
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Pick the Python command used to let the user type in some data
get
input
int
float
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a Python command word used to indicate we want to work with WHOLE numbers
input
int
float
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a Python command word used to indicate we want to work with DECIMAL numbers
input
int
float
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a Python command word used to indicate we want to set up a fixed loop
while
next
for
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following will print the numbers 5,7,9,11,13 in a column
for counter in range(13):
print(counter)
for counter in range(5,13,2):
print(counter)
for counter in range(5,13):
print(counter)
for counter in range(5,14,2):
print(counter)
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a Python command word used to indicate we want to set up a conditional statement
if
when
while
for
Create a free account and access millions of resources
Similar Resources on Quizizz
15 questions
Python basics

Quiz
•
6th - 8th Grade
19 questions
Python Year 9 Quiz

Quiz
•
8th - 10th Grade
17 questions
Python KS3

Quiz
•
8th Grade
17 questions
Python

Quiz
•
6th - 10th Grade
15 questions
Python basics

Quiz
•
6th - 8th Grade
20 questions
Python First Steps Homework Quiz

Quiz
•
7th - 9th Grade
20 questions
Intro to Python

Quiz
•
6th - 8th Grade
20 questions
ASK T2 - Kod Arahan (Python)

Quiz
•
7th Grade - University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University
44 questions
El fin del año- 7th

Quiz
•
7th - 12th Grade
40 questions
Word Study Assessment: Roots, Prefixes, Suffixes, and Vocabulary

Quiz
•
8th Grade
17 questions
guess the logo

Quiz
•
8th Grade
16 questions
Function or Non-Function?

Quiz
•
8th - 10th Grade
15 questions
Sentence Fragments and Run-ons

Quiz
•
8th Grade