Write the 7-bit ASCII code for the character 4 using the following encoding: c. Manchester Code d. Frequency modulation e. Modified frequency modulation
Hint: assume 1 is “high,” and 0 is “low.” You may find the ASCII code of “4” using Excel.
| Part | Detail |
|---|---|
| Asks | Find the 7 ASCII bits of “4”, then draw the signal for those bits in three recording codes. |
| Needs | ASCII digit: . Manchester, FM and MFM rules. |
| Look at | “7-bit” (no parity bit), the character 4 (not the number), “1 is high, 0 is low”. |
| If it changes | Only the bit string changes; every rule stays. Another character: look up its hex code first. |
Show solution ↓Hide solution ↑
How to solve
- Get the bits: . Put the 7 bits above 7 empty cells.
- Manchester: 1 = low to high mid-cell, 0 = high to low; add a boundary flip between equal neighbours.
- FM: flip at every cell boundary (clock) and mid-cell for each 1.
- MFM: flip mid-cell for each 1; boundary flip only between two 0s.
| Cell | 1 | 2 | 3 | 4 | 5 | 6 | 7 |
|---|---|---|---|---|---|---|---|
| Bit | |||||||
| Manchester | |||||||
| FM | |||||||
| MFM |
Sample answer
The digit “4” is , so the 7 bits are 0 1 1 0 1 0 0.
c. Manchester (7 mid-cell plus 2 boundary flips between equal neighbours, cells 2-3 and 6-7 = 9 transitions):
d. FM, starting low (3 data flips plus 7 clock flips = 10 transitions):
e. MFM, starting low (3 mid-cell flips plus 1 boundary flip between the 0s in cells 6-7 = 4 transitions):
Level in the first and second half of each cell:
| Cell | 1 | 2 | 3 | 4 | 5 | 6 | 7 |
|---|---|---|---|---|---|---|---|
| Bit | 0 | 1 | 1 | 0 | 1 | 0 | 0 |
| Manchester | HL | LH | LH | HL | LH | HL | HL |
| FM | LL | HL | HL | HH | LH | LL | HH |
| MFM | LL | LH | HL | LL | LH | HH | LL |
| Code | Manchester | FM | MFM |
|---|---|---|---|
| Transitions | 9 | 10 | 4 |
Watch out: “4” is ASCII
011 0100, not binary 100. In Manchester add the boundary flips between equal neighbours (cells 2-3, 6-7). In MFM, cells 1 and 4 are single 0s next to 1s, so they get no boundary flip.