
Test
Authored by Jeremy Talbot
Computers
7th Grade
Used 4+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
13 questions
Show all answers
1.
MATCH QUESTION
3 mins • 2 pts
Match the following
Data type for whole numbers
int
Used to display output
"Hello World"
String of text
input()
Used to get input from the user.
#
Indicates a comment
print()
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will be the output of the following Python code snippet?
4
"22"
22
Syntax Error
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following is used to comment in Python?
//
#
/* */
<!-- -->
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
How do you output the text "Hello World" in Python?
echo("Hello World")
write("Hello World")
print("Hello World")
printf("Hello World")
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
How do you start writing an if statement in Python?
if x > y:
if x > y ->
if x > y then:
if (x > y)
6.
REORDER QUESTION
3 mins • 2 pts
Reorder the following lines to create a Python script that counts from 0 to 9 and then prints "Lift Off".
count = count + 1
print(count)
print("Lift Off")
while count < 10:
count = 0
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will the output of the following code be?:
10
7
5
25
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
10 questions
Check-up Exercise: Buttons
Quiz
•
7th Grade
10 questions
CPU
Quiz
•
7th Grade
10 questions
THE PHOTOSHOP WINDOW
Quiz
•
7th - 8th Grade
15 questions
KS3 Y8 Kodu Quiz
Quiz
•
5th - 8th Grade
15 questions
Creating Illustrations
Quiz
•
7th - 8th Grade
13 questions
Five Nights At Freddy's: Security Breach Quiz
Quiz
•
KG - Professional Dev...
12 questions
Creating Webpages
Quiz
•
6th - 8th Grade
13 questions
topologies
Quiz
•
7th - 8th 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