
AWS Python Booster Day 2
Authored by CloudThat Technologies
Professional Development
Professional Development
Used 4+ 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
45 sec • 1 pt
year = "2001"
if year.isdigit():
print(year, "is all digits")
else:
pass
What is the output from running the above code?
"True"
"False"
No Output
"2001 is all digits"
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
id = 3556
if id > 2999:
print(id, "is a new student")
else:
print(id, "is an existing student")
What is the output of the above line of code?
"id, is a new student"
"3556 is a new student"
"id, is an existing student"
"3556 is an existing student"
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
num_1 = 3
num_2 = "8"
What is the minimum code to mathematically add num_1 to num_2?
num_1 + str(num_2)
int(num_1) + str(num_2)
int(num_1) + int(num_2)
num_1 + int(num_2)
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
For the code: x = 3 + 9 * 2, the value of x is 21 when applying order of operations.
True
False
May be
None of the above
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
x = 3
y = 4
calculation = x*y
print(calculation)
What is the best estimate for the output of the above code?
12.0
9.0
12
9
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Nested Conditional code always runs all sub-conditions that are indented under if statements.
True
False
May be
All of the above
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
if True:
if False:
print("Banana")
else:
print("Apple")
else:
if True:
print("Dates")
else:
print("Corn")
What is the output of the above code?
"Apple"
"Banana"
"Corn"
"Dates"
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
6 questions
About Dexcom
Quiz
•
Professional Development
10 questions
Software Security
Quiz
•
University - Professi...
15 questions
BJT - BASICS
Quiz
•
Professional Development
10 questions
Pendalaman Regsosek 2022
Quiz
•
Professional Development
12 questions
Maslow's theory test
Quiz
•
Professional Development
10 questions
Tools of KPI
Quiz
•
Professional Development
10 questions
Applied Networking
Quiz
•
Professional Development
15 questions
Emerging Tech
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