Python Essentials 119
Quiz
•
Computers
•
9th - 12th Grade
•
Easy
Mr Minyard
Used 6+ times
FREE Resource
Enhance your content in a minute
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is the correct way to print the phrase "Hello, World!" in Python?
print "Hello, World!"
echo "Hello, World!"
printf("Hello, World!")
print("Hello, World!")
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What symbol is used to start a comment in Python?
//
/*
#
""
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a text-based programming language?
Scratch
Python
Photoshop
Excel
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code snippet? ```python print("Python" + " " + "Rocks!") ```
PythonRocks!
Python Rocks!
Python+Rocks!
"Python" "Rocks!"
5.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
How do you write a comment in Python that spans multiple lines?
Using # at the beginning of each line
Using /* at the beginning and */ at the end
Using at the end
Using triple quotes
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct file extension for Python files?
.pyt
.pt
.py
.python
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is true about the print() function in Python?
It can only print strings.
It sends output to the console.
It is used to read input from the user.
It cannot print variables.
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
20 questions
Online Platform Block Q
Quiz
•
11th - 12th Grade
15 questions
Chapter 3: Storage devices and media (Part 2):
Quiz
•
10th - 11th Grade
20 questions
City & Guilds Award in Business Processes
Quiz
•
12th Grade
21 questions
CPA MS-Office Hotkeys Quiz
Quiz
•
8th Grade - Professio...
18 questions
Quiz on Misinformation and Bias
Quiz
•
10th Grade - University
15 questions
Year 8 - Illustrator - L4
Quiz
•
7th - 9th Grade
15 questions
Ôn tập kỳ 2 tin 6
Quiz
•
1st - 12th Grade
19 questions
Python Year 9 Quiz
Quiz
•
8th - 10th 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
