{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Quiz 3 Solution

# A b c or1 and1 or1 f1 f2 f3 0 0 0 0 1 1 1 1 0 0 1 1 0

This preview shows page 1. Sign up to view the full content.

This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: inputs (a, c). A B C OR1 AND1 OR1 F1 F2 F3 0 0 0 0 1 1 1 1 0 0 1 1 0 0 1 1 0 1 0 1 0 1 0 1 0 0 1 1 1 1 1 1 0 0 0 1 0 0 0 1 0 1 0 1 1 1 1 1 0 0 0 1 0 0 0 1 0 1 0 0 1 1 1 0 0 1 0 0 0 0 0 0 Even Odd parity parity 0 1 0 1 0 1 1 0 1 0 1 0 1 0 1 0 The even parity bit is generated as follows: for a given input set, count the number of 1s that appear in the output. If that number is odd, set the parity bit to 1 so that the total number of 1s in the output and parity bit is even. Else, set it to 0. Example: For (a,b,c) = (1,0,0), the corresponding outputs (f1,f2,f3) are (0,1 0); this output set contains a single 1 – in other words, an odd number of 1s....
View Full Document

{[ snackBarMessage ]}

Ask a homework question - tutors are online