Cambridge IGCSE · 0478

Computer Science

Networks and the internet — Paper 1

Name: ____________________Date: November 19, 2026
  1. 1.

    In a star network topology, how are devices connected? A Each device connects to a central switch or hub B Devices connect in a single loop C All devices share one single cable D Every device connects directly to every other device

    [1 mark] · no calculator

    Course scope: Optional enrichment

    Worked explanation

    1. Select A: in a star, each end device has its own link to a central switch or hub.
    2. A single end-device link failure isolates that device; failure of the central device can disrupt the whole star. A loop is ring topology and a shared cable is bus, so neither matches.

    Common mistake: The central device remains a shared point of failure despite independent outer links.

    Marking points

    • Selects A: every device connects individually to a central switch or hub.

    Examiner tip: In a star topology, if one device's cable fails, only that device loses connection; the rest of the network is unaffected.

  2. 2.

    Which protocol is primarily responsible for ensuring data packets are transmitted reliably and reassembled in the correct order across a network? A HTTP B TCP C HTML D DNS

    [1 mark] · no calculator

    Course scope: Optional enrichment

    Worked explanation

    1. Select B, TCP. Sequence numbers let the receiver recognise ordering and missing byte ranges; acknowledgements and timeouts trigger retransmission when needed.
    2. If data for sequence ranges 1 and 3 arrive before 2, TCP can buffer later data until missing bytes arrive and present an ordered stream. IP routes packets; DNS resolves names; HTML describes page content.

    Common mistake: TCP supplies an ordered byte stream, not a guarantee that each individual network packet arrives once and in order.

    Marking points

    • Selects B: TCP uses sequence numbers, acknowledgements and retransmission to provide a reliable, ordered byte stream; its data travels in segments carried by IP packets.

    Examiner tip: TCP handles reliable delivery and ordering; IP handles addressing and routing of each packet.

  3. 3.

    Explain the purpose of DNS (Domain Name System) when a user types a website address into a browser.

    [2 marks] · no calculator

    Worked explanation

    1. The browser extracts the domain name from the URL and uses DNS, potentially via cached answers, to obtain an IP address for that name.
    2. It can then connect to an addressed server endpoint and request the web resource. DNS resolves the name; it does not itself download the page or determine whether the page content is trustworthy.

    Common mistake: Confusing a domain lookup with fetching HTML merges separate network operations.

    Marking points

    • Explains that DNS translates a human-readable domain name into its corresponding IP address.
    • Explains that the browser needs this IP address to locate and connect to the correct web server.

    Examiner tip: DNS works like a phone book, converting a memorable name into the numeric address computers actually use.

  4. 4.

    A website displays a padlock icon and uses 'https://' in its address. What does this indicate? A The site is free of malware B Data sent between the browser and server is encrypted C The site loads faster than others D The site does not use cookies

    [1 mark] · no calculator

    Worked explanation

    1. Select B: HTTPS uses a protected connection to encrypt traffic between browser and the contacted endpoint and protect its integrity.
    2. An observer on the link cannot simply read the protected page data, but a malicious site can also use HTTPS. The scheme therefore does not certify malware-free content, loading speed or absence of cookies.

    Common mistake: Encrypted communication with a dishonest site remains communication with a dishonest site.

    Marking points

    • Selects B: HTTPS encrypts data exchanged between the browser and the server.

    Examiner tip: HTTPS protects data in transit; it does not by itself guarantee the site's content is safe or malware-free.

  5. 5.

    Explain the difference between a computer virus and a worm, in terms of how each spreads.

    [2 marks] · no calculator

    Worked explanation

    1. A virus attaches its replication code to a host file or program; executing the infected host can trigger copying into other files.
    2. A worm is a standalone replicating program that can propagate between vulnerable networked systems without requiring a host file to be run. Both may carry harmful payloads; replication mechanism and payload are different properties.

    Common mistake: Stealing data does not by itself distinguish a virus from a worm.

    Marking points

    • Explains that a virus attaches itself to a host file or program and needs that file to be run or shared to spread.
    • Explains that a worm is standalone and can self-replicate and spread across a network without needing a host file or user action.

    Examiner tip: A virus needs a carrier and a user action; a worm actively spreads itself across connected systems.

  6. 6.

    Explain what a phishing attack is, and state one way a user can protect themselves against it.

    [2 marks] · no calculator

    Worked explanation

    1. A fake urgent account message impersonates a trusted organisation to persuade a user to submit credentials or follow a harmful link: phishing targets the person's trust.
    2. Verify through a separately known address or contact channel instead of the message's link. A display name or convincing logo can be copied, so checking only appearance is insufficient.

    Common mistake: Replying to the suspicious sender to ask whether it is genuine does not provide independent verification.

    Marking points

    • Explains that phishing involves a fraudulent message pretending to be from a trustworthy source, aiming to trick the victim into revealing personal or financial information or clicking a malicious link.
    • States a valid protection, such as checking the sender's address carefully, not clicking suspicious links, or verifying directly with the organisation before responding.

    Examiner tip: Phishing relies on impersonation and urgency; the strongest defence is verifying the sender independently before acting.

  7. 7.

    Explain why a company should encrypt sensitive customer data before transmitting it over the internet.

    [2 marks] · no calculator

    Worked explanation

    1. Encryption transforms readable customer data into ciphertext using cryptographic keys, so intercepted traffic is not intelligible without the required decryption material.
    2. For example, an intercepted address/payment message reveals ciphertext rather than the plaintext to a passive observer. Strong key handling and authenticated transport are still needed; encryption does not stop all interception or fix a compromised endpoint.

    Common mistake: Encryption primarily protects confidentiality after interception, rather than preventing packets from being copied.

    Marking points

    • Explains that encryption scrambles the data into an unreadable form using a key or algorithm.
    • Explains that this protects confidentiality: even if the data is intercepted in transit, it cannot be understood without the decryption key.

    Examiner tip: Encryption protects data in case it is intercepted; it is a different control from authentication, which checks who is allowed to access it.

  8. 8.

    A student copies text from a website directly into their coursework without acknowledging the source. Analyse two ethical issues raised by this action.

    [4 marks] · no calculator

    Course scope: Optional enrichment

    Worked explanation

    1. Unacknowledged copied text misrepresents the student's authorship, so the coursework no longer provides honest evidence of their understanding. A quotation with attribution and original analysis would make that distinction visible.
    2. Separately, reproducing another creator's protected text raises permission/licence questions. Attribution addresses honesty but does not itself grant permission, and missing attribution alone does not prove infringement. This is an ethical distinction, not a jurisdiction-specific legal verdict.

    Common mistake: Treating plagiarism and copyright as the same issue obscures two different responsibilities.

    Marking points

    • Identifies plagiarism: presenting someone else's work or ideas as one's own.
    • Explains that this is academically dishonest, since the coursework no longer reflects the student's own understanding.
    • Identifies a separate issue concerning respect for the creator's copyright or licence when reproducing protected text.
    • Explains that permission, licence terms and applicable exceptions determine whether copying is allowed; missing attribution is not by itself proof of infringement, and giving credit does not by itself grant permission.

    Examiner tip: Plagiarism is an issue of honesty and originality; copyright is a separate, legal issue about ownership of the content itself.

  9. 9.

    Distinguish between a Local Area Network (LAN) and a Wide Area Network (WAN).

    [2 marks] · no calculator

    Course scope: Optional enrichment

    Worked explanation

    1. A LAN connects devices over a limited site such as school buildings, usually under one organisation's local control.
    2. A WAN links geographically separated networks, for example a school's sites in different cities using provider links. Wireless does not automatically mean WAN: Wi-Fi inside one classroom is still local.

    Common mistake: LAN versus WAN is not the same distinction as wired versus wireless.

    Marking points

    • Explains that a LAN covers a small geographical area, such as a single building or school site.
    • Explains that a WAN covers a much larger geographical area, often connecting multiple LANs across different cities or countries, typically using third-party infrastructure.

    Examiner tip: The internet itself is the largest example of a WAN, connecting countless smaller networks together.

  10. 10.

    Distinguish between a client-server network and a peer-to-peer network.

    [2 marks] · no calculator

    Course scope: Optional enrichment

    Worked explanation

    1. In client-server use a student client requests a file from a managed server that centralises that service and its access controls.
    2. In peer-to-peer sharing devices provide resources directly to other peers without a dedicated central resource server. A file becomes unavailable if its only providing peer disconnects; decentralisation alone does not guarantee redundancy.

    Common mistake: Equal peer roles do not mean every file automatically exists on every machine.

    Marking points

    • Explains that in a client-server network, a central server provides resources or services to multiple client devices that request them.
    • Explains that in a peer-to-peer network, each device has equal status and can share resources directly with others, without a dedicated central server.

    Examiner tip: Client-server services can be managed centrally. Peer-to-peer sharing does not need a dedicated central resource server, but shared infrastructure or individual peers can still be points of failure; resilience depends on the design.

  11. 11.

    Explain the purpose of an IP address on a network.

    [1 mark] · no calculator

    Worked explanation

    1. An IP address is a logical network-layer address for an interface, used as a source or destination in packet delivery.
    2. Routers use destination prefixes and routing tables to forward toward the appropriate network, rather than identifying a person by name. Addresses can change or be reused; uniqueness is within the relevant addressing context, not a permanent identity of a device worldwide.

    Common mistake: An IP address is not an immutable hardware serial number.

    Marking points

    • Explains that an IP address uniquely identifies a device on a network, allowing data to be correctly routed to and from it.

    Examiner tip: An IP address is like a postal address for a device, letting data sent across a network know exactly where to be delivered.

  12. 12.

    Distinguish between an IP address and a MAC address.

    [2 marks] · no calculator

    Worked explanation

    1. An IP address is assigned logically for communication across IP networks and can change as a device joins another network.
    2. A MAC address is used for local link-layer delivery to a network interface. A manufacturer address commonly exists, but private/local addresses can override it; routers forwarding between links do not use one unchanged end-to-end MAC address.

    Common mistake: MAC addresses are not guaranteed to be unchangeable or impossible to spoof.

    Marking points

    • Explains that an IP address is a logical network-layer address assigned to an interface, manually or automatically, and may change when its network configuration changes.
    • Explains that a MAC address identifies a network interface at the link layer; a manufacturer-assigned address commonly exists, but software can override it or use a private, locally administered address.

    Examiner tip: Do not say a MAC address can never change. Modern Wi-Fi devices can use private or rotating MAC addresses, while IP addresses may be static or dynamic.

  13. 13.

    Explain the function of a router in a home network.

    [2 marks] · no calculator

    Worked explanation

    1. A home router forwards packets between the home LAN and other IP networks, such as the internet connection.
    2. It consults the destination IP address and routing table to choose a next hop or output interface. A switch mainly forwards local frames; a combined home box can perform both roles without making them identical functions.

    Common mistake: DNS name translation is not the router's defining routing job.

    Marking points

    • Explains that a router directs (routes) data packets between different networks, such as between a home network and the wider internet.
    • Explains that it uses IP addresses to determine the correct path to send each packet of data.

    Examiner tip: A router connects separate networks together and decides where to send each packet of data; a switch, by contrast, connects devices within a single network.

  14. 14.

    Explain how a firewall helps protect a network from unauthorised access.

    [2 marks] · no calculator

    Worked explanation

    1. A firewall compares incoming/outgoing traffic with configured rules such as permitted destination service, source or connection state.
    2. For example, denying unsolicited external connections to a database port reduces direct exposure of that service. Allowed malicious traffic or stolen credentials can still bypass the intended protection, so a firewall is one control, not universal threat detection.

    Common mistake: Filtering permitted connections is not equivalent to detecting all malware in their content.

    Marking points

    • Explains that a firewall monitors incoming and outgoing network traffic, checking it against a set of security rules.
    • Explains that it blocks traffic that does not meet these rules, preventing unauthorised access from outside the network.

    Examiner tip: A firewall acts as a filter at the boundary of a network, deciding what traffic is allowed in or out based on defined rules.

  15. 15.

    Explain why an employee working from home might use a Virtual Private Network (VPN) to connect to their company's systems.

    [2 marks] · no calculator

    Course scope: Optional enrichment

    Worked explanation

    1. An authenticated remote-access VPN establishes an encrypted tunnel from the employee's device to a company endpoint over the public internet.
    2. Traffic inside the tunnel cannot simply be read by an intervening Wi-Fi observer, enabling protected remote access. Device compromise, stolen credentials and traffic routed outside the tunnel remain separate risks.

    Common mistake: A VPN does not make the employee's computer or all of its browsing automatically safe.

    Marking points

    • Explains that a VPN creates an encrypted connection (a secure 'tunnel') over the public internet.
    • Explains that this protects sensitive company data from being intercepted and read by someone else on the public network.

    Examiner tip: A correctly configured remote-access VPN protects traffic through its encrypted tunnel. It does not remove risks from a compromised device, stolen credentials or traffic outside that tunnel.

  16. 16.

    Explain what happens during a distributed denial-of-service (DDoS) attack.

    [2 marks] · no calculator

    Worked explanation

    1. Many distributed sources send enough traffic or costly requests to exhaust a service's bandwidth or processing capacity.
    2. Legitimate users then face delays or failures because resources are occupied. This is an availability attack; stealing records is not its defining aim, though attacks can occur together.

    Common mistake: DDoS does not require the attacker to learn every user's password.

    Marking points

    • Explains that a DDoS attack floods a server or website with an overwhelming number of requests from many different sources at once.
    • Explains that this overwhelms the server's capacity, making the website slow or completely unavailable to genuine users.

    Examiner tip: A DDoS attack does not try to steal data directly — its goal is to disrupt a service by exhausting its capacity to respond.

  17. 17.

    Explain what is meant by a brute force attack on a password, and state one way a system can defend against it.

    [2 marks] · no calculator

    Worked explanation

    1. Brute force systematically tries candidate passwords until one works. An illustrative four-digit PIN has 10^4 = 10000 possible strings, including leading zeros.
    2. Rate limiting or temporary lockout makes repeated online trials slow: at three trials per minute, exhaustive PIN testing takes over 55 hours. Long passwords and a second factor add protection; offline stolen-hash attacks need other controls too.

    Common mistake: Account rate limits constrain online guessing, not every possible offline attack.

    Marking points

    • Explains that a brute force attack systematically tries every possible combination of characters until the correct password is found.
    • States a valid defence, such as locking an account after a small number of failed attempts, or requiring long, complex passwords that take far longer to guess.

    Examiner tip: Account lockouts and rate limits make brute force attacks impractically slow, even though the method itself is simple.

  18. 18.

    Explain what spyware is designed to do and contrast its information-gathering purpose with the service-disruption purpose of a denial-of-service attack.

    [2 marks] · no calculator

    Worked explanation

    1. Spyware covertly records activity such as keystrokes or browsing and may send it to another party, threatening confidentiality.
    2. Denial of service instead consumes resources to prevent normal access, threatening availability. Spyware can be delivered by a virus or worm because payload purpose and replication method are independent categories.

    Common mistake: Calling virus, worm and spyware mutually exclusive confuses behaviour with propagation.

    Marking points

    • Explains that spyware's main purpose is to secretly monitor and collect information about a user's activity, such as keystrokes or browsing habits, without their knowledge.
    • Contrasts covert collection of user information with a denial-of-service attack that aims to make a service unavailable.

    Examiner tip: Spyware describes a purpose, while virus and worm describe ways malware replicates. A virus or worm can carry spyware; the categories are not mutually exclusive.

  19. 19.

    Explain one advantage of using biometric authentication, such as a fingerprint scan, instead of a traditional password.

    [2 marks] · no calculator

    Worked explanation

    1. A fingerprint unlock can let an authorised user authenticate without remembering and typing a secret, reducing routine effort and exposure to ordinary password guessing.
    2. Its benefit is convenience with a device that checks the enrolled characteristic, not infallibility: false matches, copying and fallback-account attacks remain possible, and a compromised characteristic cannot simply be changed like a password.

    Common mistake: Biometrics are not secret in the same sense as a password and are not impossible to imitate.

    Marking points

    • States a valid advantage, such as not needing to remember or type a password when using a fingerprint to unlock an authenticator.
    • Explains the resulting convenience or resistance to ordinary password guessing, while not claiming biometrics are impossible to copy or falsely match.

    Examiner tip: Biometrics can improve convenience, but biometric characteristics are not secret and matching can make errors. Secure systems combine them with protected devices and suitable fallback authentication.

  20. 20.

    Explain how two-factor authentication improves account security compared with using a password alone.

    [2 marks] · no calculator

    Worked explanation

    1. Use different factor types: a password demonstrates knowledge and a code from an enrolled authenticator demonstrates possession.
    2. A stolen password alone normally fails the second check, reducing account takeover risk. Two passwords remain one factor type; phishing of codes, stolen sessions or weak recovery can still defeat some systems.

    Common mistake: Two separate questions about known secrets do not automatically constitute two-factor authentication.

    Marking points

    • Explains that two-factor authentication requires evidence from two different factor types, such as a password (knowledge) and a code from an enrolled device (possession).
    • Explains that obtaining only the password is normally insufficient; an attacker must also defeat or obtain the other factor.

    Examiner tip: Two passwords are not two factors. MFA reduces account-takeover risk but does not make phishing, session theft or recovery abuse impossible.

  21. 21.

    Explain what cookies are, and give one reason a website might use them.

    [2 marks] · no calculator

    Worked explanation

    1. A website can ask a browser to store a small cookie value and send it on later matching requests; session cookies and persistent cookies differ in lifetime.
    2. An opaque session identifier can link successive requests to the same shopping cart or logged-in session. Store an identifier, not the user's plaintext password; theft of a session cookie can itself be a risk.

    Common mistake: A cookie is data used by the site, not automatically an executable virus.

    Marking points

    • Explains that cookies are small text files stored on a user's device by a website, to be read again on later visits.
    • States a valid purpose, such as keeping a session identifier, remembering preferences or linking a browser to a shopping cart; do not suggest storing the user's password in a cookie.

    Examiner tip: A login cookie normally stores an opaque session identifier rather than the password. Cookies can persist across requests or visits and have expiry and security attributes.

  22. 22.

    Explain what is meant by bandwidth, and how it affects a user's experience when streaming video online.

    [2 marks] · no calculator

    Course scope: Optional enrichment

    Worked explanation

    1. In this networking context bandwidth is a connection's potential data-transfer rate, usually in bits per second; achieved throughput may be lower.
    2. A video consuming 8 Mbit/s cannot be sustained indefinitely by 5 Mbit/s throughput without lowering quality or buffering. Higher available rate helps data arrive fast enough, but latency and congestion also affect experience.

    Common mistake: A high advertised bandwidth is not a guarantee of the same end-to-end throughput.

    Marking points

    • Explains that bandwidth is the maximum amount of data that can be transferred over a network connection in a given amount of time.
    • Explains that low bandwidth can cause streamed video to buffer, lag, or play at a lower quality, since data cannot arrive fast enough.

    Examiner tip: Higher bandwidth allows more data to flow per second, which is essential for smooth high-quality video streaming.

  23. 23.

    Explain the purpose of a digital certificate issued by a trusted certificate authority when you connect to a secure website.

    [2 marks] · no calculator

    Course scope: Optional enrichment

    Worked explanation

    1. A certificate signed under a trusted authority binds a domain name to a public key. The browser checks the name, validity and trust chain before relying on that binding.
    2. The authenticated key participates in establishing the protected TLS connection. A certificate for a lookalike domain does not authenticate the intended domain or prove that the business behind it is honest.

    Common mistake: A certificate authenticates the named endpoint, not every claim or product on its pages.

    Marking points

    • Explains that browser validation of a trusted certificate binds the requested domain name to a public key, helping authenticate the endpoint for that domain.
    • Explains that the authenticated key participates in establishing a TLS-protected HTTPS connection.

    Examiner tip: Domain authentication is not a guarantee that a business is honest or that its content is harmless. A lookalike domain can also have a valid certificate.

  24. 24.

    Explain what is meant by social engineering in a cybersecurity context, using an example other than a phishing email.

    [2 marks] · no calculator

    Worked explanation

    1. Social engineering manipulates a person into bypassing a security control rather than directly breaking the computer's cryptography or software.
    2. For example, an impostor calls claiming to be IT support and pressures an employee to reveal a login code. The attack exploits claimed authority and urgency; independently contacting the real help desk breaks that deceptive channel.

    Common mistake: It need not be email phishing; phone impersonation satisfies this question's different-example requirement.

    Marking points

    • Explains that social engineering means manipulating or deceiving a person, rather than attacking a computer system directly, to gain unauthorised access or information.
    • Gives a valid example other than phishing, such as someone pretending to be IT support over the phone to ask for a password, or watching over someone's shoulder to see them type a PIN.

    Examiner tip: Social engineering exploits human trust and behaviour rather than a technical weakness in the computer system itself.