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
15 questions
r lab

Quiz
•
Professional Development
20 questions
Java Programming Quiz 1

Quiz
•
Professional Development
15 questions
MCQ on Innovation & Creativity

Quiz
•
Professional Development
14 questions
Quiz on Agile Software Development

Quiz
•
Professional Development
10 questions
Data Types

Quiz
•
Professional Development
10 questions
Numpy

Quiz
•
Professional Development
19 questions
List,Tuples,Dictionary

Quiz
•
Professional Development
10 questions
Mastering Python Programming Concepts

Quiz
•
Professional Development
Popular Resources on Wayground
55 questions
CHS Student Handbook 25-26

Quiz
•
9th Grade
10 questions
Afterschool Activities & Sports

Quiz
•
6th - 8th Grade
15 questions
PRIDE

Quiz
•
6th - 8th Grade
15 questions
Cool Tool:Chromebook

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

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
20 questions
Bullying

Quiz
•
7th Grade
18 questions
7SS - 30a - Budgeting

Quiz
•
6th - 8th Grade
Discover more resources for Engineering
11 questions
All about me

Quiz
•
Professional Development
10 questions
How to Email your Teacher

Quiz
•
Professional Development
5 questions
Setting goals for the year

Quiz
•
Professional Development
11 questions
complex sentences

Quiz
•
Professional Development
8 questions
Ötzi the Iceman: A 5,000-Year-Old True Crime Murder Mystery | Full Documentary | NOVA | PBS

Interactive video
•
Professional Development
1 questions
Savings Questionnaire

Quiz
•
6th Grade - Professio...
6 questions
Basics of Budgeting 7

Quiz
•
6th Grade - Professio...
20 questions
Movies

Quiz
•
Professional Development