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

Quiz
•
KG - University
10 questions
Quiz1_HPB2021_2010t1

Quiz
•
1st - 12th Grade
15 questions
Python basics

Quiz
•
6th - 8th Grade
15 questions
Scope of Variables in Python

Quiz
•
1st Grade - Professio...
10 questions
Python

Quiz
•
6th - 8th Grade
13 questions
Python

Quiz
•
7th - 8th Grade
16 questions
Python Basics

Quiz
•
KG - University
15 questions
coding

Quiz
•
KG - Professional Dev...
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
Discover more resources for Computers
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
24 questions
Flinn Lab Safety Quiz

Quiz
•
5th - 8th Grade
22 questions
Figurative Language

Quiz
•
7th Grade
10 questions
Essential Lab Safety Practices

Interactive video
•
6th - 10th Grade
30 questions
Lufkin Road Middle School Student Handbook & Policies Assessment

Quiz
•
7th Grade