Match the following
Test

Quiz
•
Computers
•
7th Grade
•
Medium
Jeremy Talbot
Used 4+ times
FREE Resource
13 questions
Show all answers
1.
MATCH QUESTION
3 mins • 2 pts
Used to get input from the user.
input()
Used to display output
#
Data type for whole numbers
"Hello World"
Indicates a comment
print()
String of text
int
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 = 0
while count < 10:
print(count)
count = count + 1
print("Lift Off")
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will the output of the following code be?:
10
7
5
25
Create a free account and access millions of resources
Similar Resources on Quizizz
18 questions
Small Basic Challenge

Quiz
•
KG - 7th Grade
11 questions
Conditional statements

Quiz
•
7th Grade
10 questions
Python

Quiz
•
7th Grade
10 questions
Coding 300: JavaScript/Python Vocab

Quiz
•
7th - 8th Grade
15 questions
coding

Quiz
•
KG - Professional Dev...
16 questions
Loops

Quiz
•
5th - 12th Grade
10 questions
Python Variables

Quiz
•
7th - 12th Grade
17 questions
Python Review

Quiz
•
7th - 8th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
11 questions
Decimal/fraction conversions quick check

Quiz
•
5th - 7th Grade
10 questions
Identifying equations

Quiz
•
KG - University
44 questions
El fin del año- 7th

Quiz
•
7th - 12th Grade
20 questions
Math Review

Quiz
•
7th Grade
14 questions
Subtracting Integers

Lesson
•
6th - 8th Grade
15 questions
Exponent Properties

Quiz
•
7th - 9th Grade