document.write( "Question 1190972: 1. If A=11001011 and B=10101110 then, what is the value of following operations ( F in hex =1111)
\n" );
document.write( "a. A AND B
\n" );
document.write( "b. A OR B
\n" );
document.write( "c. A NOT
\n" );
document.write( "d. A XOR B
\n" );
document.write( "e. A AND 0F
\n" );
document.write( "f. A AND F0\r
\n" );
document.write( "\n" );
document.write( "Could you explain me this homework question step-by-step please? Thank you very much!
\n" );
document.write( " \n" );
document.write( "
Algebra.Com's Answer #822723 by Alan3354(69443)![]() ![]() You can put this solution on YOUR website! 1. If A=11001011 and B=10101110 then, what is the value of following operations ( F in hex =1111) \n" ); document.write( "a. A AND B \n" ); document.write( " \r\n" ); document.write( "11001011 = CB\r\n" ); document.write( "10101110 = AE\r\n" ); document.write( "-----------------\r\n" ); document.write( "10001010 = 8A\r\n" ); document.write( "Both bits must be 1, or it's a zero.\r\n" ); document.write( "==========================\r\n" ); document.write( "b. A OR B\r\n" ); document.write( "11001011\r\n" ); document.write( "10101110\r\n" ); document.write( "------------\r\n" ); document.write( "11101111 = CF\r\n" ); document.write( "It either bit is a 1, the result is a 1.\r\n" ); document.write( "======================\r\n" ); document.write( "c. A NOT\r\n" ); document.write( "11001011\r\n" ); document.write( "00110100 = 34\r\n" ); document.write( "1 --> gives, 0 gives 1\r\n" ); document.write( "===========================\r\n" ); document.write( "d. A XOR B\r\n" ); document.write( "11001011\r\n" ); document.write( "10101110\r\n" ); document.write( "---\r\n" ); document.write( "01100101 = 65\r\n" ); document.write( "If the bits are different, it's a 1.\r\n" ); document.write( "====================================\r\n" ); document.write( "e. A AND 0F\r\n" ); document.write( "0000 1011 = 0B\r\n" ); document.write( "The 1st 4 bits of A are zeroes, the last 4 are not changed.\r\n" ); document.write( "======================\r\n" ); document.write( "f. A AND F0\r\n" ); document.write( "1100 0000 = C0\r\n" ); document.write( "The last 4 bits of A are zeroes, the first 4 are not changed.\r\n" ); document.write( "\n" ); document.write( " |