[软工]老师对大作业的答疑(二)
问题1.On page 2 paragraph 2, there is a sentence “Each route may be served
by a number of trains, but only one train is assigned to a particular journey at
a time. ”
I’m not sure what does it mean.
I have a few assumptions,
A.
I assign a train to Route 1 at 8:00, before the train came back to the central
station, I can’t assign a new train to Route 1.
B. I assign a train to Route
1 at 8:00, before the train reach the final station and began to return, I can’t
assign a new train to Route 1.
C. I assign a train to Route 1 at 8:00, and I
can’t assign another train to Route 1 at 8:00, if I really want to assign a new
train, I can only assign it at 8:01 or later. But I can assign a train to
another Route at 8:00.
Which one is the real meaning?
回答:Please read the definition about Route and Journey in the handout. Give you a real world example to help you get a better understanding about Route and Journey: London to Manchester is a Route, London to Brighton is another Route. On the Route London to Manchester, a train with number 90132 departs at 9am, this train is in the 9am Journey, no other trains can be on the same Journey. Of course you can assign trains after 9am. All your assumptions are valid and the example given in the handout is your assumption B. In the real world, all of your 3 assumptions are fine. To keep the design simple, you CAN use A or B.
问题2.
Can we use the codes we found on github or other online
resources? Would it be concerned as plagiarism?
回答:Depends. If you use a large amount of code -
then it is not your own work. If it is just about a piece of code, e.g. an
algorithm, yes you can but you need to give proper REFERENCE - the original
source of the code.
问题3.
Do we need to write weekly
reports?
回答:NO. Agile use daily stand up
meeting.
问题4.
What is “route timetable“ and what is “train
timetable”?
What will timetables decide?
The timetable only decide that
there should be a train and a driver for Route 1 at 8:00, but do not cares who
the driver is and which train it is, or the timetable exactly decides who and
which car should go at 8:00?
回答:Timetable is for the passengers, e.g. I want to go from London to Manchester, as a passenger, I want to know when the train will depart from London and when it will arrive Manchester. I do not need to know the train info and the driver info.
Should the manager choose a driver and a train when scheduling a
timetable? Or he just scheduled that there should be a journey at a particular
time (for example 8:00), but do not decide who the driver is and which train
should go, the decision would be made by the software?
回答:Timetabling and assigning driver etc are two separate(different) things. So you need to think about it.