Sail E0 Webinar
Question
What is the value of this expression: bin(10-2)+bin(12^4)
Options:
A .  0b10000
B .  0b10001000
C .  0b1000b1000
D .  0b10000b1000
Answer: Option D


The output of bin(10-2)= 0b1000 and that of bin(12^4) is ob1000. Hence the output of the above expression is: 0b10000b1000.



Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers