11. The one's complement of 110010101 is:
12. What will be the output of the following Python code snippet?
not(10<20) and not(10>30)
not(10<20) and not(10>30)
13. What is the result of not (3 > 5) ?
14. What is the result of not (True or False) ?
15. What is the result of `5 & 9 | 1` ?
16. What is the two's complement of -44?
17. Any odd number on being AND-ed with . . . . . . . . always gives 1. Hint: Any even number on being AND-ed with this value always gives 0.
18. What will be the output of the following Python code snippet?
not(3>4)
not(1&1)
not(3>4)
not(1&1)
19. What will be the output of the following Python code?
l=[1, 0, 2, 0, 'hello', '', []]
list(filter(bool, l))
l=[1, 0, 2, 0, 'hello', '', []]
list(filter(bool, l))