Sie sind auf Seite 1von 8

APPROVED__________________________________________________________

EXAMINATION PAPER:

ACADEMIC SESSION 2010/2011

Campus School Department Level TITLE OF PAPER COURSE CODE Date and Time

Maritime Greenwich Computing and Mathematical Sciences Computer Sciences Four Systems Building 1 COMP 1152 May 2011 - 3 hours

You MUST answer FOUR questions. You MUST answer question 1. Marks will be awarded for your best THREE answers to the remaining FIVE questions. If you answer more than THREE questions of the remaining FIVE, marks will ONLY be awarded for your THREE best answers. Each question is worth 25 marks. You have additional 15 minutes reading time for the case study in the appendix.

Systems Building 1 COMP1152

APPROVED__________________________________________________________

Questions 1- 4(a) refer to the SimplyTheBest (STB) case study in the appendix.
You MUST answer question 1. 1. (a) Draw an UML class diagram based on Paragraphs 7 and 8 of the STB case study. Look for opportunities to use the generalisation and composition and/or aggregation symbols. You should include main attributes and methods that capture the important states and behaviours of the major classes. Do not model aspects that are not mentioned in these paragraphs of case study. [12 marks] (b) Create a Crows Foot ERD based on Paragraphs 3, 4 and 5 of the STB case study. Show the main entities, attributes and relationships. You should clearly label the relationships and indicate multiplicities and inclusiveness of them. [13 marks]

2.

Using UML, construct a use case model based on Paragraphs 7 and 8 of the STB case study. You should identify ALL the main actors and as many as possible use cases for each of the actors identified. Look for opportunities to use <<include>> and/or <<extend>> relationship. For any extension you should also indicate extension point(s). [25 marks]

Systems Building 1 COMP1152 Page 2 of 8

APPROVED__________________________________________________________ 3. (a) Construct an UML sequence diagram for the scenario where a STB Customer gets an online order form, fills in the form and submit the order. The system will save the order in a databases and if succeeded will display a confirmation message to the Customer. [10 marks] Draw an UML state machine diagram for an object of the Order class of the STB case study. When an order is initialised upon receiving a Customer request, it will be waiting for a quotation. When the quotations come back from the different suppliers/manufactures, they will be compared/checked and assembled according to the original order. A response will be sent to the Customer for consideration. If the Customer confirms Order, the corresponding requests for production will be sent to the suppliers/manufacturers. You should identify and depict the main state and state transitions; indicate any triggers that cause these transitions and the guard conditions if any. [15 Marks]

(b)

4.

(a)

(i)

Explain, including reasons, which of the Normal Forms (NF) is an appropriate description of Form 2 of the STB case study. [5 marks]

(ii)

If the data shown on the form in Form 2 of the STB case study were to be normalised to at least 3NF for storage in a relational database, write the outcomes of 1NF, 2NF and 3NF as appropriate as you carry out the normalisation. Alternatively draw the resulting 3NF tables with relationships and fields that you would use in a database. You must indicate primary/foreign keys (Hints: you can do so by underlining the primary keys such as X1 where X1 is a primary key, and adding an * to the foreign keys such as Y1* where Y1 is a foreign key) [8 marks]

Question 4(b) 6 do not refer to SimplyTheBest case study

Question 4 continues on the following page

Systems Building 1 COMP1152 Page 3 of 8

APPROVED__________________________________________________________ Question 4 continued: Police were called in to search for the two discs, which contained the entire database of child benefit claimants and apparently got lost in the post in October 2007. They were posted from HM Revenue and Customs offices in Tyne and Wear, but never turned up at their destination - the National Audit Office. The loss, which led to an apology from Prime Minister Gordon Brown, created fears of identity fraud. Critically discuss issues raised by this news item in regard to the Data Protection Act (DPA) 1998, for instance if your personal data were lost this way would you be worried and why? Explain your answer according to the eight principles of the DPA 1998 but focus only on security measures to protect the data, individuals rights in regard to their personal data, for how long the data should be kept and if the data may be transferred outside the EEC. [12 marks]

(b)

5.

(a)

Copy into your answer sheet and complete the table below (Figure E2). For each entry draw and name four symbols used in that sort of diagram (e.g. arrows/shapes/characters). E.g. a UML use case diagram might include: Interaction UML State Machine Symbols Used UML Class and Use case

Chen ERD

Figure E2
[12 marks]

(b)

Discuss with at least three points for each diagram type, why you would use or not use the UML use case and the UML sequence diagrams during system building. (Hint: you could say that the UML use case diagram would be good for and not good for because The UML sequence diagram would be good for and not good for because ) [13 marks]

Systems Building 1 COMP1152 Page 4 of 8

APPROVED__________________________________________________________ 6. (a) Describe the Waterfall System Development Life Cycle (SDLC) model in terms of the main stages/phases, the main activities and the important documentations generated in each stage/phase. [12 marks] (b) Suppose you are responsible for planning a development project for a large banking system. (i) Will you use the Waterfall model? Explain your answer. [6 marks] (ii) Will you use the code-and-fix model? Explain your answer. [7 marks]

Systems Building 1 COMP1152 Page 5 of 8

APPROVED__________________________________________________________ Appendix (the case study is to be used for Question 1-4(a) only) SimplyTheBest (STB) - the Toy Manufacturer Case Study

The company
1. STB is a supplier/manufacturer of widely recognised international brands of toys in China. It has offices in Shanghai and Hong Kong. It employs over 300 office staff and has a factory in Guangdong, China. The company now increasingly outsources most of its production to a growing number of third party manufacturers from within China as well as in the South East region of Asia. 2. The managing director of STB Mr. Michael Chang has realised that one of their emerging competitors from the Tianjin special economic region near Beijing has installed a highly efficient database system and their lead time (the time from the order is made to the products are delivered) has been cut down dramatically. Mike is a graduate from the Business School of Greenwich University, U.K. and has a good connection with the company at Greenwich where you work as an IT system consultant. He has requested to meet up with you to discuss a possible solution that would computerise an order processing system first and then in the near future a web-based B2B (business to business) system which will allow the suppliers/manufacturers, the customers (e.g. large department stores) and other independent retailers to conduct business with STB.

Order Processing, Production and Delivery


3. The company receives a large amount of orders from customers mainly in North America, Japan and Singapore. Some of these orders come with conditions including 'delivery by' dates, environment-friendly packaging etc. Currently orders and production requests are broken down and relayed to the appropriate suppliers for quotations. The responses are made through faxes, email and phone calls. Replies are chased, collected and collated at one of the offices of STB before a response can be sent to the customer. If an order is confirmed, the corresponding supplier will be contacted and a production request will be made of to the supplier. A production request may be for one or more items including toys (for example soft toys, dolls, games like chess, scrabble, snakes and ladder, mechanical toys like cars, and electronic toys), partially finished toys or specific parts of toys. Orders/requests will normally be dispatched and delivered through logistic companies such as Parcel Force or the Federal Express. Orders are always delivered/shipped as a whole (i.e. in one go), but a shipment/delivery may contain more than one order/request. 4. Upon receiving an order enquiry, a STB staff will contact a number of manufactures for a quotation. Normally several potential suppliers will be approached in order for STB to secure the best possible terms and conditions and prices. Staff may need to chase a supplier for a quotation. Once a quotation is received, it will be collated with the order and the prices, lead time

Systems Building 1 COMP1152 Page 6 of 8

APPROVED__________________________________________________________ and terms and conditions are compared/checked. If satisfactory, an order response will be assembled and send to the customer. The customer will confirm or reject the order. If the customer decides to proceed, STB will get a confirmation. STB staff will send requests for production to the suppliers/manufactures and sign a contract with them. The order will be archived for later use. 5. The supplier will deliver the requested product according to the terms of the contract. Shipments of the products are carried out by the logistic companies. One shipment may be for many orders and an order may contain many products, but an order will always be delivered via the logistic company in whole. 6. The manual processing of orders at STB, which often involves coordination of a large number of retailers, manufacturers and logistics, turns out to be very time consuming and often error-prone. In their Shanghai office alone, more than a hundred people are employed and a typical order cycle will normally be around several weeks. During festive seasons such as Christmas or the Chinese New Year, the situation can become much worse. Form 1: Customer order form Customer Order Customer Name Customer Number Address Order Number Order Date

Payment method (tick as applicable) Cheque Credit Card Product Name Product ID Product Qty Unit Cost

Items ordered 1 2 3 4

Total Order Delivery Date

Systems Building 1 COMP1152 Page 7 of 8

APPROVED__________________________________________________________ Form 2: Production Request Form Production Request


PR No. .. Supplier No . Supplier Name .. Date of order .. Signature . Expected Delivery Date .. Supplier Item # Item Description Supplier Contact Info:

Unit Size

Unit price

Quantity

Sub Total

Electronic Commerce (eCommerce) Potential


7. Apart from the order processing system, Mike is considering an eCommerce solution for his company in the near future. As an online shopping enthusiast he has little doubt the benefits of a Business to Business (B2B) website where users such as suppliers, manufactures and retailers (aka customers from the STBs point of view) can conduct their business online. For instance, a customer may browse an online category of products, place orders, check order status, cancel orders and get quotation information. Staff of STB can make a request for a quotation or for production and check the status of the requests. The STB staff will also be responsible for processing user registrations, as registration is required before anyone (manufacturers, retailers etc.) can use the website. Each user will be provided with a user id and a password once successfully registered. 8. The suppliers, upon receiving an enquiry, may upload a quotation via the website and check for any response including any follow-up request regarding the production of one or more of the products. It is hoped that the B2B website will further alleviate the burden of order processing and management. Form 1 and Form 2 are sample forms currently used by the company for customer and supplier orders respectively. End of Appendix

Systems Building 1 COMP1152 Page 8 of 8

Das könnte Ihnen auch gefallen