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
11 questions
Python If statement
Quiz
•
University
15 questions
PSP Week 4
Quiz
•
University
10 questions
PYTHON_CHAPTER 2
Quiz
•
University
15 questions
Python Programming Intermediate-1
Quiz
•
University
10 questions
Python Generators
Quiz
•
10th Grade - University
15 questions
CSE 102 Exam 2 Practice
Quiz
•
University
10 questions
Python Quiz
Quiz
•
University
15 questions
SCRIPTING PROGRAMMING WITH PYTHON
Quiz
•
University
15 questions
Character Analysis
Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing
Quiz
•
9th - 12th Grade
10 questions
American Flag
Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension
Quiz
•
5th Grade
30 questions
Linear Inequalities
Quiz
•
9th - 12th Grade
20 questions
Types of Credit
Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25
Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers
Quiz
•
6th - 8th Grade