We know the secret of your success
PAPER TITLE: SOFTWARE DEVELOPMENT WITH JAVA
DATE: Tuesday, 11 October 2011
PART 1
Question 1 Which two of the following statements about software development are true?(Select two options)
ANSWERS(Purchase full paper to get all the solution)
A. A predictive approach to software development has the advantage of simplicity of planning.
D. If Java is adopted as the target language in a software development process, then Javadoc can be used to document the development process
Question 2 Which two of the following statements relating to the requirements specification process are true?
(Select two options).
Question 3 Which two of the following statements relating to the requirements specification process are true? (Select two options)
‘The Discharged Patients report should be printed on a separate page for each ward in the hospital.'
'It should be possible for the hospital reports to be output in PDF format.'
'Patients listed in the Discharged Patients report should be grouped by the consultant who treated them.'
'A hospital report should be accessible from any of the terminals in the hospital within 500 milliseconds of its being requested'.
Question 4 Which two of the following statements about conceptual modelling are true? (Select two options)
Question 5 Which two of the following statements can be deduced from the given information and class diagram in Figure 1? (Select two options)
Question 6 Based on the information in the panel labelled Figure 1, which two of the following statements are true? (Select two options)
Lecturer.
Each Department object is linked via isHeadedBy to a Professor object.
The Professor object linked to a Department object via isHeadedBy is linked to the same Department object via isMemberOf.
A Department object linked via isMemberOf to a Professor object is linked to the same Professor object via isHeadedBy.
Question 7 Which two of the following statements about object-oriented software development are true? (Select two options)
Question 8 Which two of the following statements about component based software development are true? (Select two options)
Question 9 Which two of the following statements are true? (Select two options)
Question 10 Two message answers, message answer 1 and message answer 2, are missing from the sequence diagram in Figure 2. Which one of the following statements correctly describes the missing message answers? (Select one option)
Question 11 Which two of the following statements could be a correct identification of the walkthrough steps indicated by the notes X, Y and Z in the sequence diagram in Figure 2? (Select two options)
Question 12 On the basis of the information in Figure 2, which two of the following statements are true? (Select two options)
Collection getActivitiesAndLeaders(Member aMember)
Map getActivitiesAndLeaders(Member aMember)
Trainer getLeader()
Question 13 Which two of the following statements relating to detailed design are true? (Select two options)
Question 14 Which two of the following statements about implementing and testing object-oriented software are true? (Select two options)
Question 15 Consider the following sequence diagram.
Figure 3
On the basis of Figure 3, which two of the following options represent an appropriate order in which the methods involved should be implemented? (Select two options)
A.
1. register(aStudent, aCourse)
2. hasReserved(aStudent)
3. addStudent(aStudent)
4. addCourse(aCourse)
B.
1. addCourse(aCourse)
2. addStudent(aStudent)
3. hasReserved(aStudent)
4. register(aStudent, aCourse)
C
1. hasReserved(aStudent)
2. addCourse(aCourse)
D.
??????1. hasReserved(aStudent)
Question 16 Which two of the following statements about user interface design principles are true? (Select two options)
Question 17 Which three of the following statements about user interface design are true? (Select three options)
Question 18 Which two of the following statements about building graphical user interfaces are true? (Select two options)
Question 19 Which two of the following statements are true? (Select two options)
Question 20 Which two of the following statements are true? (Select two options)
PART 2
Question 21 (20 marks)
A holiday company needs a system to record information about its Mediterranean cruises over the course of a single summer. No other historical or future information needs to be kept. Here is the relevant part of the requirements document for this system.
System domain
The company has several ships and runs many summer-long Mediterranean cruises each year. Each cruise uses a single ship and each ship is used by exactly one cruise each summer.
Every ship has a unique name (e.g. ‘Destiny’) and has between one hundred and three hundred cabins, which are of two different kinds:
There is no minimum number of passengers on a cruise. A passenger goes on precisely one cruise each summer.
Each cruise offers at least twenty day -long excursions to a number of Mediterranean ports. Each excursion on a particular cruise is to a different port, but a port can be used for excursions by a number of different cruises. Each excursion is offered by a single cruise and has a limit on the number of passengers from that cruise who may join it. For each excursion the passengers on the cruise may each opt to join the excursion (so long as the excursion’s limit is not exceeded).
Use cases
Display cruise’s passengers. The administrator identifies a cruise. The system displays the name of the ship used by that cruise and, for each passenger on that cruise, the name and address of the passenger and the number of the ship’s cabin in which the passenger resides.
Display cruise itinerary. The administrator identifies a cruise. The system displays the start date of the cruise, the name of each port that the cruise will offer an excursion to, and the date of the excursion.
Record passenger’s excursion. The administrator identifies a passenger and an excursion. The excursion must be offered by the cruise that the passenger is on.
If the excursion’s passenger limit has been reached then the system informs the administrator of this.
Otherwise the system records that the passenger is joining the excursion.
Figure 4 is an incomplete conceptual model with four classes missing.
(2 marks)
Your answer should include:
(i) a complete class diagram (8 marks)
(ii) class descriptions (you may omit all comments). (5 marks)
e. State in real-world terms a constraint that is evident from the requirements document and that should be modelled by including an invariant different to that in (d) in your conceptual model. The constraint should not be related to the uniqueness of attribute values. There are several such constraints; only one is required. (1 mark)
Question 22 (20 marks)
This question is about developing a system concerned with reservations for tables in a chain of restaurants.
Each reservation is made by a customer for a table in a restaurant. A customer may have no more than one reservation for a particular date. No more than one reservation may be made for a particular table on any date. When a customer arrives at a restaurant in which they have reserved a table for the current date all details of the customer’s reservation are destroyed, but a record is kept of the fact that the customer has eaten at the restaurant.
The following is an extract from a structural model being developed for this system. Only attributes that might be relevant for this question are shown in the class descriptions.
The following object diagram shows the relevant objects and links for a particular scenario of this use case, before the use case is initiated.
Purchase full paper by adding to cart
Last updated: Sep 02, 2021 12:27 PM
Your one-stop website for academic resources, tutoring, writing, editing, study abroad application, cv writing & proofreading needs.