Faculty of Computer Studies Course Code: M363 Course Title: Software Engineering with Objects
Tutor Marked Assignment Fall Semester 2017-2018
Cut-Off Date: 13, December 2017 Total Marks: 80
General guidelines:
You are required to submit your TMA ONLY AS A Word/PDF File through the Learning Management System (LMS) provided by your branch. Submit your TMA to the LMS system on (or preferably before) the cut-off date shown above. Your tutor will mark your script and post the grades to the LMS.
Plagiarism Warning:
As per AOU rules and regulations, all students are required to submit their own TMA work and avoid plagiarism. Plagiarism is a serious offence and 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 along 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.
Name of Student:
Signature:
Date:
M363 TMA Fall 2017-2018 Page 2
Question 1 10 Marks
This question analyses the students’ knowledge in latest “software and data distribution model”. This question will guide the students to know the importance of literature research, referencing and citation which help them to proceed with their graduation project. 1.1 What is Software as a Service (SaaS)?
1.2 Provide at four examples for SaaS
1.3 List any four advantages of using SaaS
1.4 List any four disadvantages of using SaaS
1.5 What is Data as a Service (DaaS)?
Students are required to follow the instructions given below to answer this question.
2 Marks for each for the correct answer with proper referencing using standard form of references
Kindly follow the instructions given below for answering question- 1
You must provide at least FIVE references in the Harvard Referencing format of referencing, excluding Wikipedia and YouTube. References should be latest (year 2012 onwards) You can complete this task using the e-library and other external sources; you need to search the AOU-elibrary and the internet to identify relevant material. In particular, you are urged to use the following sources, all of which are freely available to AOU students: AOU’s subscribed e-library, accessible through the LMS which includes a number of different resources o Google books o Google scholar Quoting and Referencing.
When you wish to quote other materials, then you must clearly acknowledge the source according to accepted rules of citation and referencing. You can use the MSWord
referencing tool to facilitate including references and citations in the proper format. The following link shows you how to use this feature: http://office.microsoft.com/en-us/word-help/create-a-bibliographyHA010067492.aspx
Note that it is not enough to simply post a reference at the end of the document without explicitly stating which parts of your document are being quoted. Proper citation of external sources must be included in order to receive mark for this question.
M363 TMA Fall 2017-2018 Page 3
Question2 25 Marks This question analyses the students’ knowledge and understanding in analyzing given scenario to identify functional requirements, non-functional requirements, business processes, business rules, use case scenario and practical skills to build use case diagrams studied in Unit-2 and Unit-3 of the module Answer questions from 2.1 to 2.7 from the below given scenario:
“Nature Lovers”, a plant and flower shop is in the process of expanding their business. In order to achieve this, the shop management would like to start an online website with following requirements:
The shop management wished to have a website which uses lots of animation and shall handle up to 10 users simultaneously. Guest users should be able to view the available items and if they would like to be a customer they have to register in the system. When creating an account, a username and password should be chosen. Once they became customers they will be able to search for items, order items, pay online after providing the credit card information, and they will be able to write feedback. The system should verify the login credentials such as user name and password. The system verifies the credit card information and, if approved, the order is finalized, and sends a confirmation message to the customer.
The shop employee is responsible for managing the orders, add items, delete items, update customer database by sending a message to the customer. They will be able to do the activities only after logged in to the system. The administrator can check the status of online orders; check inventory, order inventory along with sending request to supplier, update inventory, and update supplier information in the database. He/she will be able to do the activities only after logged in to the system. The supplier will be able to submit quotation and add new item along with their prices. They also will be able to add details of any special discount offers only after specifying the type of the item with the discount. They must first log into the system to proceed with any of these activities. The shop management wished to have a system which allows the customers to pay in different currencies. 2.1 Identify four business processes from the above scenario 2 Marks 2.2 Identify two business rules from the above scenario 2 Marks 2.3 List two functional requirements along with their types 2 Marks 2.4 List two non-functional requirements along with their types 2 Marks 2.5 List the actors of the proposed system 1 Mark
2.6
Write textual description for any one use case which should include precondition, post condition, main success scenarios, extensions.
8 Marks
2.7 Draw a use case diagram for the above scenario 8 Marks
M363 TMA Fall 2017-2018 Page 4
Question 3 15 Marks This question analyses the students’ knowledge and understanding in analyzing given scenario and practical skills to build activity diagrams studied in Unit-3 of the module
3.1
What is an activity diagram? Give one reason for modelling a workflow in an activity diagram.
5 Marks
3.2
The following paragraph depicts the business process for submitting an order quotation from supplier for the “Nature Lovers” scenario mentioned in question-2. Draw an activity diagram to show the business process for processing a painting order The process starts when the supplier login to the system The system verifies the user credentials, if correct, suppler can proceed otherwise the process will end The supplier fill the form, to complete the form, the supplier must provide item details. If the supplier has not given the item details earlier, they have to provide them now otherwise they can review the item details The supplier can submit the quotation The system validates the information supplied, if correct send confirmation to the Administrator to proceed with otherwise the process will end The Administrator update the inventory database and send message to supplier The supplier receives the message and the process end
10 Marks
Question 4 15 Marks
This question analyses the students’ knowledge and understanding in analyzing given scenario and practical skills to build class diagrams studied in Units 3,4 and 5 of the module
4.1
Briefly describe the need for constraints on class models.
2 Marks
4.2
It is desired to develop an online ordering database for the “Nature Lovers” scenario mentioned in Question-2. The plant and flower shop would desire to have a system to keep track of its employees, customers and items. Answer Questions 4.2.1 and 4.2.2 from the below given scenario.
M363 TMA Fall 2017-2018 Page 5
The plant and flower shop has registered with a registration number, a title, address and phone number. The shop has one or many employees working with them. For each employee, we keep an employee id, a first name, a middle name, a last name, an address, a telephone number and a salary.
For each customer, we need to keep a customer id, first name, middle name, last name, title, telephone number and address. A customer may make zero or more orders. For each order, we maintain a unique order id, a date, a time, and any special discounts offered on the whole order. Each order is taken by exactly one employee. One employee may deal with one or more customers.
A single order must be associated with a single order item. The order item details to be stored are item ID, quantity, item description and unit price. The shop inventory stores one or many item. For inventory, we keep a unique number, type, description quantity and a sale price. The shop stores three types of items in their inventory, plants, fresh flowers and dry flowers. There are managers assigned to each outlet of the shop. The manager may track one or many orders and manage shop’s inventory. The manager details to be stored are unique ID, name and address.
4.2.1
Identify the classes and their attributes from the given scenario
3 Marks
4.2.2
Draw a class diagram for the scenario; the diagram should include all classes in the system, the relationship between classes, multiplicity specifications and any necessary association names.
10 Marks
Question 5 15 Marks
This question analyses the students’ knowledge and understanding in analyzing given scenario and practical skills to build sequence diagrams studied in Units 6 of the module
5.1
Differentiate between Sequence diagrams and Communication diagrams
3 Marks
5.2 It is desired to develop an online payment system for the customers once they have confirmed the order for the “Nature Lovers” scenario mentioned in Question-2.
12 Marks
M363 TMA Fall 2017-2018 Page 6
Draw a sequence diagram for the below scenario, you are required to identify relevant methods according to the steps.
Flow of Events in the online payment activity: Customer confirms the order and goes to online payment option The system asks the customer to enter card number Customer enters card number System verifies account number with the card provider System prompts for entering pin number Customer enters the pin number System prompts for security code Customer enter the security code System Administrator verifies the submitted details A message to add amount to inventory will be sent The system accounts will be added and updated System receives successful receipt of transaction from system accounts The customer receives a confirmation message from the System Customer exits from the online payment option
End of TMA