
Python Basics Quiz
Quiz
•
Other
•
9th Grade
•
Medium
Hamza Motiyar
Used 2+ times
FREE Resource
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
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
20 questions
Access Lessons 4-9
Quiz
•
9th - 12th Grade
16 questions
python
Quiz
•
9th Grade
12 questions
Dog Facts
Quiz
•
1st - 12th Grade
15 questions
SOAL MID INFORMATIKA KELAS 7
Quiz
•
9th - 12th Grade
19 questions
Cluster Flight <> Pub Quiz
Quiz
•
1st - 12th Grade
12 questions
Ch 03 Technology Systems
Quiz
•
9th - 12th Grade
18 questions
Simple Flowchart 2021
Quiz
•
9th Grade
17 questions
FOR
Quiz
•
8th Grade - University
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
20 questions
ELA Advisory Review
Quiz
•
7th Grade
15 questions
Subtracting Integers
Quiz
•
7th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
Discover more resources for Other
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
20 questions
Distribute and Combine Like Terms
Quiz
•
7th - 9th Grade
12 questions
Graphing Inequalities on a Number Line
Quiz
•
9th Grade
11 questions
NFL Football logos
Quiz
•
KG - Professional Dev...
20 questions
Cell Organelles
Quiz
•
9th Grade
20 questions
Cell Transport
Quiz
•
9th Grade