On This Page

This set of Problem Solving and Python Programming Multiple Choice Questions & Answers (MCQs) focuses on Problem Solving And Python Programming Set 22

Q1 | + 3 % 5
Q2 | Which of the following operators has its associativity from right to left?
Q3 | 55+2/2)
Q4 | +4.00, 2**4.0
Q5 | Which of the following is the truncation division operator?
Q6 | **(3**2) (2**3)**2 2**3**2
Q7 | /4/2, 8/(4/2)
Q8 | +9*((3*12)-8)/10
Q9 | 2. Hence the result of this expression is 27.2.
Q10 | //6%3, 24//4//2
Q11 | +int(2.39)%2)
Q12 | +2**5//10
Q13 | The expression 2**2**3 is evaluates as: (2**2)**3.
Q14 | Which of the following expressions results in an error?
Q15 | Which of the following represents the bitwise XOR operator?
Q16 | x8)
Q17 | x75
Q18 | It is not possible for the two’s complement value to be equal to the original value in any case.
Q19 | Bitwise                    gives 1 if either of the bits is 1 and 0 when both of the bits are 1.
Q20 | ^12
Q21 | -2)+bin(12^4)
Q22 | Which of the following expressions can be used to multiply a given number ‘a’ by 4?
Q23 | R operator. Hence the output of the code shown above is: 20 10.
Q24 | ?
Q25 | <20) and not(10>30)