
Python (grade 7)

Quiz
•
Computers
•
7th Grade
•
Medium
Ameera Omoush
Used 1K+ times
FREE Resource
14 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the code print?
a= 10
b= 18
if (a > b):
print("Hello")
else:
print("Bye")
18
Hello
10
Bye
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What will this code print?
a = 3*2
print(a)
3
3*2
6
2
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which command will display the text 'Hello world!' on the screen?
print(Hello world!)
print=Hello world!
print ("Hello world!")
print Hello world!
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of this command? print ("5 + 3")
5+3
5
8
3
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which decision statement will be triggered if the variable x is less than 20?
if > 20:
if == 20:
if <20:
if != 20:
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these tests whether the variable x is the same as 'Hello'?
x != Hello
x = "Hello"
x <> Hello
x == "Hello"
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a variable?
A piece of data that can change
A piece of data you cannot change
A coding technique
A special file
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Python coding

Quiz
•
7th - 8th Grade
10 questions
Python

Quiz
•
6th - 8th Grade
10 questions
Python

Quiz
•
7th Grade
16 questions
Python Basics

Quiz
•
KG - University
10 questions
Quiz1_HPB2021_2010t1

Quiz
•
1st - 12th Grade
14 questions
Пайтон. 7 клас. Алгоритми

Quiz
•
7th Grade
11 questions
Conditional statements

Quiz
•
7th Grade
11 questions
Python for Class 7

Quiz
•
7th - 8th Grade
Popular Resources on Wayground
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
10 questions
"LAST STOP ON MARKET STREET" Vocabulary Quiz

Quiz
•
3rd Grade
19 questions
Fractions to Decimals and Decimals to Fractions

Quiz
•
6th Grade
16 questions
Logic and Venn Diagrams

Quiz
•
12th Grade
15 questions
Compare and Order Decimals

Quiz
•
4th - 5th Grade
20 questions
Simplifying Fractions

Quiz
•
6th Grade
20 questions
Multiplication facts 1-12

Quiz
•
2nd - 3rd Grade