
CS Python Fundamentals Quiz 2 Review & Practice
Authored by Scott Chamberlain
Computers
9th - 12th Grade
Used 8+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
12 questions
Show all answers
1.
MATCH QUESTION
2 mins • 5 pts
Match the following vocabulary words to their definitions.
Import
The process of storing a value in a variable.
Operator
A collection of code and functions that perform similar tasks.
Module
A symbol that defines a math operation or calculation.
Function
Command that pulls in code to add functions to your code.
Assignment
A collection of commands given a name, for example, input( ).
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the output of the program shown here?
0
2
3
7
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which is NOT a valid Python variable name?
4ever
fitty_cent
airForce1
BIGdog
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of the following is the BEST choice for the name of a variable used to store the grade on a first quarter report card?
g
1qtr
q1Grade
GRADE
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the output of the code shown here?
0
16
-16
15
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
ONE of the following expressions is equivalent to 12. Choose the correct expression.
4 + 2 * 6 / 3
(4 + 2) * 6 / 3
4 + 2 * (6 / 3)
4 + (2 * 6) / 3
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
If n=5, which of the following lines of code will correctly produce the output below:
The answer is 15
print ("The answer is: " + n*3)
print ("The answer is: " + int(n*3))
print ("The answer is: " + str(n*3))
print ("The answer is: " + str(n)*3)
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?
Similar Resources on Wayground
15 questions
Virtual Private Server
Quiz
•
12th Grade
17 questions
Mobile app development principles
Quiz
•
10th Grade
12 questions
Q2 WEEK 3 PRACTICE QUIZ #2
Quiz
•
9th Grade
13 questions
Software and Computer Care Quiz
Quiz
•
9th Grade
14 questions
Intro to Robotics
Quiz
•
9th Grade
14 questions
4th quarter 2nd summative
Quiz
•
10th Grade
17 questions
Security and Ethics
Quiz
•
9th - 12th Grade
15 questions
Coding Quiz
Quiz
•
6th - 10th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade