< ><FONT size=3><FONT face="Times New Roman"><I>1.Software Development</I>. The following population model needs to be programmed:<p></p></FONT></FONT></P>
< ><FONT size=3><FONT face="Times New Roman"> <p></p></FONT></FONT></P>
< ><FONT face="Times New Roman" size=3>We have an </FONT><v:shapetype><v:stroke joinstyle="miter"></v:stroke><v:formulas><v:f eqn="if lineDrawn pixelLineWidth 0"></v:f><v:f eqn="sum @0 1 0"></v:f><v:f eqn="sum 0 0 @1"></v:f><v:f eqn="prod @2 1 2"></v:f><v:f eqn="prod @3 21600 pixelWidth"></v:f><v:f eqn="prod @3 21600 pixelHeight"></v:f><v:f eqn="sum @0 0 1"></v:f><v:f eqn="prod @6 1 2"></v:f><v:f eqn="prod @7 21600 pixelWidth"></v:f><v:f eqn="sum @8 21600 0"></v:f><v:f eqn="prod @7 21600 pixelHeight"></v:f><v:f eqn="sum @10 21600 0"></v:f></v:formulas><v:path connecttype="rect" gradientshapeok="t" extrusionok="f"></v:path><lock aspectratio="t" v:ext="edit"></lock></v:shapetype><v:shape><v:imagedata><FONT face="Times New Roman" size=3></FONT></v:imagedata></v:shape><FONT size=3><FONT face="Times New Roman">grid that holds individuals. Initially there is a random distribution of individuals in the cells. At any point in time the following happens:<p></p></FONT></FONT></P>
<P ><FONT face="Times New Roman"><FONT size=3>1.</FONT> </FONT><FONT face="Times New Roman" size=3>There is a probability </FONT><v:shape><v:imagedata><FONT face="Times New Roman" size=3></FONT></v:imagedata></v:shape><FONT size=3><FONT face="Times New Roman">that any one individual becomes 2 individuals.<p></p></FONT></FONT></P>
<P ><FONT face="Times New Roman"><FONT size=3>2.</FONT> </FONT><FONT face="Times New Roman" size=3>There is a probability </FONT><v:shape><v:imagedata><FONT face="Times New Roman" size=3></FONT></v:imagedata></v:shape><FONT size=3><FONT face="Times New Roman">that an individual dies.<p></p></FONT></FONT></P>
<P ><FONT face="Times New Roman"><FONT size=3>3.</FONT> </FONT><FONT face="Times New Roman" size=3>There is a probability </FONT><v:shape><v:imagedata><FONT face="Times New Roman" size=3></FONT></v:imagedata></v:shape><FONT size=3><FONT face="Times New Roman">that an individual moves to a neighbouring cell.<p></p></FONT></FONT></P>
<P ><FONT size=3><FONT face="Times New Roman"> <p></p></FONT></FONT></P>
<P ><FONT face="Times New Roman" size=3>Write pseudo-code for how you would program the above model.</FONT></P>
<P ><FONT face="Times New Roman" size=3></FONT> </P><FONT face="Times New Roman">
<P ><FONT size=3><I>1.Logical Modelling</I>. Consider the following collection of sensors:<p></p></FONT></P>
<P ><FONT size=3>We have a collection of temperature sensors. Each sensor has a location and can detect temperature in degrees Celsius with an accuracy of 0.5 degrees, and ranging from –10 to 110 degrees. The sensors communicate their temperature readings to an “aggregator” that determines the average, minimum and maximum values.<p></p></FONT></P>
<P ><FONT size=3>Use logic to write down how you would represent this system and its properties.<I><p></p></I></FONT></P>
<P ></FONT> </P>