Skip to content

Course home

Sign up

Data types and structures

EasyMedium
12345678910111213141516171819202122232425262728293031323334
Question 14

Aromas & Co. are digitising their perfume compounding formulas to automate their mixing machines.

Here is the formulation for their signature 'Midnight Jasmine' Eau de Parfum:

  • 150 ml - Denatured ethanol
  • 12 ml - Jasmine essential oil
  • 8 ml - Sandalwood essential oil
  • 5 ml - Bergamot essential oil
  • 0.5 grams - Fixative powder (DPG)
  • 15 ml - Distilled water
  • 3 drops - Ambergris tincture

They store their formulations on an automated compounding system. One variable has already been created to hold the volume of the ethanol, and another variable has been created to hold the weight of the fixative powder.

State two additional variables that need to be created to store the remaining formulation data for this perfume 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