The one’s complement of 110010101 is:
Find the output of the following code:
lst=[11,22,33,44,55]
x=list(filter(lambda i:i<22,lst))
print(x)
Find the output of the following code:
a=1111 and 10110
b=1111 & 10110
print(a==b)
What will be the output of the following Python expression if X=345?
print("%06d" % X)
Error detection due to program execution is called ________________
Is the following statement True or False
The expression Int(x) implies that the variable x is converted to integer
Find the output of the following code:
u = 2
v = 10
q = u**v
r = 2**10
if q == r:
print(3**3)
else:
print(2**3)
What is the output of the following Python code?
print('xyyxyyxyxyxxy'.replace('xy', '12', 100))
What will be the output of the following Python code snippet?
for i in [1, 2, 3, 4][::-1]:
print (i)
What will be the output of the following Python code snippet?
print([i+j for i in "abc" for j in "def"])