
Python Workshop 1
Authored by Indrani Borra
Information Technology (IT)
11th Grade
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is the output of this code block?
What is the output of this code block?
"124"
124
Error
1231
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of the code ?
What is the result of the code ?
2
2
2
10
2
2
2
8
2
2
2
16
3.
MULTIPLE SELECT QUESTION
20 sec • 1 pt
Which of the following are valid variable names in Python?
(Select all that apply)
Which of the following are valid variable names in Python?
(Select all that apply)
my_var
2nd_value
_temp
first-name
value_2
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code?
What is the output of the following code?
"oga"
"rgg"
"ogr"
"ogm"
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will happen when the following code runs?
What will happen when the following code runs?
Error because tuples are immutable and can’t be modified
Prints ([1],) because the list inside the tuple is mutable
Prints ([],) because tuple elements can’t change
Error because you can’t append to tuple elements
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following code?
What will be the output of the following code?
'John'
'Person'
'Name'
{'name': 'John', 'age': 30}
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following can NOT be used as a dictionary key in Python?
Which of the following can NOT be used as a dictionary key in Python?
String
Integer
List
Tuple
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
10 questions
Understanding Data and Encoding
Quiz
•
6th Grade - University
10 questions
Informatika
Quiz
•
11th Grade
15 questions
1QRev
Quiz
•
11th Grade
10 questions
PENSAMENTO_COMPUTACIONAL_Funções em JavaScript
Quiz
•
11th Grade
10 questions
QUIZ PENGEMBANGAN WEB DENGAN AI
Quiz
•
9th Grade - University
15 questions
LibreOffice Writer Styles Quiz
Quiz
•
10th Grade - University
15 questions
Grade 6 - Living with AI
Quiz
•
6th Grade - University
15 questions
Quiz HTML
Quiz
•
11th Grade
Popular Resources on Wayground
8 questions
Spartan Way - Classroom Responsible
Quiz
•
9th - 12th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
14 questions
Boundaries & Healthy Relationships
Lesson
•
6th - 8th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
3 questions
Integrity and Your Health
Lesson
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
9 questions
FOREST Perception
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
Discover more resources for Information Technology (IT)
8 questions
Spartan Way - Classroom Responsible
Quiz
•
9th - 12th Grade
22 questions
El Imperfecto
Quiz
•
9th - 12th Grade
15 questions
ACT Reading Practice
Quiz
•
11th Grade
20 questions
Grammar
Quiz
•
9th - 12th Grade
18 questions
Mendelian Genetics
Quiz
•
10th - 12th Grade
20 questions
verbos reflexivos en español
Quiz
•
9th - 12th Grade
14 questions
Making Inferences From Samples
Quiz
•
7th - 12th Grade
25 questions
Early Cold War Quizziz
Quiz
•
11th Grade