Substitutive exercise 3 - Air Quality (400 p)
Substituting an obligatory exercise round
With this exercise you can ccmpensate one of the rounds 7 or 8. If You are missing minimum points from both rounds 7 and 8. you must complete substitutive excerclse 1 or 2 In addition to this one. In addition, you
must always complete as many substitutive exercises as you have rounds to subtitute.
To have the substitutive exercise replace an exercise round, you must get at least 300 points from ¡t. The points counted towards the round will not be any more even if you get more points from this exercise. They will
always be the minimum points of that round.
Initial preparations
Create a new project in Fclipsc with the name assignment 10_3. Then in this project create a module named for example “air_quality.
Description of the exercise
In the module air_quaIity write a program that reads air quality index data from a file as specified below.
Air Quality Index
Helsinki Region Fnvironmcntal Services Authority (I-ISV) collects hourly air quality data from all over the Helsinki metropolitan area and Uusimaa. The air quality index is used to represent the air quality The air quality
index is an integer that is determined by multiple different pollution measurements. The air quality is divided into verbal categories that arc the following:
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
30 | 31 | 1 | 2 | 3 | 4 | 5 |
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 | 1 | 2 | 3 |
Get Free Quote!
339 Experts Online