ArticleslgStudy

science

Stop-and-wait ARQ

Stop-and-wait ARQ is a science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Stop-and-wait ARQ rather than just read about it. In short: Stop-and-wait ARQ, also referred to as alternating bit protocol, is a method in telecommunications to send information between two connected devices. It ensures that information is not lost due to dropped packets and that packets are received in the correct order.

Stop-and-wait ARQ — main illustration
Stop-and-wait ARQ — illustration

Key takeaways

  • Stop-and-wait ARQ belongs to science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Stop-and-wait ARQ to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Stop-and-wait ARQ from memory before moving on to harder problems.

Reference excerpt

Stop-and-wait ARQ, also referred to as alternating bit protocol, is a method in telecommunications to send information between two connected devices. It ensures that information is not lost due to dropped packets and that packets are received in the correct order. It is the simplest automatic repeat-request (ARQ) mechanism. A stop-and-wait ARQ sender sends one frame at a time; it is a special case of the general sliding window protocol with transmit and receive window sizes equal to one in both cases. After sending each frame, the sender does not send any further frames until it receives an acknowledgement (ACK) signal. After receiving a valid frame, the receiver sends an ACK. If the ACK does not reach the sender before a certain time, known as the timeout, the sender sends the same frame again. The timeout countdown is reset after each frame transmission. The above behavior is a basic example of Stop-and-Wait. However, real-life implementations vary to address certain issues of design. Typically, the transmitter adds a redundancy check number to the end of each frame. The receiver uses the redundancy check number to check for possible damage. If the receiver sees that the frame is good, it sends an ACK. If the receiver sees that the frame is damaged, the receiver discards it and does not send an ACK—pretending that the frame was completely lost, not merely damaged. One problem is when the ACK sent by the receiver is damaged or lost. In this case, the sender does not receive the ACK, times out, and sends the frame again. Now the receiver has two copies of the same frame, and does not know if the second one is a duplicate frame or the next frame of the sequence carrying identical DATA. Another problem is when the transmission medium has such a long latency that the sender's timeout runs out before the frame reaches the receiver. In this case, the sender resends the same packet. Eventually, the receiver gets two copies of the same frame and sends an ACK for each one. The sender, waiting for a single ACK, receives two ACKs, which may cause problems if it assumes that the second ACK is for the next frame in the sequence. To avoid these problems, the most common solution is to define a 1 bit sequence number in the header of the frame. This sequence number alternates (from 0 to 1) in subsequent frames. When the receiver sends an ACK, it includes the sequence number of the next packet it expects. This way, the receiver can detect duplicated frames by checking if the frame sequence numbers alternate. If two subsequent frames have the same sequence number, they are duplicates, and the second frame is discarded. Similarly, if two subsequent ACKs reference the same sequence number, they are acknowledging the same frame. Stop-and-wait ARQ is inefficient compared to other ARQs, because the time between packets, if the ACK and the data are received successfully, is twice the transit time (assuming the turnaround time can be zero). The throughput on the channel is a fraction of what it could be. To solve this problem, one can send more than one packet at a time with a larger sequence number and use one ACK for a set. This is what is done in Go-Back-N ARQ and the Selective Repeat ARQ.

See also Communication protocol Data link layer Error detection and correction

References Tanenbaum, Andrew S., Computer Networks, 4th ed. ISBN 0-13-066102-3

Illustrations

Stop-and-wait ARQ: A diagram of the Stop-and-Wait ARQ protocol and its operation in various cases.
A diagram of the Stop-and-Wait ARQ protocol and its operation in various cases.

Worked examples

Example 1 — a first encounter with Stop-and-wait ARQ

Start with the simplest possible case. Write down what Stop-and-wait ARQ claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Stop-and-wait ARQ before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Stop-and-wait ARQ ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Stop-and-wait ARQ

In research
Stop-and-wait ARQ appears in science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Stop-and-wait ARQ in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Stop-and-wait ARQ is common in secondary-school and first-year university syllabi. It links to neighbouring topics Error detection and correction, Logical link control, so understanding it makes those chapters shorter.
In everyday life
Look for Stop-and-wait ARQ outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Stop-and-wait ARQ” →

Affiliate

Preply — study more efficiently by working with a personal tutor. 50% off.

How to study Stop-and-wait ARQ in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Stop-and-wait ARQ means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Stop-and-wait ARQ out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Stop-and-wait ARQ in simple terms?

Stop-and-wait ARQ, also referred to as alternating bit protocol, is a method in telecommunications to send information between two connected devices. It ensures that information is not lost due to dropped packets and that packets are received in the correct order.

Why does Stop-and-wait ARQ matter?

Because it connects several science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Stop-and-wait ARQ?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Stop-and-wait ARQ.

Tags

  • Error detection and correction
  • Logical link control

Keep exploring