Consider the following circuit that takes a 4?bit binary input and encodes it. Construct a truth table for the 16 inputs 0000 to 1111 and examine the output code. What is the characteristic feature of this code?
What will be an ideal response?
The output code is called a Gray code and is an unweighted binary code; that is, the bit positions do not have the binary weight 1,2,4,8. The important feature of this code is that two successive values (including from 15 to 0) differ in only one bit position, unlike natural binary where 7 (0111) and 8 (1000) differ in all four bit positions. This code is used when data always monotonically increases or decreases (i.e., numbers step through all values in sequence). Because only one bit changes at a time, there can never be any confusion between two consecutive numbers. In weighted codes where two bits may change so that 0011 (3) goes to 0100 (4) the sequence may change 0011 to 0000 to 0100 with the intermediate 0000 value being an error or glitch.
You might also like to view...
In OpenOffice Base, the Object pane allows a user to navigate all objects within a database
Indicate whether the statement is true or false
You cannot create custom calculations in a PivotTable
Indicate whether the statement is true or false
A ________ in Excel is a recording of keystrokes and mouse clicks performed to complete a task
A) macro B) callout C) sparkline D) hyperlink
When tables are listed in the FROM clause, you can give each table a(n) ____________________, or an alternate name.
Fill in the blank(s) with the appropriate word(s).