1. What does type(3.55) return?
PYTHON PROGRAMMING - FINAL EXAM REVIEW

Quiz
•
Computers
•
9th - 12th Grade
•
Hard
Richard Whitehead
Used 281+ times
FREE Resource
46 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
str
int
float
All of these
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
1. How do you know if you have written your code correctly and there are no errors?
Print your code
Debug your code
View your code
Reset your code
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
1. Which contains only integers? (ignore the commas)
3, 2, 1, *, +, =, -
Q, W, E, R, T, Y, a, s, d, f
-2, -1, -0.5, 0, 0.5, 1, 2
1, 2, 0, -3, 2, -5
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The input() function in Python returns user input as a string.
True
False
I'm not interested in guessing
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
name = "skye homsi"
name1 = name.title()
name2 = name1.swapcase()
print(name2)
What is the output from the above code?
"skye homsi"
"sKYE hOMSI"
"Skye Homsi"
"SKYE HOMSI"
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
1.name = input("enter your name")
2. print(name, "your score is", score)
3. score = 199
Order the above numbered code lines into the proper sequence:
3,1,2
1,2,3
1,3,2
3,2,1
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
vehicleType = "Truck"
if vehicleType.upper().startswith("P"):
print(vehicleType, 'starts with "P"')
else:
print(vehicleType, 'does not start with "P"')
What is the output from running the above code?
“False”
"True"
"Truck does not start with "P""
Truck starts with "P""
Create a free account and access millions of resources
Similar Resources on Quizizz
44 questions
Algorithms and Pascal Programming

Quiz
•
9th - 10th Grade
45 questions
STRINGS

Quiz
•
11th Grade
45 questions
Psuedocode iterations

Quiz
•
11th Grade
41 questions
Midterm prep 7th

Quiz
•
7th Grade - University
50 questions
P5.js Test #1 Review

Quiz
•
10th Grade
45 questions
GCSE Python Legends

Quiz
•
1st - 12th Grade
44 questions
python

Quiz
•
10th Grade
50 questions
PYTHON-STRINGS

Quiz
•
12th Grade
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
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

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

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

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

Quiz
•
KG - University