The application aims to simulate car radar systems, which use two radar devices to discover if a car passes the speed limit in between the two radars.
1) The application should simulate random number of cars with different random speed that varied during the simulation session.
2) The cars cross a road where one Radar point is located at the beginning of the road and another one at the end. The radar points detect the car speed in the moment it passes the point.
3) On the top of each car the following information should be displayed:
a. a unique random plate number of 4 digit.
b. the speed of the car (varied during the simulation .. for example a car speed could be 80km/h then accelerated to 140 km/h then back to 70km/h and so on
4) The user first initiates the simulation session by entering the following data:
a. The distance between the two radars (in km)
b. The speed limit (in km/h)
c. Simulation session duration (in second)
5) Based on the distance and speed limit entered by the user, the application calculates the average time needed to cross the distance between the two radar (in seconds)
6) The following statistics to be provided during the simulation and should also be included in a summary report upon the end of simulation session:
a. The car plates number and number of cars which cross one or two radar points with speed above the maximum speed.
b. The car plate number, car average speed, crossing time for cars that cross the two radar points with speed below the maximum speed but -based on the calculated average time- they exceed the speed limit between the two radar points. For example a car must be reported if it crossed the distance in time less than the average time needed, which means it exceed the speed limit while moving from the first radar to the other, even its speed was below the average in the moment it crosses the radars.
7) The user may interrupt and terminate the simulation at any time.
8) The application should contain nice and attractive graphical interface.