
Hi Python!

Quiz
•
Computers
•
9th - 12th Grade
•
Medium
AMIRAH SHAHIRI
Used 4+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
What function is used in Python to display output on the screen?
echo()
display()
show()
print()
2.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Which of the following is the correct way to assign a value to a variable in Python?
let age = 20
age == 20
age = 20
age : 20
3.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Which of these symbols is used to begin a comment in Python?
//
#
/*
<!--
4.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
What is the output of the following code?
print("5" + "5")
55
10
Error
5 5
5.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
What type of error will the following code produce?
SyntaxError
TypeError
ValueError
NameError
6.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
What is the correct way to write a string in Python?
"Hello"
'Hello'
"""Hello"""
All of the above
7.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Which of these variable names is invalid in Python?
my_var
2ndValue
_count
userName
Create a free account and access millions of resources
Similar Resources on Wayground
9 questions
Python Programming Basics

Quiz
•
6th - 12th Grade
15 questions
Basic Python Coding

Quiz
•
11th - 12th Grade
13 questions
Python 3 Basics

Quiz
•
9th Grade
13 questions
Fundamentals of Python

Quiz
•
9th - 12th Grade
12 questions
Navs Python Quiz

Quiz
•
8th - 10th Grade
6 questions
Python 1

Quiz
•
7th - 9th Grade
12 questions
Small Basic Quiz

Quiz
•
7th - 9th Grade
15 questions
ASK F2 -KOD ARAHAN (PYTHON)

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

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
20 questions
Analog vs Digital

Quiz
•
9th - 12th Grade
10 questions
CTEA Computer Vocab Terms #1

Quiz
•
12th Grade
10 questions
Exploring Cybersecurity Techniques and Threats

Interactive video
•
6th - 10th Grade
10 questions
Understanding the Internet and Data Transmission

Interactive video
•
7th - 12th Grade