
Unit 1 Review: Python Basics
Flashcard
•
Computers
•
9th - 12th Grade
•
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."
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
15 questions
Fall Final Review
Flashcard
•
9th Grade - University
15 questions
Bell Ringer Dec. 2-6: Writing Equations
Flashcard
•
9th Grade - University
14 questions
Increasing/Decreasing & Max/Min & Zeros/Factors
Flashcard
•
10th Grade
15 questions
Alg 2 MYE Review
Flashcard
•
10th Grade
18 questions
Operating Systems and Human-Computer Interfaces
Flashcard
•
9th - 12th Grade
15 questions
Domain and Range
Flashcard
•
9th Grade - University
16 questions
Outcome-Based Education and Bloom's Taxonomy Flashcard
Flashcard
•
KG - University
12 questions
free coins
Flashcard
•
KG
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
11 questions
NEASC Extended Advisory
Lesson
•
9th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
20 questions
Multiplying and Dividing Integers
Quiz
•
7th Grade
Discover more resources for Computers
18 questions
Artificial Intelligence and Machine Learning Quiz
Quiz
•
9th Grade
35 questions
Computer Terminology Exercise #1 ( Multiple Choice)
Quiz
•
9th Grade
20 questions
Computer Components Exercise #4 - CTEA
Quiz
•
9th - 12th Grade
30 questions
Computer Terminology Exercise #1 ( Fill Ins)
Quiz
•
9th Grade