
Python Quiz1
Authored by Abdullah Ansari
Computers
6th - 8th Grade
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is the truncation division operator in Python?
|
//
/
%
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following Python function?
min(max(False,-3,-4), 2,7)
-4
-3
2
False
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following Python expression if x=56.236?
print("%.2f"%x)
56.236
56.23
56.0000
56.24
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following Python code snippet?
for i in [1, 2, 3, 4][::-1]:
print(i, end=' ')
4 3 2 1
error
1 2 3 4
None of the mentioned
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following Python code?
1 2 3
error
1 2
none of the mentioned
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following code snippet?
15
0
20
None of the mentioned
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the order of precedence in python?
Exponential, Parentheses, Multiplication, Division, Addition, Subtraction
Exponential, Parentheses, Division, Multiplication, Addition, Subtraction
Parentheses, Exponential, Multiplication, Division, Subtraction, Addition
Parentheses, Exponential, Multiplication, Division, Addition, Subtraction
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
Rješavanje problema i programiranje
Quiz
•
8th Grade
16 questions
Conditions
Quiz
•
8th - 10th Grade
22 questions
Keyboarding Vocabulary
Quiz
•
5th - 6th Grade
16 questions
ON TAP TIN 6 KII
Quiz
•
6th Grade
20 questions
Ultrasonic Sensor and Parking Assistance Quiz
Quiz
•
8th Grade
20 questions
Introduction to E-commerce chapter 10 (RB3)
Quiz
•
6th - 8th Grade
20 questions
Software and Programming Language
Quiz
•
8th Grade
19 questions
EV3 Robotics Programming (Layla and Mackenzie.)
Quiz
•
6th 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