can some1 help with dis assignment

Status
Not open for further replies.

darani

New member
Joined
Nov 3, 2005
Messages
3
Location
Mombasa
Programming Experience
Beginner
greetings,
i am kinda green at VB.net Programming, actually i am a beginner.
the assignment is of producing a model. below are the assignment instructions:
Introduction
The capital of Datalia is Datkin.
It has been decided to build a circular metropolitan railway round Datkin.
The Scenario
The railway line is to be perfect circle about the central point of Datkin, which is defined by a
statue of the founder of the city.
However, it has not been decided what the radius of the track should be nor the number of stations,
nor the locations of the stations.
The only pieces of data available, at this stage of the planning, are provisional costs for:
• Laying one kilometre of track
• Building a station.
Besides the total cost of laying the track and building the stations the planners would have to
consider many other implications including:
• How any track proposed would conflict with existing structures?
• The time taken for trains to travel between stations.
To help the planners it has been requested that a simple computer based screen model be produced.
The model would be of MDI design. The user interface would incorporate:
• A rectangular area containing a scaled map of Datkin.
• A fine rectangular grid would be superimposed on the map and the central point of Datkin
would be highlighted.
• A planner would be able to draw a provisional track by clicking on a ‘Track Tool’ and then
clicking on a point on the map thus defining the radius of the track.
• A planner would be able to place a station on the track by clicking on a ‘Station Tool’ and then
clicking on a point on the circular track. (Each station thus defined would be allocated
automatically a provisional name based on the address of the grid cell in which it has been
placed).
• A planner would be able to enter values for:
o Cost of track per kilometre
o Unit cost of building a station
o Average speed of trains (acceleration and retardation implications would have been catered
for)
o Average waiting time in a station
• A planner would be able to move to an ‘Analyse’ screen document to display such implications
of the proposed design as:
o Total cost of building
o List of the names of stations
o List of travel times between stations
• Finally, a planner should be given the option to save a design and associated analysis.
As this saved information might be used to form the basis of a report then for each saved design
such data as the image of the plan and all the input data and the computed data should be stored in a
suitable database.

Assignment
To produce a model as outlined above.
In order to do this it is essential that you make good use of the Object Oriented facilities of VB.Net.
Task 1 –
30 Marks
Design a MDI User Interface for all parts of the proposed model.
Produce detailed designs for each of the MDI documents including all the algorithms required. Pay
particular attention to error detection and correction.
Implement map and grid.
Task 2 –
15 Marks
Implement and test ‘the creation of the track’.
Task 3 –
10 Marks
Implement and test ‘the locating and naming of the stations’.
Task 4 –
15 Marks
Implement and test ‘the analysis of the design’.
Task 5 –
5 Marks
Design and set up a suitable database.
Task 6 –
10 Marks
Implement and test ‘the saving of the design’.
Task 7 –
5 Marks
System test the completed model giving suitable screen shots as evidence.
Task 8 –
5 Marks
Design and produce a User Guide to include screen shots of the system testing in Task 7.
Task 9 –
5 Marks
Produce a working copy of a compiled version of the completed system together with some
installation notes.

Additional Implementation Notes
As Datkin does not actually exist it might be difficult to locate a map. In which case, use the image
of any town map of your choice.
You have no concern about the conflicts of a proposed plan with existing structures on the city.
That would be the concern of others when observing the image of any design produced by the
model.
There is more that one way to program VB.NET to capture and save the image from a form or
appropriate control. The choice is yours but do not forget that you can get VB.NET statements to
‘press’ keys and manipulate the clipboard.
The distance between two stations is measured along an arc of a circle. Before you attempt to
program this revise your knowledge of the geometry of a circle.
 
Last edited by a moderator:
Status
Not open for further replies.
Back
Top