{"base":{"id":"cs10-15","subject":"Networks","title":"Packets and transmission","scene":"mix","steps":[{"use":"net9","mode":"packets","eyebrow":"Packet switching","title":"Split, send, rebuild","body":"Large files are split into small packets. Each packet can take a different route and they are put back in order at the other end. Send a message and watch.","actions":[{"id":"send","label":"Send the message"}]},{"use":"sys10","mode":"serial","eyebrow":"Serial and parallel","title":"One wire or many?","body":"Serial transmission sends bits one at a time on one wire; parallel sends several bits at once on several wires. Compare the two.","actions":[{"id":"ser","label":"Serial"},{"id":"par","label":"Parallel"}]},{"use":"sys10","mode":"duplex","eyebrow":"Direction of data","title":"Simplex, half-duplex, full-duplex","body":"Data can travel one way only, both ways but one at a time, or both ways at once. Tap each and think of a real example.","actions":[{"id":"x0","label":"Simplex"},{"id":"x1","label":"Half-duplex"},{"id":"x2","label":"Full-duplex"}]},{"use":"network","mode":"copper","eyebrow":"Copper cable","title":"Data as electricity","body":"Copper cables carry data as electrical pulses. Over long distances the signal weakens and picks up interference. Make the cable longer.","controls":[{"id":"length","label":"Cable length","min":10,"max":200,"step":10,"value":50,"unit":"m"}],"actions":[{"id":"motor","label":"Switch on a motor nearby"}]},{"use":"net9","mode":"quiz","look":"packets","eyebrow":"Check yourself","title":"Why packets?","body":"A video file is sent across the internet as thousands of packets.","question":"What is in each packet's header?","options":["The whole video file","The destination address and packet number","Only the sender's password"],"answer":1,"right":"Correct. The header holds addresses and the packet number so it can be routed and reassembled.","wrong":"Not quite. What does a router need to forward it, and the receiver to rebuild the file?"}],"more":[{"type":"cards","id":"worked","eyebrow":"Worked examples","title":"Step by step","items":[{"tag":"Packet switching","title":"Steps","body":"1. file split into packets, each numbered\n2. each sent separately, routers choose a route\n3. packets may arrive out of order\n4. receiver reorders them using the numbers\n5. missing packets are requested again","code":true},{"tag":"Choose","title":"Long cable to a printer in another room","body":"serial: fewer wires, no skew over distance","code":true}]},{"type":"cards","id":"detail","eyebrow":"The ideas in detail","title":"The ideas in detail","items":[{"tag":"Header","title":"Where and which","body":"Source IP address, destination IP address, packet number, and how many packets in total."},{"tag":"Payload","title":"The data","body":"A small chunk of the actual file."},{"tag":"Trailer","title":"Checking","body":"Marks the end of the packet and may contain error-checking data."},{"tag":"USB","title":"Universal Serial Bus","body":"A serial connection standard. Devices are detected automatically, can be powered through the cable, and plugs only fit one way (or both ways for USB-C)."}]},{"type":"cards","id":"mistakes","eyebrow":"Common mistakes","title":"Watch out for these","items":[{"tag":"Mistake","title":"\"All packets take the same route\"","body":"Each packet can take a different route depending on traffic."},{"tag":"Mistake","title":"\"Parallel is always faster\"","body":"Over long distances parallel bits arrive out of step (skew), so serial is often better."},{"tag":"Mistake","title":"Mixing half- and full-duplex","body":"Half: both ways, but one at a time. Full: both ways at once."},{"tag":"Mistake","title":"\"Packets arrive in order\"","body":"They often don't; the receiver puts them back in order."}]},{"type":"cards","id":"deeper","eyebrow":"Go deeper","title":"More than the lesson","items":[{"tag":"Real world","title":"Why video calls freeze","body":"If packets arrive late or get lost, a video call can't wait, so you see a freeze or glitch rather than a delay."},{"tag":"History","title":"Designed to survive","body":"Packet switching was developed in the 1960s so a network would keep working even if some links were destroyed; packets simply find another route."},{"tag":"Careers","title":"Who works with networks?","body":"Network engineers, cable installers, telecoms engineers and cybersecurity analysts."},{"tag":"Coming next","title":"Where this leads","body":"Next: how errors in transmitted data are detected and how data is kept secret with encryption."}]},{"type":"cards","id":"challenge","eyebrow":"Challenge yourself","title":"Stretch your brain","intro":"Try each one on paper before opening the card.","items":[{"tag":"Challenge","title":"A 6 MB file is sent in packets of 1500 bytes. Roughly how many packets?","body":"6 MB ≈ 6 000 000 bytes (or 6 291 456 using 1024s)\n÷ 1500 ≈ 4000 to 4200 packets","code":true},{"tag":"Challenge","title":"Why does USB use serial transmission even though it is short?","body":"Serial needs fewer wires, so cables are thin and cheap, connectors are small, and there's no skew. Modern serial links are fast enough."}]},{"type":"activities","id":"try","eyebrow":"Try it at home","title":"Try it yourself","items":[{"title":"Packet postcards","time":"20 minutes","need":["Postcards or paper","Friends"],"steps":["Write a sentence, one word per card, and number them.","Add \"to\" and \"from\" names.","Shuffle and pass them by different routes around the room.","The receiver rebuilds the sentence using the numbers."],"why":"Numbering lets the receiver rebuild the message even when packets arrive out of order.","safety":"No safety risks."},{"title":"Cable spotting","time":"10 minutes","need":["Cables at home"],"steps":["Find USB, Ethernet and HDMI cables.","Look at the connectors.","Which carry data, which carry power, which both?","Which is serial?"],"why":"USB and Ethernet are serial; many carry power as well as data.","safety":"Don't unplug anything that is in use."}]},{"type":"quiz","id":"quiz","eyebrow":"Quiz","title":"Eight more questions","questions":[{"question":"What happens to a large file sent across the internet?","options":["It is sent as one block","It is printed","It is split into packets"],"answer":2,"right":"Correct.","wrong":"Not quite."},{"question":"Which part of a packet holds the destination address?","options":["Header","Payload","Trailer"],"answer":0,"right":"Correct.","wrong":"Not quite."},{"question":"Serial transmission sends bits…","options":["eight at once","one at a time","by post"],"answer":1,"right":"Correct.","wrong":"Not quite."},{"question":"A walkie-talkie is…","options":["simplex","full-duplex","half-duplex"],"answer":2,"right":"Correct.","wrong":"Not quite."},{"question":"A TV broadcast is…","options":["simplex","half-duplex","full-duplex"],"answer":0,"right":"Correct.","wrong":"Not quite."},{"question":"Skew is a problem in…","options":["serial transmission","parallel transmission over long distances","wireless only"],"answer":1,"right":"Correct.","wrong":"Not quite."},{"question":"How does the receiver put packets back in order?","options":["By guessing","By size","Using packet numbers"],"answer":2,"right":"Correct.","wrong":"Not quite."},{"question":"USB stands for…","options":["Universal Serial Bus","Unified System Board","Ultra Speed Bit"],"answer":0,"right":"Correct.","wrong":"Not quite."}]},{"type":"checklist","id":"check","eyebrow":"Self-check","title":"I can…","items":["describe the structure of a packet","explain packet switching","explain why packets may arrive out of order","compare serial and parallel transmission","explain simplex, half-duplex and full-duplex with examples","explain why USB is popular","describe how signals weaken over copper cables","choose a transmission method for a scenario"]},{"type":"keywords","id":"words","eyebrow":"Key words","title":"Words to know","items":[{"word":"packet","meaning":"A small unit of data sent across a network."},{"word":"header","meaning":"Part of a packet with addresses and packet number."},{"word":"payload","meaning":"The data inside a packet."},{"word":"packet switching","meaning":"Sending packets separately by any route."},{"word":"router","meaning":"A device that forwards packets between networks."},{"word":"serial","meaning":"Bits sent one at a time on one wire."},{"word":"parallel","meaning":"Several bits sent at once on several wires."},{"word":"simplex","meaning":"One direction only."},{"word":"half-duplex","meaning":"Both directions, one at a time."},{"word":"full-duplex","meaning":"Both directions at once."}]},{"type":"sources","id":"sources","title":"Sources","items":["BBC Bitesize, GCSE Computer Science: Data transmission","Isaac Computer Science: Packet switching","Internet Society: A brief history of the internet","USB Implementers Forum: USB overview"]}]},"overlay":null}