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
Similar Resources on Wayground
10 questions
Quiz sobre Inteligencia Artificial y Python

Quiz
•
Professional Development
15 questions
Quiz on Group Technology

Quiz
•
Professional Development
15 questions
ICIT: Electrical Regulations and Code of Practice Quiz

Quiz
•
Professional Development
12 questions
3003 LO4 11 RCDs Voltage Current & Equipment Class Measurement

Quiz
•
Professional Development
20 questions
CANDU COOP Not-Kahoot Quiz

Quiz
•
Professional Development
20 questions
RME Review - Autotransformer Motor Starter

Quiz
•
Professional Development
15 questions
joomla_finalquiz3

Quiz
•
Professional Development
10 questions
Introducción a los PLC´s

Quiz
•
Professional Development
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade