Python Quiz

Quiz
•
Computers
•
8th Grade
•
Medium
Ains Home
Used 6+ times
FREE Resource
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
Similar Resources on Wayground
15 questions
History of Computers

Quiz
•
6th - 12th Grade
20 questions
Code.org Express Course

Quiz
•
6th - 8th Grade
12 questions
Google Suite Skills

Quiz
•
5th - 8th Grade
20 questions
G8 Web Basics

Quiz
•
8th - 12th Grade
20 questions
list 6th

Quiz
•
7th Grade - University
13 questions
Guess the Video Game Character 1

Quiz
•
KG - Professional Dev...
16 questions
2.1 Linear and Binary Searching Algorithms

Quiz
•
8th - 10th Grade
12 questions
Информатика 10 сынып

Quiz
•
1st - 12th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
15 questions
Acceptable Use Policy (Quiz)

Quiz
•
6th - 8th Grade
25 questions
Career Vs. Job

Quiz
•
6th - 8th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
30 questions
Introduction to Computers

Quiz
•
8th - 9th Grade
20 questions
Copyright and Fair Use

Quiz
•
6th - 8th Grade
15 questions
Computer Components Video

Interactive video
•
8th Grade
20 questions
Hardware vs. Software Quiz

Quiz
•
7th - 10th Grade