
Python Basics Quiz
Quiz
•
Other
•
9th Grade
•
Practice Problem
•
Medium
Hamza Motiyar
Used 2+ times
FREE Resource
Enhance your content in a minute
16 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct file extension for Python files?
.py
.python
.pt
.exe
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a valid variable name?
2name
my-name
name_2
my name
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the print() function do?
Takes input
Loops through values
Outputs text to the screen
Defines a variable
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a comment in Python?
/* This is a comment */
// This is a comment
# This is a comment
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you take input from the user in Python?
scan()
get()
input()
read()
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of print("5" + "3")?
8
53
Error
None
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct syntax to assign a value to a variable?
let x = 5
x
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
2023 TISPC Higher Edu and Career Fair
Quiz
•
9th - 12th Grade
15 questions
Dzień Kobiet
Quiz
•
1st - 10th Grade
20 questions
kuis prakarya kelas 9
Quiz
•
9th Grade
13 questions
disney princesses
Quiz
•
KG - Professional Dev...
15 questions
Ulangan Bahasa Indonesia
Quiz
•
9th Grade
14 questions
AFIOTR Basic
Quiz
•
6th Grade - University
15 questions
Quiz # 2- Table Skirting
Quiz
•
9th Grade
20 questions
Demokratie
Quiz
•
2nd - 12th Grade
Popular Resources on Wayground
8 questions
2 Step Word Problems
Quiz
•
KG - University
20 questions
Comparing Fractions
Quiz
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Latin Bases claus(clois,clos, clud, clus) and ped
Quiz
•
6th - 8th Grade
22 questions
fractions
Quiz
•
3rd Grade
7 questions
The Story of Books
Quiz
•
6th - 8th Grade
Discover more resources for Other
8 questions
2 Step Word Problems
Quiz
•
KG - University
10 questions
Martin Luther King, Jr. For Kids
Interactive video
•
1st - 12th Grade
10 questions
Dr. King's Speech and Its Impact
Interactive video
•
7th - 12th Grade
20 questions
El Verbo IR Practice
Quiz
•
9th Grade
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
20 questions
Graphing Inequalities on a Number Line
Quiz
•
6th - 9th Grade
7 questions
Anti-Bullying ARS 15-341
Quiz
•
9th - 12th Grade
10 questions
Capitalize Countries and Places Quiz
Quiz
•
9th Grade
