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 | |
|---|---|---|
| 1client-server | AA communication model where dedicated servers provide data and services, and client devices request them | |
| 2peer-to-peer | BA communication model where every device can both request and provide data, with no dedicated server | |
| 3Centralised model: one dedicated server stores the files and manages user accounts, so it is easier to manage and back up | Cmodel = "peer-to-peer" | |
| 4Distributed model: each device shares its own files directly with others, so there is no single point of failure but security is harder to control | DPeer-to-peer does not need a dedicated server. Each device acts as both client and server and shares directly with other peers. | |
| 5A peer-to-peer network needs a dedicated server to share files between devices | Emodel = "client-server" | |
| 6If the web server in a client-server network fails, the other clients keep providing the web pages | FClients do not provide the web pages, the server does. If the single server fails, the service is lost, which is a reliability weakness of client-server. |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
communication model — How devices share the work of requesting and providing data: client-server uses dedicated servers, while peer-to-peer lets every device do both.client.request("page.html", webServer)peer.canRequest ← TRUE
peer.canProvide ← TRUEIF model = "client-server" THEN
store(files, server)
ELSE store(files, allPeers)IF server.online = FALSE THEN
clients.canAccess ← FALSEFOR EACH peer IN network
peer.share("notes.pdf")