Python Programming Quiz
Quiz
•
Computers
•
5th Grade
•
Practice Problem
•
Hard
Debaprasad Maity
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the extension of a Python file?
.txt
.py
.java
.doc
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Who began working on Python in the late 1980s?
Dennis Ritchie
Guido van Rossum
James Gosling
Bjarne Stroustrup
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does indentation in Python indicate?
A function
A variable
A block of code
A comment
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a valid way to create a comment in Python?
/* This is a comment */
<-- This is a comment -->
# This is a comment
// This is a comment
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the print() function in Python?
To output a variable
To create variables
To define a function
To import libraries
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT a data type in Python?
int
float
array
string
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a function in Python?
A way to create comments
A method to handle errors
A block of code that runs when called
A type of variable
Access all questions and much more by creating a free account
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
12 questions
JUEGO - UNIDADES DE MEDIDA DE ALMACENAMIENTO
Quiz
•
1st - 10th Grade
9 questions
Aplicaciones de Google
Quiz
•
4th - 8th Grade
15 questions
Introduction to Scratch
Quiz
•
3rd - 5th Grade
8 questions
Historia del computador
Quiz
•
5th Grade
14 questions
¿QUÉ TANTO SABES?
Quiz
•
1st - 12th Grade
13 questions
Mappaszerkezet
Quiz
•
5th - 6th Grade
10 questions
C# lesson10
Quiz
•
1st - 10th Grade
10 questions
Konsep Routing
Quiz
•
1st - 10th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
