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
18 questions
AQA GCSE Computer Science - 3.1.4 Sorting Algorithms

Quiz
•
8th - 10th Grade
15 questions
IT105 Review - Lists

Quiz
•
4th Grade - University
12 questions
Programming in Python: Sequences

Quiz
•
8th Grade
12 questions
Sequencing, Selection and Iteration

Quiz
•
8th - 10th Grade
15 questions
South Carolina Facts

Quiz
•
6th - 8th Grade
10 questions
Black Pioneers in Technology

Quiz
•
5th - 9th Grade
20 questions
SDA Chapter 2 Vocabulary

Quiz
•
7th - 9th Grade
10 questions
Blog Terminology

Quiz
•
8th - 10th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

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

Interactive video
•
6th - 10th Grade
18 questions
Company Logos

Quiz
•
6th - 8th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade