In the Python statement x = a + 5 - b.
a and b are called ____________.
PYTHON PROGRAMMING POP QUIZ ON TOPIC 2!
Quiz
•
Computers
•
University
•
Easy
Neelam Amelia Mohamad Rejeni
Used 1+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In the Python statement x = a + 5 - b.
a and b are called ____________.
Expression
Operands
Operators
Statement
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the value of the expression 100 / 25?
0
0.25
4
4.0
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code?
print (9//2)
3
4
4.0
4.5
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the expression print (-18 // 4) ?
-4
4
-5
5
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following bitwise operators?
1
2
11
16
True
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following operators has the lowest precedence?
**
not
+
and
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the value of the expression 1 + 2 ** 3 * 4?
33
36
108
4097
15 questions
Exam 1 Practice
Quiz
•
University
15 questions
Scope of Variables in Python
Quiz
•
1st Grade - Professio...
10 questions
Techno India University Python Quiz Contest
Quiz
•
University
15 questions
Python Conditionals and If Statements
Quiz
•
8th Grade - University
10 questions
Python Dictionaries
Quiz
•
University
15 questions
Python Basics
Quiz
•
KG - University
10 questions
Python Quiz
Quiz
•
University
12 questions
Python Quiz 1.4
Quiz
•
University
15 questions
Multiplication Facts
Quiz
•
4th Grade
25 questions
SS Combined Advisory Quiz
Quiz
•
6th - 8th Grade
40 questions
Week 4 Student In Class Practice Set
Quiz
•
9th - 12th Grade
40 questions
SOL: ILE DNA Tech, Gen, Evol 2025
Quiz
•
9th - 12th Grade
20 questions
NC Universities (R2H)
Quiz
•
9th - 12th Grade
15 questions
June Review Quiz
Quiz
•
Professional Development
20 questions
Congruent and Similar Triangles
Quiz
•
8th Grade
25 questions
Triangle Inequalities
Quiz
•
10th - 12th Grade