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

Quiz
•
1st - 12th Grade
12 questions
Homework 1 Edublocks

Quiz
•
7th - 9th Grade
14 questions
Python Turtle - MCA Year 7

Quiz
•
7th Grade
14 questions
Chapter Test - Module 15 (For Loops)_G7Loyalty

Quiz
•
7th Grade
9 questions
Introduction To Python

Quiz
•
6th - 8th Grade
11 questions
Quiz#2

Quiz
•
6th - 8th Grade
15 questions
JAVA: Level-1

Quiz
•
5th - 12th Grade
18 questions
Coding Terminology

Quiz
•
3rd - 12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

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

Interactive video
•
6th - 10th Grade
18 questions
Company Logos

Quiz
•
6th - 8th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade