Basic Python
Quiz
•
others
•
•
Practice Problem
•
Easy
Teerapat TREPOPSAKULSIN
Used 6+ times
FREE Resource
Enhance your content in a minute
7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Consider the following Python code
x = "22"
y = "2"
z = x + y
what is the value of z?
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following variable names are not allowed?
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of this code?
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Consider the following python code x = 10.0 y = int(x/2 + 1) z = y * 2 what is the value of z
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Suppose we have the following list x = [2, 4, 7, 9, 21]
if we want to remove 7 from the list which line of code will fail?
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
what is the output of the following code x = ["Computer Science", "Programing Skills", "Computer Skills"] y = x[::3][0] z = y[:8:] print(z)
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Fill in the blank so that the code outputs the correct result basket = ["apple", "cherry", "orange"] for fruit in basket: if fruit is cherry ____________ print(fruit) # output apple orange
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
8 questions
Recap of Simple Present & Present Continuous
Quiz
•
9th - 12th Grade
8 questions
Fantastic Undersea Life of Jacques Cousteau, Dan Yaccarino Vocabulary Part 1
Quiz
•
3rd Grade
10 questions
4. The Giver Chapters 10-15
Quiz
•
6th - 8th Grade
10 questions
Disney Marvel Kuis
Quiz
•
9th - 12th Grade
10 questions
CAN'T OR CAN
Quiz
•
KG - University
10 questions
Tekanan
Quiz
•
8th Grade
10 questions
Eucharystia (mp)
Quiz
•
KG - University
10 questions
Money Mayhem: A Witty Quiz on Personal Finance
Quiz
•
Professional Development
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
Discover more resources for others
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
