OBJECTIVE ASSESSMENT 2026| COMPLETE 100 REAL
EXAM QUESTIONS AND CORRECT VERIFIED ANSWERS
WITH DETAILED RATIONALES | ALREADY GRADED A+ |
NEWEST ACTUAL OA FINAL EXAM - ASSESSMENT 4
This examination consists of 100 multiple-choice and code-completion
questions covering foundational Python programming concepts. Each
question includes:
- The question or code snippet
- Four answer choices (A, B, C, D)
- The correct answer
- A detailed rationale explaining the concept
Q1. What is the output of the following code?
```python
print(10 % 3)
```
A) 1
B) 3
,C) 3.3
D) 0
Correct Answer: A
Rationale: The modulo operator `%` returns the remainder of division. `10 ÷
3 = 3` with a remainder of `1`.
Q2. Which of the following is a mutable data type in Python?
A) tuple
B) str
C) int
D) list
Correct Answer: D
Rationale: Lists are mutable, meaning their contents can be changed after
creation. Tuples, strings, and integers are immutable.
,Q3. What is the result of `print(10 // 4)`?
A) 2.5
B) 2
C) 3
D) 2.0
Correct Answer: B
**Rationale:** The `//` operator performs floor division (integer division).
It returns the quotient without the remainder, so `10 // 4` evaluates to `2`.
Q4. Which of the following is a valid Python variable name?
A) 2nd_place
B) my-variable
C) _result
D) class
Correct Answer: C
, Rationale: Variable names cannot start with a digit (eliminating
`2nd_place`), cannot contain hyphens (eliminating `my-variable`), and
cannot be reserved keywords like `class`. Underscores are allowed, so
`_result` is valid.
Q5 What is the output of the following code?
```python
print(2 ** 5)
```
A) 10
B) 25
C) 32
D) 16
Correct Answer: C
Rationale:** The `**` operator performs exponentiation. `2 ** 5` means 2
raised to the power of 5 = 2 × 2 × 2 × 2 × 2 = 32.