PA_Datatypes_Indentations2
Quiz
•
Engineering
•
Professional Development
•
Medium
TJL_ Sarwani
Used 3+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the order of precedence for the following operators in Python, from highest to lowest?
**, /, %, +
**, +, /, %
+, %, /, **
/, %, +,**
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following Python expression :
print(10 - 4 * 2 + 3)
11
5
15
9
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following operators in Python has right-to-left associativity?
+
-
**
/
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of the following Python expression?
print(2 ** 3 **2)
64
512
12
36
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following Python expression?
print(15 // 4 % 2)
0
1
3
2
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT a core data type in Python?
List
Dictionary
Class
Tuple
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the default return value of a Python function that does not explicitly return any value?
a) 0
b) None
c) False
d) Empty string
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
15 questions
VEDA DIPLOMA/BTECH WEEKLY EXAM (16/06/2025)
Quiz
•
Professional Development
20 questions
S4_Java Basics Quiz
Quiz
•
Professional Development
15 questions
MCQs on Creativity and Innovation
Quiz
•
Professional Development
20 questions
Quiz on Optical Networks and it's types
Quiz
•
Professional Development
20 questions
Energy Economics Quiz
Quiz
•
Professional Development
10 questions
Exploring the World of AI
Quiz
•
Professional Development
10 questions
Exploring the World of Robotics
Quiz
•
Professional Development
20 questions
PCNSC question 21 to 40
Quiz
•
Professional Development
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