Recover an XOR of two unknowns

Three registers hold unknown integers xx, yy, zz. You are told only that xy=6x \oplus y = 6 and xz=10x \oplus z = 10 (all bitwise XOR, \oplus). What is yzy \oplus z?

Show hints (2)+
  1. You can't recover xx from two equations in three unknowns - and you don't need to.
  2. (xy)(xz)=yz(x\oplus y)\oplus(x\oplus z) = y\oplus z since xx cancels; compute 6106\oplus 10 in binary.

Answer

Reveal answer →

12

Want the full step-by-step worked solution? It's part of Premium - along with a worked solution for every question in the bank.

Asked at: Mixed Quant & Coding, Data-Driven Research

Related questions