Question bank › A-level Computer Science › Paper 2 – Computer systems

Communication & networking (TCP/IP, subnetting, client-server)

Answer on paper first, then reveal the mark scheme one mark at a time.

1Core3 marks

The TCP/IP stack has four layers: application, transport, network and link.

State the layer responsible for each of the following. [3]

  • (i) Routing packets between networks using IP addresses.
  • (ii) Splitting data into packets and using port numbers to identify the receiving program.
  • (iii) Defining the format of an HTTP request.
2Standard4 marks

A computer has the IP address 192.168.14.77 and the subnet mask 255.255.255.224.

(a) Calculate the network identifier (network address) of the subnet that this computer is on. Show your working. [2]

(b) The computer needs to send a packet to the IP address 192.168.14.101. Explain how the computer uses the subnet mask to decide whether it can send the packet directly to the destination or must send it to the router. [2]

3Standard4 marks

A school network can be set up as client-server or peer-to-peer.

(a) Give two advantages of using a client-server network rather than a peer-to-peer network. [2]

(b) Give two disadvantages of using a client-server network compared with a peer-to-peer network. [2]

4Hard6 marks

A router connects four subnets of a company network (see diagram). Every host on the network uses the subnet mask 255.255.255.192.

Four hosts have these IP addresses:

  • Host A: 192.168.10.37
  • Host B: 192.168.10.70
  • Host C: 192.168.10.120
  • Host D: 192.168.10.200

(a) Write the last octet of the subnet mask in binary and state how many bits of the IP address form the network identifier. [2]

(b) Calculate the network identifier of Host B. Show your working. [2]

(c) Identify the two hosts that are on the same subnet. Justify your answer. [2]

RouterSubnet 1Subnet 2Subnet 3Subnet 4
5Standard5 marks

A user types www.example.com into a web browser.

(a) Describe how the Domain Name System (DNS) is used so that the browser can load the page. [3]

(b) Explain why the DNS is used rather than requiring users to type IP addresses. [1]

(c) The web server listens on a well-known port. State what is meant by a well-known port. [1]

6Hard5 marks

A company uses a packet-filtering firewall and a proxy server.

(a) Describe how a packet-filtering firewall decides whether to allow a packet. [3]

(b) Explain two ways in which a proxy server can improve the security or performance of the network. [2]

Still losing marks on this topic?

Book a free introductory session and we'll find exactly which step is costing you.

Book a free intro