
Python Programming Quiz
Quiz
•
Computers
•
12th Grade
•
Practice Problem
•
Hard
Skrt Hurt
FREE Resource
Enhance your content in a minute
21 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of comments in a Python program?
To break up the code into smaller functions
To describe sections of code and document what functions do
To store values in memory
To perform mathematical operations on variables and values
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the main function used for in a Python program?
To store values in memory
To perform mathematical operations
To control the flow of the program by calling other functions
To import external modules
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT a basic data type in Python?
String
Integer
Float
Array
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of type casting '10.5' using int('10.5') in Python?
10
10.5
An error
'10'
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the operator '//' perform in Python?
Addition
Subtraction
Integer Division
Exponentiation
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the operation "%" do?
Returns the remainder then assign result.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are conditionals?
Tests that allow you to make decisions in your code, return as True or False.
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
20 questions
Empowerment Technologies
Quiz
•
11th - 12th Grade
20 questions
iMovie App Quiz
Quiz
•
6th - 12th Grade
25 questions
2.6 The Internet Address (IPv4 & IPv6)
Quiz
•
11th - 12th Grade
20 questions
Excel Spreadsheet Fun (2nd)
Quiz
•
10th - 12th Grade
20 questions
Big Idea 2 Review
Quiz
•
9th - 12th Grade
20 questions
Python básico
Quiz
•
9th - 12th Grade
20 questions
Technology Innovations
Quiz
•
5th - 12th Grade
16 questions
Python programming
Quiz
•
6th - 12th 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
