adplus-dvertising
frame-decoration

Question

What is the value of this expression:

bin(10-2)+bin(12^4)

a.

0b10000

b.

0b10001000

c.

0b1000b1000

d.

0b10000b1000

Answer: (d).0b10000b1000

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What is the value of this expression: bin(10-2)+bin(12^4)
Jitendra Kumar : June 26, 2023

Solve these

Similar Questions

Discover Related MCQs

Q. 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.

Q. The result of the expression shown below is:

4^12

Q. Bitwise _________ gives 1 if either of the bits is 1 and 0 when both of the bits are 1.

Q. The one’s complement of 110010101 is:

Q. What is the result of the expression:

0x35 | 0x75

Q. What is the value of this expression?

bin(0x8)

Q. Which of the following represents the bitwise XOR operator?

Q. Which of the following expressions results in an error?

Q. What is the result of the expression if x=15 and y=12:

x & y

Q. To find the decimal value of 1111, that is 15, we can use the function:

Q. What is the value of the following expression:

float(22//3+3/3)

Q. What is the value of the following expression:

8/4/2, 8/(4/2)

Q. Which of the following is the truncation division operator?

Q. What is the value of the following expression?

2+4.00, 2**4.0

Q. What is the value of x if:

x = int(43.55+2/2)

Q. Which of the following operators has its associativity from right to left?

Q. Evaluate the expression given below if A= 16 and B = 15.

A % B // A

Q. Which one of the following have the highest precedence in the expression?

Q. The expression Int(x) implies that the variable x is converted to integer. State whether true or false.

Q. Which one of the following have the same precedence?