Python Basics Quiz 1

Quiz
•
Computers
•
8th Grade
•
Medium
Shaun Morrison
Used 5+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct way to print "Hello, World!"?
print("Hello, World!")
echo "Hello, World!"
printf("Hello, World!")
System.out.println("Hello, World!")
Answer explanation
The correct way to print "Hello, World!" in Python is using the print() function.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is the correct way to assign the value 10 to a variable named number in Python?
number = 10
int number = 10
10 = number
number := 10
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following code snippet?
Greater
3
5
No output
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of the following statements correctly uses `elif` in Python?
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following code snippet?
High
Low
3
No output
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a comparison operator?
+
=
==
*
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What will be the output of the following code snippet?
x is less than y
x is equal to y
x is greater than y
No output
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Intro to Programming Quiz

Quiz
•
University
15 questions
Java Script Quiz

Quiz
•
9th - 12th Grade
10 questions
0xDebug - Python

Quiz
•
University
16 questions
Understanding C# Conditional Statements

Quiz
•
11th Grade
14 questions
PYTHON DICTIONARIES

Quiz
•
11th Grade
18 questions
PCEP 30-02 Practice Exam

Quiz
•
10th Grade
15 questions
Python Basics

Quiz
•
6th - 8th Grade
20 questions
ISTE TECHNICAL

Quiz
•
University
Popular Resources on Wayground
10 questions
SR&R 2025-2026 Practice Quiz

Quiz
•
6th - 8th Grade
30 questions
Review of Grade Level Rules WJH

Quiz
•
6th - 8th Grade
6 questions
PRIDE in the Hallways and Bathrooms

Lesson
•
12th Grade
10 questions
Lab Safety Procedures and Guidelines

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

Quiz
•
3rd Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
15 questions
Subtracting Integers

Quiz
•
7th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
22 questions
College Terms

Quiz
•
8th Grade
18 questions
Company Logos

Quiz
•
6th - 8th Grade
15 questions
Acceptable Use Policy (Quiz)

Quiz
•
6th - 8th Grade
32 questions
Keyboarding

Quiz
•
8th Grade
10 questions
Google Drive

Quiz
•
6th - 8th Grade
10 questions
Acceptable Use of Technology

Quiz
•
7th - 8th Grade