
Python
Authored by Tarun Vij
Computers
6th - 8th Grade
Used 2+ 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 • 5 pts
What is a correct syntax to output "Hello World" in Python?
print("Hello World")
echo("Hello World");
p("Hello World")
print("Hello World"):
2.
MULTIPLE CHOICE QUESTION
20 sec • 5 pts
Which one is NOT a legal variable name?
my-var
my_var
_myvar
Myvar
3.
MULTIPLE CHOICE QUESTION
20 sec • 5 pts
How do you create a variable with the numeric value 5?
x = 5
x = 5;
x = 5:
All of the above
4.
MULTIPLE CHOICE QUESTION
20 sec • 5 pts
What is the correct file extension for Python files?
.pyth
.pyt
.py
.pt
5.
MULTIPLE CHOICE QUESTION
20 sec • 5 pts
Which operator is used to multiply numbers?
X
x
*
xx
6.
MULTIPLE CHOICE QUESTION
20 sec • 5 pts
Which operator can be used to compare two values?
==
=
<>
><
7.
MULTIPLE CHOICE QUESTION
20 sec • 5 pts
How do you start writing an if statement in Python?
if x > y then:
if x > y;
if x > y
if x > y:
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
12 questions
Google Clssroom Google Sites
Quiz
•
7th Grade
10 questions
ENTORNO Y HERRAMIENTAS WORD
Quiz
•
6th Grade
11 questions
Herramientas WEB
Quiz
•
6th Grade - Professio...
10 questions
arquitectura de computadores
Quiz
•
7th Grade
10 questions
Excel 2016 (2os)
Quiz
•
6th Grade
10 questions
ICT Grade 8
Quiz
•
8th Grade
15 questions
Excel
Quiz
•
5th - 6th Grade
8 questions
Linux
Quiz
•
7th 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