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 Statements

Quiz
•
5th - 7th Grade
10 questions
Python User Input Quiz

Quiz
•
6th Grade - University
10 questions
Python Variables

Quiz
•
7th - 12th Grade
10 questions
Computing Year 7 Term 2 _C.F.U 3

Quiz
•
7th Grade
12 questions
Python

Quiz
•
7th - 9th Grade
9 questions
Variables - 1

Quiz
•
7th - 8th Grade
12 questions
Python Print Statement

Quiz
•
6th - 10th Grade
7 questions
Pythonkod

Quiz
•
6th - 8th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade