Skip to content

Commit c4043d6

Browse files
Intergalactic Transmission - Fix typos (#2572)
* Fix typos * Update exercises/intergalactic-transmission/instructions.md Co-authored-by: András B Nagy <[email protected]> * Update exercises/intergalactic-transmission/instructions.md --------- Co-authored-by: András B Nagy <[email protected]>
1 parent dc6ae9c commit c4043d6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

exercises/intergalactic-transmission/instructions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Your job is to help implement
77

88
A parity bit is simple way of detecting transmission errors.
99
The transmitters and receivers can only transmit and receive _exactly_ eight bits at a time (including the parity bit).
10-
The parity bit is set so that there is an _even_ number 1s in each transmission and is always the first bit from the right.
10+
The parity bit is set so that there is an _even_ number of 1 bits in each transmission, and the parity bit is always the first bit from the right.
1111
So if the receiver receives `11000001`, `01110101` or `01000000` (i.e. a transmission with an odd number of 1 bits), it knows there is an error.
1212

1313
However, messages are rarely this short, and need to be transmitted in a sequence when they are longer.
@@ -40,7 +40,7 @@ Their parity bits are set to 1 so that they have an even number of 1 bits in the
4040
They are transmitted as `01110001` and `00011011` (or `71` and `1B` in hex).
4141

4242
The last transmission (`1110`) has only four bits of data.
43-
Since exactly eight bits are transmitted at a time and the parity bit is the right most bit, three 0 bits and then the parity bit are added to make up eight bits.
43+
Since exactly eight bits are transmitted at a time and the parity bit is the rightmost bit, three 0 bits and then the parity bit are added to make up eight bits.
4444
It now looks like this (where `_` is the parity bit):
4545

4646
```text

0 commit comments

Comments
 (0)