Home > Python > Quizzes > Problem Solving and Python Programming Practice Test: Precedence of Operators
Problem Solving and Python Programming Practice Test: Precedence of Operators
Fast practice, instant feedback. Timer auto-submits when time’s up.
Avg score: 69% Most missed: “What is the value of the following expression?”
Problem Solving and Python Programming Practice Test: Precedence of Operators
Time left 00:00
13 Questions

1. The value of the expressions 4/(3*(2-1)) and 4/3*(2-1) is the same.
2. What is the value of the following expression? 8/4/2, 8/(4/2)
3. What will be the value of x in the following Python expression? x = int(43.55+2/2)
4. What will be the value of the following Python expression? float(4+int(2.39)%2)
5. What will be the output of the following Python expression?
24//6%3, 24//4//2
6. What will be the value of the following Python expression? float(4+int(2.39)%2)
7. What are the values of the following Python expressions?
2**(3**2) (2**3)**2
2**3**2
8. What will be the output of the following Python expression?
24//6%3, 24//4//2
9. The expression 2**2**3 is evaluates as: (2**2)**3.
10. What will be the value of x in the following Python expression? x = int(43.55+2/2)
11. What will be the value of the following Python expression?
+2**5//10
12. Which of the following is the truncation division operator?\r\n
13. What will be the value of X in the following Python expression?
X = 2+9*((3*12)-8)/10