
Unit 1 Review: Python Basics
Flashcard
•
Computers
•
9th - 12th Grade
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Student preview

18 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Given the following string: h = "Hello", which code results in an error? Options: print (h), print(h.lower()), h = 's', print(h+1)
Back
print(h+1)
2.
FLASHCARD QUESTION
Front
What is the output of the following code?
Back
An error message
3.
FLASHCARD QUESTION
Front
What does the input() function return? Options: an integer value, a string value, a float value, all of the above
Back
a string value
4.
FLASHCARD QUESTION
Front
What is the value of x after the following code is run?
Back
22
5.
FLASHCARD QUESTION
Front
Which statement sets the variable t to a value of "Total Credits: 25"? Options: t = "Total Credits:" + 25, t = "Total Credits:" + str(25), t = input("Total Credits:" + str(25)), print("Total Credits", "25")
Back
t = "Total Credits:" + str(25)
6.
FLASHCARD QUESTION
Front
What is "print" used for?
Back
To display output
7.
FLASHCARD QUESTION
Front
What is the output of the following code?
print("He said, \"I'm coming to school tomorrow.\"")
Back
He said, "I'm coming to school tomorrow."
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
14 questions
Grade 10 (Alberta) Physics Problems
Flashcard
•
9th - 12th Grade
14 questions
Algebra 2 Review 1st Semest B
Flashcard
•
9th - 12th Grade
15 questions
End Behavior Practice
Flashcard
•
9th - 12th Grade
15 questions
TSI Math - 10 Day Curriculum Pre Test
Flashcard
•
9th - 12th Grade
15 questions
Algebra II Chapter 5B Flashcard
Flashcard
•
9th - 12th Grade
15 questions
Domain & Range Quadratics
Flashcard
•
9th - 12th Grade
15 questions
Algebra 2 - SOL Review
Flashcard
•
9th - 12th Grade
13 questions
Attributes/Transformations Test
Flashcard
•
9th - 12th 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