An environmental monitoring station tracks water salinity levels (in parts per thousand, ppt) across several estuarine research zones to protect a sensitive fish species. If a zone's salinity falls outside the safe range, marine biologists must be immediately alerted.
SET zoneSalinity TO [15, 12, 9, 21, 19, 22, 11]
An example output for the dataset above is shown:
Zone 2 is critical: 9 ppt
Zone 3 is critical: 21 ppt
Zone 5 is critical: 22 ppt
Write an algorithm to inform marine biologists of any critical zones. Use pseudocode or a programming language with which you are familiar.
Practise Edexcel GCSE Computer Science Constructs with exam-style questions for GCSE Computer Science. 61 questions covering Structural components of programs and Writing programs with control constructs, matched to the Edexcel GCSE Computer Science (1CP2) specification and written in Paper 1 and Paper 2 style. Every question includes a full worked solution and mark scheme, so you can see where marks are awarded rather than just whether you got the answer right.