
Python Programming Quiz
Quiz
•
Computers
•
Professional Development
•
Practice Problem
•
Medium
ERROL ANTONIO
Used 9+ times
FREE Resource
Enhance your content in a minute
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which function is used to get user input in Python 3?
input()
raw_input()
scan()
read()
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct way to check if x is equal to 10?
x = 10:
x == 10:
x := 10:
x === 10:
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which operator is used for exponentiation in Python?
^
**
pow
^^
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of print(5 // 2)?
2.5
2
3
2.0
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will float(3) return?
"3.0"
3.0
"3"
Error
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which function converts a string "10" into an integer?
str("10")
int("10")
integer("10")
str(int("10"))
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct way to write a single-line comment in Python?
/* comment */
""" comment """
#comment
// comment //
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
MS Office
Quiz
•
Professional Development
10 questions
Laravel 1
Quiz
•
Professional Development
14 questions
AES: Coding Fundamentals Lessons 1 and 2
Quiz
•
7th Grade - Professio...
20 questions
class 8
Quiz
•
Professional Development
10 questions
HERData
Quiz
•
Professional Development
20 questions
HTML-1
Quiz
•
Professional Development
10 questions
Introduction to Computer
Quiz
•
Professional Development
20 questions
แบบทดสอบไมโครคอนโทรลเลอร์ (Microcontroller)
Quiz
•
Professional Development
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
Discover more resources for Computers
10 questions
How to Email your Teacher
Quiz
•
Professional Development
6 questions
3RD GRADE DECLARATION OF INDEPENDENCE EXIT TICKET
Quiz
•
Professional Development
19 questions
Black History Month Trivia
Quiz
•
6th Grade - Professio...
22 questions
Multiplying Exponents with the Same Base
Quiz
•
9th Grade - Professio...
40 questions
Flags of the World
Quiz
•
KG - Professional Dev...
