Python Quiz
Quiz
•
Computers
•
8th Grade
•
Medium
Ains Home
Used 6+ times
FREE Resource
Enhance your content in a minute
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Python is a .......................
webpage
Progrmming languagea
Non programming Language
Snake
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the file extension for Python files?
.py
.java
.html
.css
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code?
x = 5
y = 3
print(x + y)
8
53
5 + 3
35
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the use of 'print' statement in Python?
To display the output
To define a variable
To perform mathematical operations
To create a loop
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code?
x = 10
y = 7
print(x - y)
3
17
10 - 7
70
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the use of 'len' function in Python?
To display the length of a string
To define a variable
To perform mathematical operations
To create a loop
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code?
x = 15
y = 7
print(x / y)
2.14
2
15 / 7
107
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
15 questions
Sejarah Komputer 2
Quiz
•
1st - 12th Grade
20 questions
Responsible Use of Digital Resources
Quiz
•
7th - 8th Grade
17 questions
Networks Lesson 2 - Recap and Review
Quiz
•
6th - 8th Grade
18 questions
Publisher Basics
Quiz
•
7th - 10th Grade
20 questions
Browser dan CMS
Quiz
•
7th - 9th Grade
10 questions
Google Drive
Quiz
•
KG - University
10 questions
Internet Layers
Quiz
•
6th - 8th Grade
20 questions
Administrasi Sistem jaringan KD1
Quiz
•
1st - 10th Grade
Popular Resources on Wayground
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Order of Operations
Quiz
•
5th Grade
20 questions
Halloween
Quiz
•
5th Grade
16 questions
Halloween
Quiz
•
3rd Grade
12 questions
It's The Great Pumpkin Charlie Brown
Quiz
•
1st - 5th Grade
20 questions
Possessive Nouns
Quiz
•
5th Grade
10 questions
Halloween Traditions and Origins
Interactive video
•
5th - 10th Grade
