
Python May 3
Quiz
•
Other
•
5th Grade
•
Practice Problem
•
Medium
Devlin Bell
Used 2+ times
FREE Resource
Enhance your content in a minute
21 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a correct syntax to output "Hello World" in Python?
echo("Hello World");
print("Hello World")
p("Hello World")
echo "Hello World"
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you insert COMMENTS in Python code?
#This is a comment
//This is a comment
/*This is a comment*/
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which one is NOT a legal variable name?
_myvar
Myvar
my-var
my_var
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you create a variable with the numeric value 5?
x = 5
x = int(5)
Both the other answers are correct
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you create a variable with the floating number 2.8?
x = float(2.8)
Both the other answers are correct
x = 2.8
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct syntax to output the type of a variable or object in Python?
print(typeof(x))
print(typeof x)
print(typeOf(x))
print(type(x))
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct way to create a function in Python?
def myFunction():
create myFunction():
function myfunction():
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
16 questions
Are you a REAL Miraculous fan?
Quiz
•
KG - Professional Dev...
20 questions
P7 Friday Quiz - General Knowledge
Quiz
•
5th Grade
20 questions
UNIT 3 BOLA SEPAK PJK TINGKATAN 1
Quiz
•
1st - 12th Grade
23 questions
Friday Night' Quizzin (MODS) Ver. 3.2
Quiz
•
3rd - 12th Grade
16 questions
Unit 6 and 7 Review
Quiz
•
5th Grade
20 questions
Sprawdzian wiadomości ze zdań złożonych
Quiz
•
5th - 7th Grade
21 questions
Yağmur tanışma
Quiz
•
5th Grade
20 questions
KLASIFIKASI AKAUN
Quiz
•
1st - 12th Grade
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 Other
25 questions
Multiplication Facts
Quiz
•
5th Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
10 questions
Groundhog Day Trivia Questions
Interactive video
•
3rd - 6th Grade
10 questions
Groundhog Behavior and Hibernation Facts
Interactive video
•
3rd - 5th Grade
10 questions
Multiplying Fractions
Quiz
•
5th Grade
10 questions
Understanding Poetry and Literary Devices
Interactive video
•
4th - 8th Grade
10 questions
Understanding Equivalent Fractions
Interactive video
•
3rd - 5th Grade
20 questions
The Water Cycle
Quiz
•
5th Grade
