Data types and structures

EasyMedium
1234567891011121314151617181920212223242526272829303132333435
Question 24
Easy

Oliver wants to digitise his bakery recipes to manage his inventory and production.

Here is Oliver's recipe for a Cranberry Walnut Sourdough loaf:

Oliver's Sourdough Bakery: Cranberry Walnut Sourdough

  • 0.5 kilograms - Strong white flour
  • 0.35 litres - Water
  • 0.15 kilograms - Sourdough starter
  • 10 grams - Salt
  • 0.12 kilograms - Dried cranberries
  • 0.08 kilograms - Chopped walnuts
  • 1 Tablespoon - Honey

He stores his recipes on a computer system. One variable has already been created to hold the weight of the flour, and another variable has been created to hold the weight of the cranberries.

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

[2]

Data types and structures Questions

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