PYTHON PROGRAMMING - FINAL EXAM REVIEW

Quiz
•
Computers
•
9th - 12th Grade
•
Hard
Richard Whitehead
Used 282+ times
FREE Resource
46 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
1. What does type(3.55) return?
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 Wayground
46 questions
12 CSC Gen - EST 2024

Quiz
•
12th Grade
41 questions
Preguntas de JavaScript

Quiz
•
10th Grade
44 questions
AP CSP - Unit 4 Code.org Review

Quiz
•
9th - 12th Grade
50 questions
TN TH10 KNTT ON GK2 TRẮC NGHIỆM

Quiz
•
10th Grade
44 questions
Year 8 - End of Year Revision

Quiz
•
9th - 12th Grade
50 questions
VBA SET 1 G

Quiz
•
9th - 12th Grade
50 questions
OCR Computer Science Paper 2 Revision Quiz #2

Quiz
•
9th - 10th Grade
50 questions
ECDL Python Lesson 7

Quiz
•
7th - 12th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
1.2 OSI & TCP IP Models Quiz

Quiz
•
10th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
30 questions
Introduction to Computers

Quiz
•
8th - 9th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
20 questions
Hardware vs. Software Quiz

Quiz
•
7th - 10th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade