Quiz- Grade 7 & 8- Python (2nd term)

Quiz
•
Computers
•
7th Grade
•
Easy
Daniel Marcos Domingos Manganhe
Used 14+ times
FREE Resource
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
What is Python?
A type of snake
A high-level programming language
A database management system
A web browser
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which operator is used to check if two values are equal in Python?
=
==
!=
===
3.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
What will the following code output? x = 10 if x > 5: print("Hello!") else: print("Goodbye!")
Hello!
Goodbye!
Nothing
Error
4.
OPEN ENDED QUESTION
3 mins • 3 pts
Write a Python statement to declare a variable called age and assign it the value 16.
Evaluate responses using AI:
OFF
5.
OPEN ENDED QUESTION
3 mins • 2 pts
What is wrong with this code? Fix it. name = "Alice" print("Hello" name)
Evaluate responses using AI:
OFF
6.
OPEN ENDED QUESTION
3 mins • 4 pts
Write a Python program that asks the user for their favorite number and then prints whether it is "Even" or "Odd". (Hint: Use the modulo operator % to check if the number is divisible by 2.)
Evaluate responses using AI:
OFF
7.
OPEN ENDED QUESTION
3 mins • 3 pts
What will this code output? Explain why. num1 = 5 num2 = 2 result = num1 * num2 + 3 print(result)
Evaluate responses using AI:
OFF
8.
OPEN ENDED QUESTION
3 mins • 3 pts
Write a Python program that asks the user for their age and prints "You are a teenager" if the age is between 13 and 19 (inclusive), otherwise prints "You are not a teenager".
Evaluate responses using AI:
OFF
Similar Resources on Wayground
10 questions
Python Into Quiz

Quiz
•
6th - 8th Grade
10 questions
Python-Code Right or Wrong

Quiz
•
7th - 8th Grade
8 questions
Nested if...else statements

Quiz
•
6th - 8th Grade
10 questions
Wiz 3 Assessment Python

Quiz
•
6th - 8th Grade
10 questions
QCM : Python (TC Lycée)

Quiz
•
7th Grade
10 questions
CLASS 7 CODING

Quiz
•
7th Grade
12 questions
Python Quiz 8.3

Quiz
•
6th - 8th Grade
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
25 questions
Chromebook Quiz!

Quiz
•
7th Grade
18 questions
Company Logos

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

Quiz
•
6th - 8th Grade
17 questions
Email Etiquette

Quiz
•
7th Grade
10 questions
Google Drive

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

Quiz
•
7th - 8th Grade