Skip to content

Course home

Sign up

Data types and structures

EasyMedium
12345678910111213141516171819202122232425262728293031323334
Question 5

Beatrix is developing a glaze calculation program to digitise her pottery studio recipes.

Here is her recipe for a Celadon Green Glaze:

Celadon Green Glaze Formulation

  • 40 grams – Potash Feldspar
  • 30 grams – Silica (Quartz)
  • 20 grams – Whiting
  • 10 grams – Kaolin
  • 2 grams – Red Iron Oxide
  • 0.5 litres – Distilled Water
  • 5 millilitres – CMC Gum (Suspending Agent)

She stores this recipe in her software. One variable has already been created to hold the weight of the Potash Feldspar, and another variable has been created to hold the weight of the Kaolin.

State two additional variables that need to be created to store the remaining ingredient data for this glaze recipe.

[2]
Markscheme

Data types and structures Questions

  1. GCSE
  2. /Computer Science
  3. /Data types and structures

44 exam-style questions on Edexcel GCSE Computer Science Data types and structures, covering Primitive and structured data types, Using variables and constants, and Manipulating strings. Each one has a worked solution and a mark scheme showing where the marks go.

Question bank