{"base":{"id":"cs9-24","subject":"Networks","title":"Protocols: TCP/IP and HTTP","scene":"net9","steps":[{"mode":"request","eyebrow":"Loading a web page","title":"Follow the request","body":"When you open a web page, several protocols work together. Step through the journey from your browser to the server and back.","actions":[{"id":"step","label":"Follow the next stage"},{"id":"reset","label":"Start again"}]},{"mode":"packets","eyebrow":"Packets","title":"Split, send, rebuild","body":"TCP splits data into numbered packets. Each one may take a different route through the routers and arrive out of order. Press Send and watch.","actions":[{"id":"send","label":"Send"}]},{"mode":"layers","eyebrow":"Who does what?","title":"HTTP, TCP and IP","body":"Each protocol has its own job. Look at what HTTP, TCP and IP each add.","actions":[{"id":"l0","label":"HTTP"},{"id":"l1","label":"TCP"},{"id":"l2","label":"IP"}]},{"mode":"quiz","eyebrow":"Check yourself","title":"Which protocol?","body":"Packets arrive in the order 3, 1, 4, 2.","question":"Which protocol puts them back in order?","options":["HTTP","TCP","IP"],"answer":1,"right":"Correct. TCP numbers the packets and reassembles them, asking again for any that are missing.","wrong":"Not quite. Which protocol numbers the packets?","look":"packets"}],"more":[{"type":"cards","id":"ideas","eyebrow":"Popular idea vs science","title":"Common mix-ups","items":[{"tag":"Popular idea","title":"\"A web page travels as one big piece.\"","body":"It is split into many small packets."},{"tag":"Popular idea","title":"\"All packets follow the same route.\"","body":"Routers may send them different ways; they can arrive out of order."},{"tag":"Popular idea","title":"\"HTTP delivers the packets.\"","body":"HTTP is about requests and responses; TCP and IP handle delivery."}]},{"type":"cards","id":"code","eyebrow":"Messages","title":"A request and a response","items":[{"tag":"Request","title":"Browser → server","body":"GET /index.html HTTP/1.1\nHost: www.example.com","code":true},{"tag":"Response","title":"Server → browser","body":"HTTP/1.1 200 OK\nContent-Type: text/html\n\n<html>…</html>","code":true}]},{"type":"activities","id":"try","eyebrow":"Try it at home","title":"Postcard puzzle","items":[{"title":"Packets by post","time":"20 minutes","need":["Paper","A pen","A partner"],"steps":["Write a short message and cut it into 6 strips.","Number each strip and write 'From' and 'To' on it.","Shuffle them and give them to your partner.","Your partner rebuilds the message using the numbers. Remove one strip: how does your partner know it's missing?"],"why":"Numbering and addressing pieces is what TCP and IP do with packets.","safety":"Take care with scissors."}]},{"type":"quiz","id":"quiz","eyebrow":"Quiz","title":"Six more questions","questions":[{"question":"What does HTTP stand for?","options":["High Transfer Text Process","Home Text Protocol","HyperText Transfer Protocol"],"answer":2,"right":"Correct. It's the web's protocol.","wrong":"Not quite. Hyper…"},{"question":"Which protocol gives devices addresses?","options":["IP","HTTP","TCP"],"answer":0,"right":"Correct. IP addresses.","wrong":"Not quite. Internet Protocol."},{"question":"Why is data split into packets?","options":["To make it bigger","Pieces can travel separately and lost ones be resent","To hide it"],"answer":1,"right":"Correct. Efficient and reliable.","wrong":"Not quite. What if one piece is lost?"},{"question":"What is a protocol?","options":["A type of cable","A set of rules for communication","A website"],"answer":1,"right":"Correct. Agreed rules.","wrong":"Not quite. Rules."},{"question":"HTTPS is HTTP plus…","options":["faster cables","pictures","encryption"],"answer":2,"right":"Correct. S means secure.","wrong":"Not quite. What does the S add?"},{"question":"A packet is lost. What happens with TCP?","options":["It is requested again","The page loads without it","The computer restarts"],"answer":0,"right":"Correct. TCP checks delivery.","wrong":"Not quite. Reliable delivery."}]},{"type":"checklist","id":"check","eyebrow":"Self-check","title":"I can explain…","items":["what a protocol is","what HTTP does in a web request","how TCP splits and reassembles data","what IP addresses are for"]},{"type":"keywords","id":"words","eyebrow":"Key words","title":"Words to know","items":[{"word":"protocol","meaning":"A set of rules for sending data."},{"word":"packet","meaning":"A small piece of data sent across a network."},{"word":"TCP","meaning":"The protocol that splits data into packets and makes sure they all arrive."},{"word":"IP address","meaning":"A number that identifies a device on a network."},{"word":"HTTP","meaning":"The protocol for requesting and sending web pages."}]},{"type":"sources","id":"sources","title":"Sources","items":["BBC Bitesize KS3 Computer Science","Raspberry Pi Foundation, Computing curriculum resources"]}]},"overlay":null}