
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
Similar Resources on Wayground
15 questions
Exam 1 Practice

Flashcard
•
University
23 questions
CSP Unit 6 Review

Flashcard
•
12th Grade
33 questions
LISTS in Python

Flashcard
•
University
24 questions
PSUEDOCODE 2 CAPGEMINI

Flashcard
•
Professional Development
26 questions
Python программалау тілі бойынша тест тапсырмалары

Flashcard
•
University
25 questions
Debugging Round 1

Flashcard
•
University
19 questions
Math and Variables

Flashcard
•
University
24 questions
Ch. 2 Data Types 1

Flashcard
•
University
Popular Resources on Wayground
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World

Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
20 questions
ELA Advisory Review

Quiz
•
7th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns

Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade