
python boot camp
Authored by SECE IT
Computers
University

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
30 sec • 1 pt
x = 5 y = x y = 10 print(x)
5
10
None
Error
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
print(2 ** 3 ** 2)
512
64
256
36
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
def func(x, y=[]):
y.append(x)
return y
print(func(1))
print(func(2))
print(func(3, []))
print(func(4))
[1] [2] [3] [4]
[1] [1, 2] [3] [1, 2, 4]
[1] [2] [3] [4]
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
x = 5
print(x == 5 and x < 10 or x > 10)
True
False
Error
None
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
print(2** (3** 2))
512
64
729
None of the above
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
x = "Hello"
y = 3
print(x * y)
'HelloHelloHello'
'Hello3'
Error
None
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
a = [1, 2, 3, 4]
b = a
b.append(5)
print(a)
[1, 2, 3, 4]
[1, 2, 3, 4, 5]
[5, 1, 2, 3, 4]
Error
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
15 questions
Fundamentals of Algorithms - Unit 1 - Test 1
Quiz
•
University
10 questions
Dart
Quiz
•
University
10 questions
LINUX MODULE 03 QUIZ
Quiz
•
University
11 questions
Java Quizz 2
Quiz
•
University
10 questions
DAA Quiz 1
Quiz
•
University
12 questions
Microsoft Office Word
Quiz
•
4th Grade - University
10 questions
python quiz
Quiz
•
6th Grade - Professio...
15 questions
Object Oriented Programming Assessment 1
Quiz
•
University
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