Gray code equivalent to decimal number 8 is:
Pick an option to check yourself, or open the answer below.
Show answer & explanation
Correct answer: B. 1100
Explanation
8 = 1000 in binary. Gray code: keep the MSB (1), then XOR adjacent bits: 1⊕0 = 1, 0⊕0 = 0, 0⊕0 = 0 → 1100.More Computer System Architecture questions
- The write operation in an I/O operation does the following
- Which of the following gates do NOT give output 1 when both the inputs are 0? A. NAND gate B. NOR gate C. X-OR gate D. X-NOR gate Choose th…
- The computer needs to process each instruction with the following sequence of steps: A. Calculate the effective address B. Fetch the instru…
- Which of the following statements are true? A. In the write-through policy, only the cache is updated B. In the write-back policy, both cac…
- The right sequence of a CPU program to input data will be: A. Read status register B. Check flag bit C. Read data register D. Transfer data…
- The right sequence of suboperations that are performed in an arithmetic pipeline (floating-point addition) is A. Align the mantissas B. Add…