1. What does type(3.55) return?
NJIT CS 100 PYTHON PROGRAMMING - FINAL EXAM

Quiz
•
Computers
•
9th - 12th Grade
•
Medium

Shiv Patel
Used 40+ times
FREE Resource
Student preview

49 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
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
25 questions
SS Combined Advisory Quiz

Quiz
•
6th - 8th Grade
40 questions
Week 4 Student In Class Practice Set

Quiz
•
9th - 12th Grade
40 questions
SOL: ILE DNA Tech, Gen, Evol 2025

Quiz
•
9th - 12th Grade
20 questions
NC Universities (R2H)

Quiz
•
9th - 12th Grade
15 questions
June Review Quiz

Quiz
•
Professional Development
20 questions
Congruent and Similar Triangles

Quiz
•
8th Grade
25 questions
Triangle Inequalities

Quiz
•
10th - 12th Grade
Discover more resources for Computers
40 questions
Week 4 Student In Class Practice Set

Quiz
•
9th - 12th Grade
40 questions
SOL: ILE DNA Tech, Gen, Evol 2025

Quiz
•
9th - 12th Grade
20 questions
NC Universities (R2H)

Quiz
•
9th - 12th Grade
25 questions
Triangle Inequalities

Quiz
•
10th - 12th Grade
10 questions
Right Triangles: Pythagorean Theorem and Trig

Quiz
•
11th Grade
46 questions
Biology Semester 1 Review

Quiz
•
10th Grade
24 questions
LSO - Virus, Bacteria, Classification - sol review 2025

Quiz
•
9th Grade
65 questions
MegaQuiz v2 2025

Quiz
•
9th - 12th Grade