
Hi Python!
Quiz
•
Computers
•
9th - 12th Grade
•
Practice Problem
•
Medium
AMIRAH SHAHIRI
Used 4+ times
FREE Resource
Enhance your content in a minute
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
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
14 questions
TCP/IP & other protocols [A Level]
Quiz
•
12th Grade
10 questions
Abhyudaya coding class - Grade 7
Quiz
•
6th Grade - University
10 questions
MIL March 8, 2023
Quiz
•
12th Grade
10 questions
NHTW Programming
Quiz
•
9th Grade
10 questions
Câu hỏi trắc nghiệm Tin Học 10 - Bài 10
Quiz
•
10th Grade
10 questions
Activity 1: How well do you know Java?
Quiz
•
9th Grade
15 questions
4.6.4 Logic Gates
Quiz
•
10th Grade - Professi...
12 questions
Wee Word Intro
Quiz
•
7th - 12th 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
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
20 questions
Figurative Language Review
Quiz
•
6th Grade
