JavaScript isn't enabled in your browser, so this file can't be opened. Enable and reload.
ML & AI Camp – Quiz 0
This quiz is
anonymous
.
Sign in to Google
to save your progress.
Learn more
* Indicates required question
What school grade are you in?
*
9th
10th
11th
12th
Which command prints "Hello, World!" in Python?
*
1 point
display "Hello, World!"
print("Hello, World!")
printout("Hello, World!")
show "Hello, World!")
What is the value of y after executing the following commands?
x = 3
y = x + 3
*
1 point
0
3
6
9
What is the value of y after executing the following commands?
x = "a"
y = x * 3
*
1 point
"aaa"
None
"a"
3
Let
x = [0, 3, "Hello", 2, "World"]. What is the value of x[1]?
*
1 point
0
3
"Hello"
2
"World"
What will be printed out after executing the following code?
a = 4
if a > 5: print("Yes")
else: print(a)
*
1 point
"Yes"
4
"a"
Nothing
Why do we need modules and packages in Python?
*
1 point
To extend default functionality
To make code more complicated
This is a requirement of the language
For historic reasons
How many points are minimally needed to uniquely define a line?
*
1 point
1
2
3
4
Consider a linear function y = 2x + 3. What is the slope of the corresponding line?
*
1 point
0
1
2
3
A function y = (3 - x)^2 + (2 - x)^2 + (5 - x)^2 + 3 defines a(n)
*
1 point
Line
Parabola
Sinusoid
Exponential
Which command displays an image of the heart on the micro:bit's LED display?
*
1 point
display heart
display Image.heart
display.show(Image.HEART)
display.image.heart
Which of the following sensors is not present on the micro:bit?
*
1 point
Accelerometer
Temperature sensor
Touch sensor
Heartbeat sensor
Submit
Clear form
This content is neither created nor endorsed by Google. -
Terms of Service
-
Privacy Policy
Does this form look suspicious?
Report
Forms
Help and feedback
Contact form owner
Help Forms improve
Report