Tip: Choose Save as PDF in the print dialog to download. Use A4 paper size.
Shade in the A or B circle for each question.
Draw a line connecting each item on the left to its match on the right.
| Left column | Right column | |
|---|---|---|
| 1half-duplex | AData can travel in both directions, but only one direction at a time, so devices take turns | |
| 2walkie-talkie | BA half-duplex example: one person speaks while the other listens, then they swap | |
| 3Half-duplex lets two devices send data both ways, but never at the same moment | Cif channel_busy: wait() | |
| 4In half-duplex, a device must wait for its turn before it can send | DThis describes full-duplex, not half-duplex. In half-duplex, data goes both ways but only one direction at a time. | |
| 5Half-duplex: A <-> B at the same time | EThis describes simplex, not half-duplex. Half-duplex can send in both directions, just not at once. | |
| 6Half-duplex: A -> B only, never B -> A | FA -> B, then B -> A (one at a time) |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
half-duplex — Data can travel in both directions, but only one direction at a time, so devices take turns, like a walkie-talkie.mode ← "half-duplex"maxSenders ← 1IF channelBusy THEN
WAIT
ENDIFIF mode = "half-duplex" THEN
takeTurns()
ENDIFIF channelFree THEN SEND(data)
ELSE WAIT
ENDIF