1. State a function of an encoder (2 marks)
The function of encoder is to convert the input data either in number or symbol (for example decimal number) to code (such as BCD code) before the data is/are processed by the computer.
2. State a function of a decoder (2 marks)
The function of decoder is to convert the code (such as BCD code)) to output data either in number or symbol (for example decimal number, after the data is/are processed by the computer.
3. Built the 8 to 1 multiplex. Your answer must have:
a) Block Diagram
(2 marks)
b) Truth Table
selector lines
|
Output
| ||
S2
|
S1
|
S0
|
(Y)
|
0
|
0
|
0
|
Y = D0
|
0
|
0
|
1
|
Y = D1
|
0
|
1
|
0
|
Y = D2
|
0
|
1
|
1
|
Y = D3
|
1
|
0
|
0
|
Y = D4
|
1
|
0
|
1
|
Y = D5
|
1
|
1
|
0
|
Y = D6
|
1
|
1
|
1
|
Y = D7
|
(2 marks)
c) The circuit diagram and its Booleans (2 marks)
No comments:
Post a Comment