We know the secret of your success
PAPER TITLE: SOFTWARE DEVELOPMENT WITH JAVA
DATE: Monday, 13 October 2008
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)
C. Maintenance can involve adding extra functionality to the system.
E. A structural model contains object diagrams which illustrate the interactions within the operational system.
Question 2
Consider the following diagram.
Which two of the following statements relating to this diagram 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 memory requirements of the software should not exceed 15 Mb’
‘The software should allow the user to view all of their scores as the game progresses’
‘The software should be compatible with Windows Vista’
‘An unauthenticated user must not be allowed to view players’ scores’
Question 4
Which two of the following statements about conceptual modelling are true? (Select two options)
Every conceptual model should contain a representation of at least one event in the system domain.
Question 5
The following is an extract from a requirements document for a leisure centre’s system.
Each swimming class at the leisure centre is led by two swimming teachers and each teacher leads between one and five swimming classes. Each pupil takes part in just one class, and each class has to contain at least four pupils. Each teacher and each pupil must have a unique membership number.
On the basis of the above information alone, which one of the following class diagrams would be the most appropriate as part of a conceptual model for this system? (Select one option)
Question 6
The following is an extract from a requirements document for a property management company’s system. The class diagram is intended to form part of a conceptual model for the system.
Extract from requirements document:
Each client of the company is either a tenant, who rents at least one property, or a landlord, who owns at least one property. Landlords may also rent property, though a landlord cannot rent a property they own. The company deals with property of many kinds, including houses and apartments.
On the basis of the above information, which three of the following statements are true? (Select three options)
Each Tenant object must be linked to at least one Property object via rents.
Each Landlord object must be linked to at least one Property object via owns.
If a Landlord object aLandlord and a Property object aProperty are linked via owns then aLandlord and aProperty cannot be linked via rents.
Question 7
Which two of the following statements are true? (Select two options)
Question 8
Which three of the following statements about designing software are true? (Select three options)
Question 9
Two message answers (message answer 1 and message answer 2) are missing from the sequence diagram in Figure 10. Which one of the following statements correctly describes the missing message answers? (Select one option)
A.
message answer 1:
{table5, table6, table7}
message answer 2:
{(table5, waiter1), (table6, waiter1), (table7, waiter2)}
B.
{(waiter1, table5), (waiter1, table6), (waiter2, table7)}
C.
{(table5, waiter1), (table6, waiter1), (table7, waiter2)} message answer 2:
D.
{(table5, table6, table7), (waiter1, waiter1, waiter2)} message answer 2:
{(table5, table6, table7), (waiter1, waiter1, waiter2)}
Question 10
Which one 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? (Select one option)
Question 11
On the basis of the above information, which two of the following statements are true? (Select two options)
Waiter getWaiter()
Collection getWaiter()
Question 12
Consider the class diagram below for a school administration system and the sequence diagrams (a) and (b) that follow it. Each sequence diagram illustrates a design for the same use case, Remove all Pupils from Form. school is the coordinating object and the coordinating class is SchoolCoord.
form1 can be described as an information expert for the task of removing all pupils from the form it represents.
Question 13
Which two of the following statements relating to detailed design are true? (Select two options)
Question 14
Which three of the following statements about implementing and testing object-oriented software are true? (Select three options)
Question 15
Which two of the following statements about implementing object-oriented software are true? (Recall that in M256 the first code iteration is the first stage in implementing a core system.) (Select two options)
Question 16
Which two of the following statements about user interfaces and their design are true? (Select two options)
Question 17
Question 18
Which two of the following statements about building a graphical user interface (GUI) from a given design sketch for a use case are true? (Select two options)
Question 19
Question 20
PART 2
Question 21
A chain of hairdressing salons needs a system to record information about the salons, and about the appointments and training sessions held in them in a given month (no other historical or future information about appointments or training sessions needs to be kept by this system). Here is the relevant part of the requirements document for this system.
System domain
Each hairdresser is either a trainee or a trained stylist. Trained stylists are at one of two levels: junior and senior. Each salon employs at least three stylists and up to five trainees. A stylist works in a single salon but a trainee may work in one or more salons.
Each trainee has a mentor, who is one of the stylists at one of the trainee’s salons. A stylist may mentor any number of the trainees working at the same salon. At the beginning of each month at least one individual training session is planned for each trainee during that month, to be led by the trainee’s mentor. This need not take place in one of the trainee’s salons, but can be in any salon.
A client must make an appointment with a specific hairdresser. Both appointments and training sessions last for an hour. A hairdresser may only be involved in one appointment or training session at any given time.
Use cases
Appoint new hairdresser. The administrator supplies the details of the new hairdresser (name, date of birth and address) and informs the system whether the new hairdresser is a trainee or a stylist. The system records this information.
If the new hairdresser is a trainee the administrator identifies the salon(s) in which the trainee will be working, and the stylist working in one of these salons who will mentor the trainee. The new trainee must not cause the trainee limit at any of the salons to be exceeded. The system records this information.
If the new hairdresser is a stylist the administrator identifies the salon in which the stylist will be working, and informs the system whether the stylist is at junior or senior level. The system records this information.
Book appointment. If the client is already known to the system the administrator identifies the client, otherwise the administrator provides the client’s name and phone number. The administrator identifies a hairdresser and provides a date and time for the appointment.
If the hairdresser is already occupied at this date and time, with either another appointment or a training session, then the system informs the administrator of this.
If the hairdresser is free then the system records the appointment with the hairdresser made by the client.
List training sessions . The administrator identifies a salon. For each training session due to be held at that salon in the current month the system lists the date and time of the session along with the names of the trainee and the stylist involved.
Here is an incomplete conceptual model with four classes missing.
Question 22
The following is an extract from a structural model for a system for a company that hires out cars on a daily basis. It is incomplete but contains all the information required by this question.
Note the following:
Question 23
The following is an extract from an implementation model for an administration system for a hotel. It is incomplete but contains all the information required by this question. It consists of a class diagram, class descriptions, and some invariants. The system uses the class Name from the package m256people as specified on pages 14 and 15 of the M256 Handbook, as well as the class M256Date.
You may want to skim through this model first to get an overview. Refer to it as required when you are answering the question.
(a) Write code for the method getNumberOfReservations() of the class Room, including a Javadoc method comment.
Here is a description of a use case of this system, List Rooms and Guests for Date.
List Rooms and Guests for Date. The receptionist provides a date. For each reservation on that date the system displays the corresponding room number and guest name.
The following object diagram, walk-through and sequence diagram form a dynamic model for this use case. hotel is the coordinating object.
Purchase full paper by adding to cart
Last updated: Sep 02, 2021 01:10 PM
Your one-stop website for academic resources, tutoring, writing, editing, study abroad application, cv writing & proofreading needs.