
Python Practice Test #1
Flashcard
•
Other
•
Professional Development
•
Easy
Wayground Content
Used 20+ times
FREE Resource
Student preview

30 questions
Show all answers
1.
FLASHCARD QUESTION
Front
What will the output be after executing the following code snippet?
Back
9
2.
FLASHCARD QUESTION
Front
What will the output be, if we run the following code? Options: Monday, Tuesday, Wednesday, Thursday, Friday, None, AttributeError: 'tuple' object has no attribute 'append'
Back
AttributeError: 'tuple' object has no attribute 'append'.
3.
FLASHCARD QUESTION
Front
How many times will it print "#"?
Back
3
4.
FLASHCARD QUESTION
Front
What is the output of this code when "robert" is entered by the user when prompted? Options: True, error, Robert, False
Back
False
5.
FLASHCARD QUESTION
Front
What would be printed to the console after the following code is executed? Options: Hello, "Hello", World, Hello World, Hello, World
Back
Hello, World
6.
FLASHCARD QUESTION
Front
What will the output be after executing the following code? Options: ('Python', 'Tuple'), [Python, Tuple], ['Python', 'Tuple'], (Python, Tuple)
Back
('Python', 'Tuple')
7.
FLASHCARD QUESTION
Front
What is the output when the following code snippet is ran?
Back
Groceries trip pending
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
20 questions
Leisure Services in the UK
Flashcard
•
KG - University
20 questions
Untitled Flashcards
Flashcard
•
Professional Development
20 questions
Flashcards vocabulary ODS 14 (Life Below Water).
Flashcard
•
Professional Development
20 questions
Financial Communication Flashcards
Flashcard
•
KG
20 questions
A1-01
Flashcard
•
Professional Development
22 questions
Theory of Structures
Flashcard
•
University
Popular Resources on Wayground
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
20 questions
MINERS Core Values Quiz
Quiz
•
8th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
20 questions
Multiplying and Dividing Integers
Quiz
•
7th Grade
10 questions
How to Email your Teacher
Quiz
•
Professional Development
15 questions
Order of Operations
Quiz
•
5th Grade
Discover more resources for Other
10 questions
How to Email your Teacher
Quiz
•
Professional Development
21 questions
October 25
Quiz
•
Professional Development
10 questions
October Monthly Quiz
Quiz
•
Professional Development
20 questions
There is There are
Quiz
•
Professional Development
5 questions
SSUSH13
Interactive video
•
Professional Development
10 questions
Halloween Trivia
Quiz
•
Professional Development