A-level Computer Science revision · Exchanging data

Search engines and server-side processing

The idea

Search engines use crawlers to visit pages and build an index of words and where they appear. PageRank ranks pages by the number and quality of links pointing to them. Client-side processing runs in the browser (fast, reduces server load); server-side processing runs on the server (secure, handles databases).

  1. Crawler → index → ranking.
  2. PageRank: links from important pages count more.
  3. Client-side vs server-side: speed and load vs security.

Watch out PageRank counts not just the number of links but the importance of the linking pages.

See it worked

Worked example

Why is a login check done server-side?

  1. Passwords must be checked against the database.
  2. Client-side code can be viewed and altered.
  3. Server-side is secure.

Answer For security: the client can be tampered with

Your turn

Question 11 mark

What does a web crawler do?

Choose one
Question 21 mark

In PageRank, which link gives the most value to a page?

Choose one
Question 32 marks

Give one advantage of client-side processing.

Write your answer, then see a model answer
  1. Name the advantage.
  2. Explain it.

Answer Validation and interactivity happen instantly in the browser, reducing network traffic and the load on the server.

A-level Computer Science Pro, OCR H446

A-level Computer Science Pro

£119 once

Price rises to £199 on 1 January. Save £80 by joining before then.

At least 12 months of access

By paying you agree to our Terms and get access straight away, which ends your 14-day cancellation right.

No VAT is charged.

Independent practice for OCR A-level Computer Science (H446), not endorsed by OCR.

Privacy · Terms