
Python Quiz1
Quiz
•
Computers
•
6th - 8th Grade
•
Medium
Abdullah Ansari
Used 2+ times
FREE Resource
Enhance your content
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
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
18 questions
Python ծրագրավորման լեզու
Quiz
•
8th Grade
16 questions
Python: Data Types and Variable Declarations
Quiz
•
6th Grade
16 questions
Year 9 Python Programming Quiz
Quiz
•
8th Grade
22 questions
Program Development - Python: Lists
Quiz
•
8th - 10th Grade
20 questions
Introduction to Python programming
Quiz
•
6th - 8th Grade
25 questions
Data Types- Python
Quiz
•
7th - 11th Grade
20 questions
Python Basics
Quiz
•
7th Grade
19 questions
Grade 8
Quiz
•
8th Grade
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
20 questions
ELA Advisory Review
Quiz
•
7th Grade
15 questions
Subtracting Integers
Quiz
•
7th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd 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
25 questions
Exploring POV and Unreliable Narrators
Quiz
•
7th Grade
18 questions
Company Logos
Quiz
•
6th - 8th Grade
20 questions
Typing Practice
Quiz
•
7th - 12th Grade
14 questions
Inputs and Outputs: Computer Science Intro
Lesson
•
5th - 9th Grade
20 questions
Input, Output, Processing or Storage
Quiz
•
5th - 6th Grade