Web Technologies | OCR A-Level Computer Science (H446)

Web Technologies

  • 71 questions
  • 6 subtopics
  • Component 01: Computer systems
  • Component 01

Web Technologies is examined on component 01 of OCR Computer Science, Computer systems.

71 recall questions across 6 subtopics.

Sample questions from Web Technologies

Answer each one closed book first, then open the answer.

  1. Structure, presentation and behaviour, and HTML

    What is the link element used for in the head of a page?

    Show the answer
    It attaches an external resource to the document, and its main use is to link the page to an external CSS stylesheet. Putting one link element in each page means every page shares one stylesheet, so the whole site is styled consistently from a single file and the browser can cache that file and reuse it across pages.
  2. CSS

    Write and explain a CSS rule that makes all main headings blue.

    Show the answer
    h1 { color: blue; } The selector h1 chooses every first-level heading in any document that uses the stylesheet. The declaration inside the braces sets the property color to the value blue. Every such heading is then drawn in blue, and changing that one word changes them all.
  3. JavaScript

    What does this produce? var total = 0; for (var i = 1; i <= 5; i++) { total = total + i; } alert(total);

    Show the answer
    A pop-up alert box showing 15. total starts at 0 and the loop runs with i taking the values 1, 2, 3, 4 and 5, adding each to total in turn: 0+1=1, then 3, then 6, then 10, then 15. When i becomes 6 the condition i <= 5 is false and the loop ends, so the alert displays the final value 15.

The 6 subtopics

One subtopic is one session. Work down the list.

Subtopic What it covers Questions
Structure, presentation and behaviour, and HTML Recall questions on the head and body of an HTML page, the title, link, heading, img, a, div, list, form and script elements, reading markup, semantic structure, and how HTML, CSS and JavaScript separate structure, presentation and behaviour. 18
CSS Recall questions on what CSS does, inline styles and external stylesheets, writing rules, classes and identifiers, colour, font, size and border properties, hexadecimal colour codes, and inline styles overriding a stylesheet. 11
JavaScript Recall questions on what JavaScript does in a page, producing output, tracing loops, selection and arrays that write into the page, why scripting makes pages feel faster, and why JavaScript checks cannot be trusted for security. 11
Server side and client side processing Recall questions on client-side and server-side processing, examples of each, their advantages and disadvantages, bypassing client-side validation, why both sides validate, and deciding which side should handle a task. 11
Search engine indexing Recall questions on search engine indexes, web crawlers, how an index is built from a fetched page, why indexing makes search fast, what is stored about each word, robots files, stale results, and indexing versus ranking. 8
The PageRank algorithm Recall questions on the idea behind PageRank, dividing a page's vote among its links, the damping factor and the random surfer, iterative computation, calculating ranks by hand, and why PageRank alone cannot order results. 12
Web Technologies is 71 of the 1,549 questions in the guide.Get the guide, £9

How the guide is worked

Answering a question from memory stores it far better than reading the answer again. The guide runs that as a fixed procedure on one subtopic at a time, about twenty minutes a session.

  1. Step 1 · Closed book

    Cover the answers. Work through one subtopic and write down what you can. Leave blanks where you have nothing.

  2. Step 2 · Open book

    Go back to the top. Read each printed answer and write it out in full, including the ones you had right.

  3. Step 3 · Closed book again

    Same questions, same order, from memory. The gap between pass one and pass three is the session result.

Read the full method, the return schedule and the research behind it.

Nearby topics

All 16 topics Guide overview

OCR A-Level Computer Science Active Recall Guide

Every topic, not just this one. 1,549 questions with their answers.

£9 GBP
Get the guide

Digital PDF, sent to the email address on your order.