PadhaikoAll subjects

Past exam question: 2071 Shrawan, Q5(b)

Data Communication · 4 marks

Open in the Padhaiko app

Topic: Digital data, digital signal: RZ, NRZ, AMI, Manchester, differential…

Question

Encode the bitstream 10101111000011 using NRZ, RZ, AMI and Manchester coding.

Solution

Encoding Scheme Rules: Given bit sequence (length ):

Voltage levels: .

  1. NRZ-L (Non-Return-to-Zero Level): Bit 1 is , Bit 0 is .
  2. RZ (Return-to-Zero): Bit 1 is for first half and for second half. Bit 0 is for the entire bit interval.
  3. AMI (Alternate Mark Inversion): Bit 0 is . Bit 1 alternates between and .
  4. Manchester (IEEE 802.3): Bit 0 is Low-to-High (). Bit 1 is High-to-Low ().

Step-by-Step Level Assignment Table:

IndexBitNRZ-L (1=, 0=)RZ (1st, 2nd half)AMI LevelManchester (1st, 2nd half)
11
20
31
40
51
61
71
81
90
100
110
120
131
141

Waveform Diagrams:

Bit:        | 1 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 |
-------------------------------------------------------------------------
NRZ-L:      |   |---|   |---|   |   |   |   |---|---|---|---|   |   |
            |---|   |---|   |---|---|---|---|   |   |   |   |---|---|

RZ:         |+- |   |+- |   |+- |+- |+- |+- |   |   |   |   |+- |+- |
            | +-|---| +-|---| +-| +-| +-| +-|---|---|---|---| +-| +-|

AMI:        |---|   |   |   |---|   |---|   |   |   |   |   |---|   |
            |   |---|   |---|   |   |   |   |---|---|---|---|   |   |
            |   |   |---|   |   |---|   |---|   |   |   |   |   |---|

Manchester: |+- |-+ |+- |-+ |+- |+- |+- |+- |-+ |-+ |-+ |-+ |+- |+- |
Answer:

For bitstream 10101111000011:

All past exam questions for Data Communication