Question
1. The correct output of the following statement is __. >>> 17 % 4 A. 4 B. 4.25 C. 1 D. '17 % 4' 2.
1. The correct output of the following statement is __. >>> 17 % 4 A. 4 B. 4.25 C. 1 D. '17 % 4' 2. The correct output of the following statement is __. >>> "17" * 4 A. 4 B. 4.25 C. 1 D. '17 % 4' E. 17171717 3. The correct output of the following statement is __. >>> 3**2 + 3**3
A. 36 B. 9 + 27 C. '3**2 + 3**3' D. '9 + 27' 4. The correct output of the following statements is __. >>> x = 5 >>> x *= 2 >>> x A. 7 B. 32 C. 25 D. 10 5. The correct output of the following statements is __. >>> x = 7 >>> x = x // 2 >>> x A. 3.5 B. 3.0 C. 3 D. 7 // 2 6. The correct output of the following statement is __. >>> (5 > 3) and (3 > 4) A. True B. False C. '(5 > 3) and (3 > 4)' D. (5 > 3) and (3 > 4) 7. The correct output of the following statement is __. >>> ("python" > "Python") or ("School" < "school") A. False B. True C. ("python" > "Python") or ("School" < "school") D. '("python" > "Python") or ("School" < "school")' 8. The correct output of the following statements is __. >>> x = 6 >>> x in range(4,6) A. False B. True C. 0 D. 1 9. The correct output of the following statement is __.
>>> 6 & 4 A. '6 & 4' B. 6 C. 5 D. 4 10. The correct output of the following statement is __. >>> 5 << 2 A. 25 B. 20 C. 3 D. 10
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started