is this right? given: x= 1.0.1.0.1.1.1.0 y= 0.0.1.1.0.1.1.1 i just put the (.) i
ID: 3608711 • Letter: I
Question
is this right?given:
x= 1.0.1.0.1.1.1.0 y= 0.0.1.1.0.1.1.1
i just put the (.) in so it is easier to read. so ignore it,doesn't mean anything.
compute for:
x or y
x and y
x xor y
let me know if i did it right? would x or y= 10111111 would x and y= 00100110 would x xor y= 10011001
please let me know. i want to make sure i did it completelyright. it just seems really easy, so i just want to make sure that itis correct. thanks! is this right?
given:
x= 1.0.1.0.1.1.1.0 y= 0.0.1.1.0.1.1.1
i just put the (.) in so it is easier to read. so ignore it,doesn't mean anything.
compute for:
x or y
x and y
x xor y
let me know if i did it right? would x or y= 10111111 would x and y= 00100110 would x xor y= 10011001
please let me know. i want to make sure i did it completelyright. it just seems really easy, so i just want to make sure that itis correct. thanks!
Explanation / Answer
I have checked your work and you did it perfectly. Indeed, your answer for "or" should have a 1 where x or y, or bothx and y have a 1. Your answer for "and" should have a 1 where both x and y have a1 And your answer for "xor" should have a 1 where x or y have 1 (but not where neither or both do). Well done
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.