
Python Basics Quiz

Quiz
•
Instructional Technology
•
9th Grade
•
Hard
saima abbas
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a string in Python?
A sequence of numbers
A sequence of characters enclosed in quotes
A mathematical operation
A loop
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which command is used to display text in Python?
display()
show()
print()
output()
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will print('Hello') output?
Hello
'Hello'
Error
Nothing
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of 4 + 5 in Python?
45
9
Error
"4+5"
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which symbol is used for multiplication in Python?
×
*
÷
#
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a variable in Python?
A reserved keyword
A box that stores a value
A loop
A function
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code? answer = 5 + 3 print(answer)
5 + 3
8
answer
Error
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Year 8 design and Technology test

Quiz
•
8th - 10th Grade
20 questions
Desvendando a Lógica de Programação

Quiz
•
9th Grade
25 questions
ICT 9 Q1 M5, MATERIALS, TOOLS, EQUIPMENT AND TESTING DEVICES

Quiz
•
9th Grade
15 questions
CPA Flowchart Mastery

Quiz
•
7th Grade - Professio...
17 questions
Informatica (base1)

Quiz
•
1st - 12th Grade
20 questions
ICT 9 Q3 M3 Computer/OS Error

Quiz
•
9th Grade - University
20 questions
Vocabulary

Quiz
•
9th Grade
20 questions
Machine Learning Imagine Cup Junior

Quiz
•
1st Grade - University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Instructional Technology
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
12 questions
Graphing Inequalities on a Number Line

Quiz
•
9th Grade
20 questions
Cell Organelles

Quiz
•
9th Grade
28 questions
Ser vs estar

Quiz
•
9th - 12th Grade
15 questions
Two Step Equations

Quiz
•
9th Grade
17 questions
Continents and Oceans

Lesson
•
5th - 9th Grade