Skip to content

Check: Boundary and framing choices

Knowledge check · self-test

Check: Boundary and framing choices

Work through the practice prompts first, then answer the checks on this page.

Back to the chapter →

Work through the practice prompts first, then answer the checks on this page.

Incremental Practice

Beginner

For uniform fixed-size sensor records, argue in one sentence why fixed-length framing is the simplest choice.

Intermediate

For a length-prefixed binary protocol, write the rule that prevents a corrupt length from allocating an unreasonable buffer.

Advanced

Design a fragmentation header that lets a receiver detect both a missing middle fragment and a duplicate fragment.

Back to Packet Framing: Choose and Implement a Framing Scheme