حل واجب tma M256

Faculty of Computer StudiesM256Software Development with ****Spring 2015/2016Tutor Marked Assignment

Cut-Off Date: May 4, 2016 Total Marks: 100Plagiarism Warning:As per AOU rules and regulations, all students are required to submit their own TMA work and avoid plagiarism. The AOU has implemented sophisticated techniques for plagiarism detection. You must provide all references in case you use and quote another person's work in your TMA. You will be penalized for any act of plagiarism as per the AOU's rules and regulations.Declaration of No Plagiarism by Student (to be signed and submitted by student with TMA work):I hereby declare that this submitted TMA work is a result of my own efforts and I have not plagiarized any other person's work. I have provided all references of information that I have used and quoted in my TMA work.**** of Student:Signature:Date:2Question 1 [15 Marks]:Draw the object diagram which can best describe the following scenarios:‚· One tutor can teach from 10 to 15 students.‚· Each member can borrow up to 6 books.‚· The doctor can be consultant doctor or junior doctor.Question 2 [5 Marks]:Can the system under consideration be represented as an actor? Justify your answer.Question 3 [30 Marks]Draw a use case diagram for a ticket distributor for a train system. The system includes two actors: a traveler, who purchases different types of tickets, and a central computer system, which maintains a reference data**** for the tariff. Use cases should include: BuyOneWayTicket, BuyWeeklyCard, BuyMonthlyCard and UpdateTariff. Also include the following exceptional cases: Time-Out (i.e., traveler took too long to insert the right amount), ransactionAborted (i.e., traveler selected the cancel button without completing the transaction), DistributorOutOfChange, and DistributorOutOfPaper.3Question 4 [30 Marks]The figure below shows a kids phone. The phone is designed to serve children and help them to communicate with their parents when they are out of home.Assume that whenever the childe presses the buttons, a special sound will be played. The phone is programmed to receive calls only from known numbers. In addition, the child can dial some numbers which are previously programmed from the address book. The phone also vibrate and produces sound when someone is calling. At the same time, it shows the message on the phone screen. ****d on the above de******ion and assumptions, answer the following questions:4Q4-A: What is the age group that this phone is targeting? Justify your answer. [10 Marks]Q4-B: Do you consider the above design suitable for the targeted group? Are there any design mistakes? Justify your answer and re-design the phone to avoid any existing mistakes (if any). [20 Marks]

Question 5 [20 Marks]Consider the following class diagram to answer the questions below:Q5-A: What is the type of the relationship between the classes? [10 Marks]Q5-B: Re-draw the above diagram to optimize its design and avoid the redundancy of the classes’ attributes. [10 Marks]-- End of Questions –