
Python Libraries Quiz
Quiz
•
Computers
•
11th Grade
•
Practice Problem
•
Medium
Danilo Perez
Used 3+ times
FREE Resource
Enhance your content in a minute
29 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct syntax to output "Hello, World!" in Python?
echo "Hello, World!"
print("Hello, World!")
printf("Hello, World!")
cout << "Hello, World!"
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a valid variable name in Python?
`1variable`
`variable_1`
`variable-1`
`variable 1`
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code? ```python x = 5 y = 10 print(x + y) ```
`5`
`10`
`15`
`50`
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
`5`
`6`
`8`
`9`
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you start a comment in Python?
`//`
`#`
`/*`
`
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code? ```python for i in range(3): print(i) ```
`0 1 2`
`1 2 3`
`0 1 2 3`
`1 2 3 4`
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is used to define a function in Python?
`function`
`def`
`func`
`define`
Create a free account and access millions of resources
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
25 questions
CSP Python Review
Quiz
•
9th - 12th Grade
24 questions
اختبار أساسيات البرمجة بلغة البايثون
Quiz
•
7th Grade - University
25 questions
Quiz Bahasa C
Quiz
•
10th Grade - University
26 questions
Microsoft Word Sisian AEC_DVV International Yerevan
Quiz
•
6th - 12th Grade
26 questions
IDE-мен танысу Python 1
Quiz
•
11th Grade
24 questions
Grafika
Quiz
•
KG - University
25 questions
ICT IGCSE Quiz
Quiz
•
11th Grade
25 questions
Python Loops
Quiz
•
11th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
