Re: Project 1 (questions)


[ Follow Ups ] [ Post Followup ] [ CS1704 Discussion WWWBoard ] [ FAQ ]

Posted by hussein on July 06, 2000 at 13:39:21:

In Reply to: Project 1 (questions) posted by Stu on July 06, 2000 at 12:03:24:

: 1) Will input (either by user or from file) ever be illogical? ie - remove a flight that was never added?

yes. ignore such input and, optionally, display an error message.

: 1.a) How are we to respond to incorrect input from files if it exists (see q.1)? Resolve the problem interactively with user or output the problem command and explanation to a log file of 'ignored' erroneous batch commands and continue to the next one?

no, dont resolve the problem interactively. you can output an error to the screen before displaying the updated flight list. or you could once again just ignore the error.

i havent spoken about errors because i want to make that an option for creativity. if you dont handle errors, thats ok - but handling errors will give you easy creativity points.

: 2) Do I understand correctly that we are to display only 5 flights at a time but there may be up to 100 active flights at any given time?

yes.

: 2.a) If the above is true, then presumably we need a way to scroll through the list - correct?

no, because you cannot scroll in an airport display. flights are added and removed by someone in a back room somewhere ... you can only see the top "n" flights ... the rest should stay hidden until the earlier flights are removed ...



Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

Comments:

Optional Link URL:
Link Title:
Optional Image URL:


[ Follow Ups ] [ Post Followup ] [ CS1704 Discussion WWWBoard ] [ FAQ ]