SOLUTION: 1. If A=11001011 and B=10101110 then, what is the value of following operations ( F in hex =1111) a. A AND B b. A OR B c. A NOT d. A XOR B e. A AND 0F f. A AND F0 Coul

Algebra ->  Logarithm Solvers, Trainers and Word Problems -> SOLUTION: 1. If A=11001011 and B=10101110 then, what is the value of following operations ( F in hex =1111) a. A AND B b. A OR B c. A NOT d. A XOR B e. A AND 0F f. A AND F0 Coul      Log On


   



Question 1190972: 1. If A=11001011 and B=10101110 then, what is the value of following operations ( F in hex =1111)
a. A AND B
b. A OR B
c. A NOT
d. A XOR B
e. A AND 0F
f. A AND F0
Could you explain me this homework question step-by-step please? Thank you very much!

Answer by Alan3354(69443) About Me  (Show Source):
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)
a. A AND B
11001011 = CB
10101110 = AE
-----------------
10001010 = 8A
Both bits must be 1, or it's a zero.
==========================
b. A OR B
11001011
10101110
------------
11101111 = CF
It either bit is a 1, the result is a 1.
======================
c. A NOT
11001011
00110100 = 34
1 --> gives, 0 gives 1
===========================
d. A XOR B
11001011
10101110
---
01100101 = 65
If the bits are different, it's a 1.
====================================
e. A AND  0F
0000 1011 = 0B
The 1st 4 bits of A are zeroes, the last 4 are not changed.
======================
f. A AND F0
1100 0000 = C0
The last 4 bits of A are zeroes, the first 4 are not changed.