I am having a time with these problems:
X=1100110000110 011
Y=0000111100001 010
1) what would I get in binary representation for X<<5?
2) what is the two's complement of negative Y (-Y)?
3) If X is an int variable, what do we know about the value of X&X?
a. It is always equal to X.
b. It is always greater than 1.
c. It is always equal to zero.
d. It is always equal to 1.
X=1100110000110 011
Y=0000111100001 010
1) what would I get in binary representation for X<<5?
2) what is the two's complement of negative Y (-Y)?
3) If X is an int variable, what do we know about the value of X&X?
a. It is always equal to X.
b. It is always greater than 1.
c. It is always equal to zero.
d. It is always equal to 1.
Comment