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
Match the following
String of text
print()
Data type for whole numbers
int
Indicates a comment
#
Used to get input from the user.
"Hello World"
Used to display output
input()
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
print("Lift Off")
while count < 10:
count = count + 1
print(count)
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 Wayground
16 questions
Python #1 Grade #7

Quiz
•
7th Grade
17 questions
Python

Quiz
•
6th - 10th Grade
18 questions
MYP2

Quiz
•
7th Grade
10 questions
Wiz 3 Assessment Python

Quiz
•
6th - 8th Grade
10 questions
FOR LOOPS and Angles with Tracy (PYTHON)

Quiz
•
7th - 8th Grade
11 questions
Grade 7 technopython quiz1

Quiz
•
7th Grade
14 questions
Chapter Test - Module 14 (While Loop)

Quiz
•
7th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
15 questions
Acceptable Use Policy (Quiz)

Quiz
•
6th - 8th Grade
25 questions
Career Vs. Job

Quiz
•
6th - 8th Grade
20 questions
Copyright and Fair Use

Quiz
•
6th - 8th Grade
20 questions
Hardware vs. Software Quiz

Quiz
•
7th - 10th Grade
21 questions
Input Output Storage Device

Quiz
•
5th - 8th Grade