
Quiz- Grade 7 & 8- Python (2nd term)
Authored by Daniel Marcos Domingos Manganhe
Computers
7th Grade
Used 14+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
Grafičko sučelje - Tkinter
Quiz
•
7th - 9th Grade
10 questions
Программирование алгоритма 8 класс
Quiz
•
1st - 10th Grade
10 questions
DASAR TIK
Quiz
•
7th Grade
10 questions
Computer in the society
Quiz
•
2nd - 10th Grade
10 questions
Intro to CSS
Quiz
•
7th - 8th Grade
10 questions
TRÍ NHỚ SIÊU PHÀM
Quiz
•
6th - 8th Grade
10 questions
Python Alternating Turns
Quiz
•
7th - 12th Grade
10 questions
Year 8 - Lesson 15
Quiz
•
7th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade