Skip to the page
Year 11 · ICT · Spring 1 · Paper 3 practice: spreadsheets and websites

A full Paper 3

Exam practicePresent ▶

What this lesson covers

20.3 Display, format and print

Cambridge IGCSE ICT 0417 · Topic 20: Spreadsheets · Paper 3

20.1d Decisions with IF

Cambridge IGCSE ICT 0417 · Topic 20: Spreadsheets · Paper 3

21.3b CSS: page styles, tables and the cascade

Cambridge IGCSE ICT 0417 · Topic 21: Website authoring · Paper 3

You will learn to

  • Complete a full Paper 3 in 2 hours 15 minutes.
  • Use a timing plan with clock times for each task and 15 minutes to check.
  • Use the end-of-paper checks: every formula visible, every link tested, the stylesheet attached.
  • Use the mark scheme to mark the paper and update your tracker.

Success criteria

  • I can write my clock times on the paper before I start.
  • I can run the end-of-paper checklist before the time runs out.
  • I can list my lost marks by cause.
The syllabus points for these sections
  • Switch between formulae view and values view, and make every cell fully visible.
  • Format cells: bold, italic, shading, borders, alignment, wrap text, hide and show.
  • Apply number formats and conditional formatting.
  • Set up the page to print formulae and values clearly.
  • Avoid the common ways spreadsheet marks are lost.
  • Use IF to return one of two results.
  • Write a nested IF with three or more results, in a sensible order.
  • Recognise error values and fix the formula that caused them.
  • Style h1, h2, h3, p and li in one external stylesheet.
  • Style tables and cells: borders, collapse, padding, spacing, size, colour and alignment.
  • Apply the cascading order to predict which style wins.
  • Give clear evidence and avoid the common ways website marks are lost.

Key words

Say each word, then read what it means. Every one is in the glossary too.

Cell
One box in the grid, where a column and a row meet.
Cell reference
The address of a cell: column letter then row number, such as C3.
Range
A block of cells written first:last, such as C3:C8.
Formula
A calculation in a cell that starts with =.
Function
A ready-made formula with a name, such as SUM or VLOOKUP.
Argument
One input to a function, written inside its brackets and separated by commas.
Nested function
A function used inside another function, such as ROUND(AVERAGE(...),2).
Relative reference
A reference like E3 that moves when the formula is copied.
Absolute reference
A reference like $I$7 that stays fixed when the formula is copied.
Named range
A name, such as TripCost, given to a cell or range and used in formulae.
Lookup
A function that finds a value in a table and returns a matching value.
Exact match
A lookup that only accepts the identical value (FALSE in VLOOKUP).
Conditional formatting
Formatting that changes automatically when a cell meets a rule.
Formulae view
A display mode that shows the formulae in cells instead of their results.
HTML
HyperText Markup Language: the language of the content layer of a web page.
CSS
Cascading Style Sheets: the language of the presentation layer, which sets how a page looks.
Tag
A word in angle brackets, such as `<p>`, that marks the start or end of an element.
Attribute
Extra information inside an opening tag, written name="value", such as src or alt.
Head
The part of a page holding information about it: title, meta tags, stylesheet links.
External stylesheet
A separate .css file attached to pages with the link element.
Inline style
CSS written in a style attribute inside one tag; it affects only that element.
Class
A label given to elements with the class attribute so CSS can style them as a group.
Selector
The part of a CSS rule that says which elements it styles, such as h1 or .note.
Generic font family
A fallback type of font (serif, sans-serif, monospace) used if named fonts are missing.
Cascade
The rules that decide which style wins when two styles set the same property.
Relative path
A file location described from the current file's folder, such as images/logo.png.
Absolute path
A full file location from the very start, such as a full URL or C:/...
Padding
The space inside an element or cell between its border and its content.
Alt text
Alternative text for an image, read by screen readers and shown if the image fails.

The explanation

Read it here, or open the study page below to go one step at a time with things to try.

Timing Paper 3

Paper 3 is 70 marks in 2 hours 15 minutes. That is just under 2 minutes a mark.

It has a spreadsheet task and a website task. Both need evidence.

  1. Read the whole paper first.
  2. Write a clock time for moving on from the first task to the second.
  3. Keep the last 15 minutes for the end-of-paper checks.
!Watch out

Do not spend the whole paper on one task. Half-finished work on both tasks usually scores more than one perfect task.

End-of-paper checks

TaskCheck
SpreadsheetFormulae printout: every formula readable in full. Values printout: no cut-off values.
SpreadsheetChart: correct type, title, axis titles and labels as asked.
WebsiteThe stylesheet is attached with a relative path.
WebsiteEvery link opens the right page, in the right window.
WebsiteEvery image shows, at the stated size, with alt text.
BothYour name, centre number and candidate number on every printout. Files saved as asked.
★Remember

Test it, do not trust it. Click every link and look at every printout before you finish.

20.3 Display, format and print

Show formulae, not only values

Normally cells show values: the results. Formulae view shows what is typed in each cell.

Most spreadsheets have a show formulas option, often on the formulas tab or in the view settings.

In formulae view, widen columns until every formula is fully visible. A cut-off formula cannot be marked.

Adjust row heights and column widths, and wrap text in long headings, so nothing is hidden. Hide or show rows and columns only when the task says.

E3   =VLOOKUP(D3,$H$3:$I$5,2,FALSE)
E4   =VLOOKUP(D4,$H$3:$I$5,2,FALSE)
...  (same pattern down to E8)
F3   =$I$7+E3-C3
F4   =$I$7+E4-C4
...  (same pattern down to F8)
G3   =IF(F3=0,"Paid",IF(F3<=10,"Nearly","Chase"))
...  (same pattern down to G8)
C9   =SUM(C3:C8)
E9   =SUM(E3:E8)
F9   =SUM(F3:F8)
C10  =AVERAGE(C3:C8)
?Why?

In formulae view numbers lose their formatting, so 46.50 shows as 46.5. That is normal. The examiner wants to see the formulae, not the formatting.

Format cells: text, shading, borders, alignment

Typical tasks: make headings bold or italic, add shading (a fill colour), add borders, and set alignment.

Align text to the left and numbers to the right, so the decimal points line up.

Merge and centre a title across the top of the data, for example A1:G1.

Apply exactly what is asked, to exactly the cells named.

?Why?

Consistent formatting is a house style (topic 14). Examiners check that every cell in the stated range has the format, not only the first one.

Number formats

A number format changes how a value looks. It does not change the value.

Decimal places: 31.8333 shown to 2 decimal places is 31.83. Currency adds a symbol: €31.83, or 31,83 € in Spanish style.

Percentage: the value is shown multiplied by 100, with a % sign. 0.25 shows as 25%.

Use the symbol asked for: euro (€), pound (£) or dollar ($). The $ in a currency format has nothing to do with the $ in an absolute reference.

e.g.Example
Share of the cost Bruno has paid: =C4/($I$7+E4) → 30.00 ÷ (40.00 + 7.50) = 30.00 ÷ 47.50 = 0.6315… Percentage format, 0 decimal places → 63% Percentage format, 1 decimal place → 63.2%
!Watch out

Do not multiply by 100 and also apply the percentage format. You would get 6315.8%. The format does the × 100 for you.

Conditional formatting

Conditional formatting changes a cell's format automatically when its value meets a rule.

Select the range, choose the rule (for example "greater than"), type the value, then pick the format.

Because it is a rule, the format updates when the data changes. Colour added by hand does not.

e.g.Example
Rule 1: F3:F8, cell value greater than 20 → red fill. David (46.50) and Félix (22.50) turn red. Rule 2: G3:G8, cell value equal to Paid → green text. Ana and Carmen turn green. If Félix pays €5 more, F8 becomes 17.50 and the red disappears by itself.
!Watch out

Apply the rule to the whole range asked (F3:F8), not to one cell. "Greater than 20" does not include 20. Use "greater than or equal to" if 20 should count.

Page layout for printing

Set the orientation: portrait (tall) or landscape (wide). Formulae printouts are wide, so landscape usually fits better.

Use fit to page to scale the printout to 1 page wide, or to the number of pages the task says. Set a print area if only part of the sheet must print.

For formulae printouts, switch on gridlines and row and column headings. Then the examiner can see which cell holds each formula.

Add a header or footer with your name, centre number and candidate number. Check the print preview before you print.

?Why?

A formula like =$I$7+E3-C3 means nothing on its own. With headings, the examiner sees it sits in F3 and can check what I7 holds.

!Watch out

"Fit to 1 page wide" is not "fit to 1 page". Squeezing a long sheet onto one page can make the text too small to read.

How spreadsheet marks are lost

Most lost marks come from the evidence, not from wrong thinking.

Before each printout, ask: is everything visible, is it on the right number of pages, and is my name on it?

MistakeHow to avoid it
Formula cut off in the printoutwiden columns in formulae view
No row and column headings on a formulae printoutswitch them on in page setup
Typed number instead of a formula or cell referencealways point to the cell that holds the value
Missing $, so copied formulae breakcheck the last cell you copied into
Wrong range (includes a heading or total)click the formula and check the coloured outline
Sorting one column on its ownselect the whole list before sorting
Named range spelt differently from the questioncopy the name exactly
No name, centre number or candidate numberheader or footer on every printout
20.1d Decisions with IF

IF

IF makes a decision. It checks a condition and returns one of two results.

Argument 1, logical_test: a comparison that is TRUE or FALSE, like F3=0. Argument 2, value_if_true. Argument 3, value_if_false.

Text results go in double quotes. Numbers and cell references do not.

e.g.Example
=IF(F3=0,"Paid","Owes") F3 is 0.00 → test TRUE → Paid Copied to row 4: F4 is 17.50 → test FALSE → Owes A number result: =IF(C4>=45,0,5) → 30.00 is not 45 or more → 5 (a €5 reminder fee) The sample sheet uses a nested version of this IF. It is in the next step.
!Watch out

=IF(F3=0,Paid,Owes) without quotes gives #NAME?. The spreadsheet thinks Paid is the name of a range.

Nested IF and other nested functions

A nested IF puts a second IF inside the first, usually in the value_if_false part. Two IFs give three possible results.

The spreadsheet checks the tests from left to right and stops at the first TRUE one. So the order of the tests matters.

Every IF opens a bracket. Two IFs need two closing brackets at the end.

Any function can be nested. The inner one is worked out first and its result is passed to the outer one.

e.g.Example
G3: =IF(F3=0,"Paid",IF(F3<=10,"Nearly","Chase")) F3 = 0.00 → first test TRUE → Paid F7 = 2.50 → first test FALSE, second test 2.50 <= 10 TRUE → Nearly F4 = 17.50 → both tests FALSE → Chase Other nesting: =ROUND(AVERAGE(C3:C8),1) → AVERAGE gives 31.8333…, then ROUND gives 31.8
!Watch out

Test order matters. =IF(F3<=10,"Nearly",IF(F3=0,"Paid","Chase")) never shows Paid, because 0 is already 10 or less.

Error values and what they mean

An error value means the formula cannot give an answer. Each one points to a different problem.

In a printout, an error loses the mark for that formula, and often for cells that use it.

ErrorWhat it meansHow to fix it
`#N/A`a lookup value was not foundcheck spelling, extra spaces, FALSE, and $ on the table
`#NAME?`the spreadsheet does not recognise a wordcheck the function spelling, quotes round text, and named ranges
`#DIV/0!`dividing by zero or by an empty cellcheck the cell you divide by
`#VALUE!`wrong type of data, such as =C3+A3 (a number plus a name)use cells that hold numbers
`#REF!`a reference points to a deleted cellrewrite the formula
`####`the column is too narrow to show the numberwiden the column
21.3b CSS: page styles, tables and the cascade

A full stylesheet for h1, h2, h3, p and li

Exam tasks often give a list of styles to set for each element. Write one rule per selector, in the same order as the list.

Repeat a property in each rule where the task asks for it, even if it looks the same as another rule.

Try the toy: paste this CSS into the CSS box. In the HTML box, replace everything between `<body>` and `</body>` with this HTML, so the stylesheet link stays. Change the h2 colour or the p font size and watch the preview update.

/* Café Retiro house style */
body {
    background-color: #FDF6EC;
}

h1 {
    font-family: "Trebuchet MS", Helvetica, sans-serif;
    font-size: 32px;
    color: #8B4513;
    text-align: center;
}

h2 {
    font-family: "Trebuchet MS", Helvetica, sans-serif;
    font-size: 24px;
    color: #2E7D32;
}

h3 {
    font-family: "Trebuchet MS", Helvetica, sans-serif;
    font-size: 18px;
    color: #2E7D32;
    font-style: italic;
}

p {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 16px;
    color: #333333;
    text-align: justify;
}

li {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 16px;
    font-weight: bold;
}
<h1>Café Retiro</h1>
<h2>Breakfast</h2>
<h3>Served until 12:00</h3>
<p>Fresh coffee, toast with tomato and olive oil, and homemade cakes.</p>
<ul>
    <li>Café con leche</li>
    <li>Tostada con tomate</li>
    <li>Tarta de Santiago</li>
</ul>
?Why?

The li rule makes the three menu items bold. Their font, size and colour come from the li rule too, so lists match the paragraphs.

There is something to try for this step in the IGCSE library.

Table borders: thickness, colour, collapse, invisible

border sets thickness, style and colour in one line: `border: 2px solid #8B4513;`. The style must be given, such as solid, dashed or dotted.

A border on table styles only the outside edge. Borders between cells need a rule for th and td too.

border-collapse: collapse merges the double lines between cells into single lines.

To make borders invisible, use border: none (or border-style: hidden). To make them visible, give a style such as solid.

table {
    border: 3px solid #8B4513;
    border-collapse: collapse;
}

th, td {
    border: 1px solid #8B4513;
}

/* a layout table with no visible borders */
table.plain, table.plain td {
    border: none;
}
!Watch out

border: 2px #8B4513; with no style shows no border at all. The default style is none.

Cells: padding, spacing, size, colour and alignment

padding is the space inside a cell, between its border and its content.

border-spacing is the gap between cells. It works only when border-collapse is separate, which is the default.

text-align sets horizontal alignment (left, center, right). vertical-align sets vertical alignment (top, middle, bottom).

Cells take width, height and background-color like any other element.

table {
    width: 80%;
    border-collapse: separate;
    border-spacing: 4px;
}

th {
    background-color: #8B4513;
    color: #FFFFFF;
    padding: 8px;
}

td {
    height: 40px;
    padding: 8px;
    text-align: center;
    vertical-align: middle;
    background-color: #FFF3E0;
}
?Why?

Padding stops text touching the border, so the table is easier to read. Spacing separates cells into boxes.

The cascade: which style wins

When two rules set the same property on the same element, the browser uses the cascade to choose.

Highest priority first: inline style, then internal stylesheet, then external stylesheet, then the browser's own defaults.

Internal beats external when the `<style>` element comes after the `<link>`, which is the normal order. In fact, the rule read last wins.

Inside one stylesheet, a later rule beats an earlier rule for the same selector. A class selector beats a plain element selector, whatever the order.

e.g.Example
Breakfast: the external rule says green, the internal rule says blue. Internal wins → blue. Lunch: the inline style says red. Inline wins → red. Both headings are still 24px, because only the external rule sets font-size. The cascade decides each property separately.
<link rel="stylesheet" href="styles/cafe.css">  <!-- h2 green -->
<style>
    h2 { color: #1565C0; }                      /* h2 blue */
</style>
...
<h2>Breakfast</h2>
<h2 style="color: #C62828;">Lunch</h2>        <!-- inline red -->
/* styles/cafe.css */
h2 {
    color: #2E7D32;
    font-size: 24px;
}

How website marks are lost

Most lost marks come from small typing errors that a browser ignores without warning.

Before taking screenshots, open the page in a browser and check every style and link really works.

MistakeHow to avoid it
Absolute path to a local file (C:/... or file:///...)use relative paths such as styles/cafe.css
colour or centre in CSSuse color and center
Missing ; or }, so later styles failend every declaration with ; and close every rule
Quotes round a generic familyfont-family: Arial, sans-serif;
Size with no unit or a space (16 or 16 px)16px
`<style>` tags inside the .css filethe .css file holds CSS only
File saved as cafe.css.txt or with wrong capitalssave as the exact name and type given
Missing alt text, or tags not closedcheck each tag has its partner
URL without https://write the full URL

Giving evidence

Take a screenshot of the HTML source in the text editor, with every line readable. Use more than one screenshot if the code is long.

Take a screenshot of the page in a browser, showing the result of the styles.

Take a screenshot of the CSS file in the editor, showing its file name if possible.

Paste them into the evidence document in the order the question asks, and label each one.

?Why?

The source proves which tags, attributes and paths you used. The browser view proves they work. Examiners often need both to award a mark.

!Watch out

A screenshot of a page that looks right earns nothing if the code that made it is cut off. Zoom so the code is readable but nothing is hidden.

Study it

Open the study page and go one step at a time.

Check yourself

One question at a time. The reason shows after each answer.

Saved on this device.