QuizAnswer
Home
Contact
Say hello -
quizanswers.mail@gmail.com
1. The value of the expressions 4/(3*(2-1)) and 4/3*(2-1) is the same.
Answer.
True
2. What will be the value of the following Python expression?
4 + 3 % 5
Answer.
7
3. What will be the output of the following Python expression?
print(4.00/(2.0+2.0))
Answer.
1.0
4. What will be the value of X in the following Python expression?
X = 2+9*((3*12)-8)/10
Answer.
27.2
5. What will be the output of the following Python code snippet if x=1?
x<<2
Answer.
4
6. What will be the output of the following Python expression?
bin(29)
Answer.
'0b11101'
7. It is not possible for the two's complement value to be equal to the original value in any case.
Answer.
False
8. The one's complement of 110010101 is:
Answer.
001101010
9. What will be the output of the following Python code snippet?
bool('False')
bool()
Answer.
True
False
10. What will be the output of the following Python code snippet?
['hello', 'morning'][bool('')]
Answer.
hello
Prev
Next