On This Page

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

Q1 | The value of the expressions 4/(3*(2-1)) and 4/3*(2-1) is the same.
Q2 | + 3 % 5
Q3 | Which of the following operators has its associativity from right to left?
Q4 | 55+2/2)
Q5 | +4.00, 2**4.0
Q6 | Which of the following is the truncation division operator?
Q7 | **(3**2) (2**3)**2 2**3**2
Q8 | /4/2, 8/(4/2)
Q9 | +9*((3*12)-8)/10
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 | 1)?
Q15 | Which of the following expressions results in an error?
Q16 | Which of the following represents the bitwise XOR operator?
Q17 | x8)
Q18 | What will be the output of the following Python expression?0x35 | 0x75
Q19 | It is not possible for the two’s complement value to be equal to the original value in any case.
Q20 | Bitwise                    gives 1 if either of the bits is 1 and 0 when both of the bits are 1.
Q21 | ^12
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)