Python Quiz
Quiz
•
Computers
•
8th Grade
•
Practice Problem
•
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
Already have an account?
Similar Resources on Wayground
20 questions
Payment Gateways
Quiz
•
8th Grade
10 questions
Web Basics
Quiz
•
7th - 8th Grade
20 questions
Database Basics v2 N5
Quiz
•
1st - 12th Grade
14 questions
8th class December test 2020
Quiz
•
8th Grade
20 questions
Digital Technologies Test 2020 - Networks, Devices and Data
Quiz
•
7th - 8th Grade
10 questions
Logo's
Quiz
•
7th - 9th Grade
12 questions
LAN WAN PAN
Quiz
•
8th Grade
19 questions
Python Year 9 Quiz
Quiz
•
8th - 10th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th 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
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
