
Unit 1 Review: Python Basics
Quiz
•
Computers
•
9th - 12th Grade
•
Practice Problem
•
Hard
Endia Spencer
Used 81+ times
FREE Resource
Enhance your content in a minute
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Given the following string:
h = "Hello", which code results in an error?
print (h)
print(h.lower())
h = 's'
print(h+1)
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code?
Good Bye
Welcome
An error message
None of the above
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the input() function return?
an integer value
a string value
a float value
all of the above
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the value of x after the following code is run?
19
20
21
22
5.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
Which statements evaluate True and without errors?
"unbothered".isupper()
"Monroe High School".istitle()
5.isdigit()
"animal".islower()
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which statement sets the variable t to a value of "Total Credits: 25"?
t = "Total Credits:" + 25
t = "Total Credits:" + str(25)
t = input("Total Credits:" + str(25))
print("Total Credits", "25")
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is "print" used for?
To input
To make strings
To display output
Non of the above
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
16 questions
Digital Icons
Quiz
•
12th Grade - University
21 questions
Visual Basic Assessment
Quiz
•
11th - 12th Grade
16 questions
Acceptable Use Policy
Quiz
•
6th - 9th Grade
20 questions
Alat Proses
Quiz
•
9th Grade
19 questions
UNIT 1.2 MEMORY
Quiz
•
10th Grade
15 questions
After Effect Intoduction
Quiz
•
10th Grade - University
20 questions
1.1.3 Proses Penyelesaian Masalah
Quiz
•
11th Grade
20 questions
PH SIMKMDIG KD 3.1 Menerapkan Logika dan Algoritma Komputer
Quiz
•
1st - 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
