Computing Computing: Progress in
Computing Computing: Progress in
Computing KS3
KS 3
SAMPLE
CHAPTER
Learn more about Progress in Computing and sign up for an eInspection Copy and
free trial of the digital resources at www.hoddereducation.co.uk/PiC
Progress in
Computing KS3
Getting started
Introducing spreadsheets
Computing: past, present and future
Programming in Scratch
Computing components
Programming in Python: sequence
Advanced spreadsheets
Algorithms
Programming in Python: selection
Internet safety, cyber security and encryption
Binary and computer logic
Video and sound editing
Designing websites
Networking and the Internet
Programming in Python: iteration
The ethics of computing
End of KS3 assessment: GCSE
Glossary
Answers to check-in questions
Acknowledgements
Index
Basic formulae
Look at this
spreadsheet and
write formulae for
column D to work
out the sums. The
first one has been
done for you.
Section heading 5
6 Chapter heading
Cinema tickets
Look at this spreadsheet. It shows the weekly ticket 2 Write functions for row 18 to calculate the
sales for various films at a cinema. average ticket sales each day.
1 Write functions for column I to calculate the total 3 Write formulae for the shaded cells in column F
weekly sales for each film. to work out the answers to the questions.
Checking in
➊ Give an example of a cell range.
➋ Why would you use the SUM function rather
than writing a formula?
➌ Which function would you use to find the
largest value in a set of data?
8 Chapter heading
The COUNT and COUNTA functions The COUNTA function counts the number of cells
in a selected range that contain a value (text or a
The COUNT function counts the number of cells in a
number).
selected range that contain a number.
Here is an example of a COUNTA function. The
Here is an example of a COUNT function. The answer
answer is 3 because cells B2, B4 and B5 contain a
is 4, because cells B2 to B5 all contain numbers.
value.
Ifcity Zoo
Open the Ifcity Zoo spreadsheet. It lists
the different species of animal found at
Ifcity Zoo.
1 Write a function in column D to calculate
the total number of each type of animal.
2 Write an IF function in column H to
work out each animal’s popularity. If
they have more than 30 visitors per
hour they are ‘Popular’. Otherwise, they
are ‘Standard’.
3 Write COUNTIF functions in cells B36 to
B39 to calculate the number of different
species for each type of habitat.
4 Write COUNTIF functions in cells B42 to
B44 to calculate the number of different
species for each conservation status. 6 Write COUNTIF functions in cells G38 and G39
5 Write a COUNTA function in cell G35 to calculate to calculate the number of ‘Popular’ species and
the number of different species at the zoo and the number of ‘Standard’ species.
a COUNT function in cell G36 to calculate the 7 Write functions in cells G41 and G42 to
number of different species at the zoo with determine the most visitors per hour and the
young. least visitors per hour for any species.
Checking in
➊ What are the three elements needed to write ➌ Which function would you use to find out how
an IF function? many cells in a range contain a specific value?
➋ What does the COUNT function tell you?
Section heading 9
Formatting practice
Recreate this spreadsheet, with all the formatting
shown. Can you make your spreadsheet look
exactly like the screenshot?
Picture
Create the following spreadsheet and add
conditional formatting to reveal a picture. The
key tells you the fill colours to use for different
cell values.
Remember to select all of the cells in the grid
Conditional formatting before applying each conditional formatting
Conditional formatting allows you to alter the rule.
appearance of a cell depending on the value it
contains. This enables you to quickly identify
patterns in your data. For example, in the below
spreadsheet, conditional formatting has been
applied to column C so that any cell containing
a number greater than 10 has a green fill and
any cell containing a number less than 8 has a
red fill.
10 Chapter heading
Line graphs are used when you want to show 4 101
how something has changed over time. They are 5 108
useful for plotting the results of experiments. 6 115
To create a graph or chart, select the data on 7 121
the spreadsheet, go to the ‘Insert’ tab and then 8 127
choose the type of chart you require from the
9 133
‘Recommended Charts’ drop-down list.
10 138
11 144
12 151
Temperature 13 157
Copy the data in the table below into a 14 160
spreadsheet and use the data to insert a
15 162
clustered column chart to show the temperature
across the year. Make sure your chart includes a 16 163
suitable title and labels for each axis.
Month Temperature (°C)
Jan 6 Checking in
Feb 8 ➊ Identify three ways in which the appearance
Mar 12 of a cell could be formatted.
Apr 13 ➋ When might we use conditional formatting?
May 17 ➌ What chart should we use to show the
Jun 21 percentage of students in the class who own
Jul 25 a pet?
Aug 22
Sep 15
Oct 10
Nov 6
Dec 1
Section heading 11
5 Modelling
Æ
Using spreadsheets for modelling Modelling is also used in financial decision making
Modelling allows us to predict what is likely to to work out, for example, how much profit will be
happen when something changes. It is used for made if prices change. It is also used by engineers
many different purpose, for example, for weather designing roller coasters to work out, for example,
forecasting, to predict what the weather will be like how variations in the design will affect the speed of
in the future. the roller coaster.
Spreadsheets are excellent for modelling because
it is easy to set them up and perform calculations
on data. It is also possible to try out lots of different
scenarios to find the best result.
Goal Seek
Goal Seek is a spreadsheet tool that allows you to
see how changing one value in a formula affects
another. It enables you to ask ‘what-if’ questions to
achieve a specific goal. For example, you can use it
to find out the price you need to sell an item for to
make a certain amount of profit.
To use Goal Seek, go to the ‘Data’ tab, click on
‘What-If Analysis’ and select ‘Goal Seek…’ .
Sweet shop
This spreadsheet allows us to set a budget (in this
case, £5) and then model how we can best spend
the money to buy a wide range of different sweets.
Look at the spreadsheet.
1 Think about how to format cells D13 to D21, cell
D23 and cell D25 as currency.
2 Write formulae for column D to calculate the
cost of whatever quantities of sweets are
entered into column C.
3 Write a function for cell D21 to calculate the
total cost of all the sweets selected.
4 Write a formula for cell D23 to calculate the
budget remaining, by subtracting the total cost 6 Think about how you would use Goal Seek to
from the budget amount. work out how many grams of Jelly Snakes you
5 Think about how to add conditional formatting can buy for your budget. In Excel, you need
to cell D21 so that the background colour is to open the Goal Seek dialogue box, enter
green if the total is less than or equal to the D21 in the ‘Set cell’ box, 0 in the ‘To value’ box
budget amount and red if the total is more than because you want your budget to end up at
the budget amount. zero, and C15 in the ‘By changing cell’ box.
12 Chapter heading
Cupcake challenge
You have decided to hold a charity cake sale. You
are going to use the cake and icing recipes below
to make 12 cupcakes.
Open the Cupcake challenge spreadsheet and
then follow the instructions below.
1 Enter a formula in cell E14 to calculate the cost
of 1 g of butter. Replicate this down to cell E20 to
calculate the unit cost of the other ingredients.
Make sure the cells are all formatted as
currency. Note that the cell value will show
£0.00 if the cost of 1 g or 1 ml of the ingredient is
less than 1p.
2 Enter a formula in cell E24 to calculate the
cost of the butter needed for the cake recipe,
making sure the cell is formatted as currency.
Then enter similar formulae in cells E25 to E28
to calculate the cost of the other ingredients
needed for the cake recipe, again making sure
the cells are formatted as currency.
3 Enter similar formulae in cells E32 to E35 to
calculate the cost of the ingredients needed for
the icing recipe. Make sure the cells are
formatted as currency.
4 Enter a function in cell C37 to calculate the total
cost of the ingredients needed to make 12 iced
cupcakes.
5 Enter a formula in cell C39 to calculate the total
cost of the ingredients needed to make one iced
cupcake.
8 Enter a formula in cell C55 to calculate the total
You now want to work out how much profit you will
profit/loss for the number of cupcakes sold. Add
make if you sell each cupcake for 50p.
conditional formatting to cell C55 so that the fill
6 Enter the number of cupcakes sold (12) into cell colour is light green if there is a profit, and pale
C49 and the selling price (50p) into cell C51. red if there is a loss.
7 Enter a formula in cell C53 to calculate the 9 Use Goal Seek to work out how many cupcakes
profit/loss per cupcake. You will need to you will need to sell if you want to make £25
subtract the cost price per cupcake from the profit for charity. Enter the number of cupcakes
selling price. in cell D59.
Checking in
➊ What is meant by modelling? ➌ What does Goal Seek enable you to do?
➋ Why are spreadsheets good to use for
modelling?
Section heading 13
14 Chapter heading
The Theme Park usually has 5000 guests per day 11 Add conditional formatting to cell C58 so that
and the entrance ticket costs £15. As well as the the background fill is light red if the profit is less
cost of the entrance ticket, each guest spends an than £50,000 and light green if it is higher than
additional £5 on food and drink. £50,000.
7 Format cells C48, C50, C52, C54, C56, C58 and 12 Work out the ideal ticket price the theme park
C62 as currency. should charge if it wants to make £75,000 profit
8 Enter a formula in cell C52 to work out the total per day. Enter the figure in cell C62.
income each day. The theme park is creating some new publicity
9 As well as the cost of running the rides, the materials. It would like to include a chart to show
theme park has staffing costs each day (£7500). what percentage of rides have each thrill factor.
Enter a formula in cell C56 to work out the total 13 Use functions to count how many rides there
expenditure each day. are for each thrill factor (cells B69 to B73).
10 Enter a formula in cell C58 to work out how 14 Insert a suitable chart to show the percentage
much profit the park will make each day. of rides for each thrill factor. Make sure that the
This is the total income minus the total chart has a suitable heading and shows the
expenditure. percentage of rides for each thrill factor.
Checking in
➊ Name three things you now know how to do
on a spreadsheet.
➋ Describe the three things you now know how
to do on a spreadsheet.
Section heading 15
16