Logic circuits

When an even parity bit is added to the 7-bit data 1011001, what is the parity bit?

  1. A1
  2. B0
  3. CAlways 1 regardless of the data
Show answer and explanation

Answer: B. 0

Even parity sets the parity bit so the total number of 1s, including it, is even. 1011001 already has four 1s, so the parity bit is 0. If the receiver counts an odd number of 1s, a single-bit error is detected, but two simultaneous errors go unnoticed and the faulty bit cannot be located. Memories that need correction use ECC such as Hamming codes, which combine multiple parity bits.

Related calculators

Books on Logic circuits Ad

Learn hands-on: parts and kits

Building real circuits is a good way to check what you learned in the questions.

As an Amazon Associate I earn from qualifying purchases.

More Logic circuits questions

  1. When is the output of a two-input NOR gate 1?
  2. What is the simplified result of the expression A + A·B?
  3. What is an advantage of a synchronous circuit, in which all flip-flops operate on a common clock?
  4. In a synchronous circuit, what determines the maximum clock frequency at which it can operate?
  5. In a combinational circuit, what is the unwanted pulse that appears briefly at the output when an input changes, due to different delays along different paths?

Comparisons in this topic