Category Archives: 2. Software Development

Today’s little problem

So this got the heart racing today for some of you 🙂

Another subprogram in the building management software is used to find the range of temperatures in a building in one day. The temperature is recorded every 15 minutes within a 24 hour period and stored in a list.
Use pseudocode to design one algorithm to find both the highest and lowest temperatures in this list. (5Marks)

It was from the 2010 past paper, I asked you to code out the program. This program looks complicated but was a walk in the park for some people in the class, the rest of you need to go over the standard algorithms.

I gave you this snippet of code to create the data.

For counter = 1 To 96

temps(counter) = Int((Rnd() * 30) + 1)

Next Continue reading Today’s little problem