230 likes | 316 Views
Review 1. Part I: Data Dictionary and Process specification.
E N D
Review 1 Part I: Data Dictionary and Process specification 1. The Motion Manufacturing Company assembles bicycles, tricycles, scooters, rollerblades and other outdoor sports equipment. Each outdoor product is built using many parts, which vary from product to product. Interviews with the head parts clerk have resulted in a list of elements for the Product-Part Listing, showing which parts are used in the manufacture of each product. A prototype of the Product-Part Listing is illustrated in Figure 1. Create a data structure dictionary entry for the Product-Part Listing. The head parts clerk has informed us that there are never more than 50 different parts for each product.
The data structure would be: Product-Part Listing = Current Date + Page Number + {Product Information} + Total Number Of Products Product Information = Product Number + Product Description + Creation Date + Product Cost + Number Of Parts + {Part Detail} Part Detail = Part Number + Part Description + Part Quantity + Warehouse Location 50 1
The Magic Video Company provides video rental services which include several copies of each video film. Each member can rent up to 10 video films at a time. Occasionally, a member may want to rent more than one copy of the same film, which is accepted by the Company. The following is a sample of the Video Rental Invoice which consists of the member’s personal information and the detail information of each rental film. Create a data structure dictionary entry for the Video-Rental Invoice. 2.
3. The Wonderful Music Limited provides CD rental services which include several copies of each individual Music CD. Each member can rent up to 8 CDs at a time. The following is a sample of the Customer Transaction Report which prints all the transactions details of a specific month with the maximum of 25 transactionrecords in a single page. Create a data structure dictionary entry for the Customer Transaction Report.
3. A computer supplies firm called True Disk has set up accounts for countless business in Hong Kong. True Disk sends out invoices monthly and will give discounts if payments are made within 18 days. The discounting policy is as follows: If the amount of the order for computer supplies is greater than $1,000, subtract 4 percent for the order; if the amount is between $500 and $1,000,subtract a 2 percent discount; if the amount is less than $500, do not apply any discount. Any special order (computer furniture, for example) is exempt (豁免) from all discounting. Develop (a) a Decision Tree, and (b) Structured English for True Disk discounting decisions,.
Structured English for True Disk discounting decisions. Calculate the discount amount. IF payments are made within eighteen days THEN IF order amount is greater than $1,000 THEN 4% discount ELSE IF the order amount is between $500 and $1,000 THEN 2% discount ELSE IF the order amount is less than $500 THEN No discount ELSE No discount ENDIF
4. Prepare a decision tree according to the logic of the Structured English below. Structured English: IF purchase is over $1000 THEN IF customer lives in Hong Kong Island THEN the delivery time is from 9:00am to 1:00pm ELSE IF customer lives in Kowloon East THEN the delivery time is from 2:00pm to 5:00pm. ELSE the delivery time is from 6:00pm to 10:00pm. ENDIF ENDIF ELSE no delivery ENDI
5. There is a Sales Promotion Policy as following. Describe the processing logic that the system must be apply using Structured English, Decision Tree and Decision Table.
Part II: Software Engineering • Use a figure to show the software evolution where the software is continually changed over its lifetime in response to the changing requirements and the customer needs.
2. Use a diagram to state the phases of the waterfall model.
A library is going to use a computerized library system for their daily work. The system should have seven major functions: • Draw a Use Case Diagram to show the above situation.
With reference to the above description, draw a child diagram describing Process 3 Return Book. The return book function has the following procedures: Step 1: Student gives the BOOK to the librarian. Step 2: Librarian scans the book to get the BOOK ID Step 3: LOAN RECORD from the loan file/ class is found. Step 4: If the book is overdue, the DEADLINE DATE and the STUDENT ID of the loan record are sent to calculate the fine amount. Step 5: The FINE AMOUNT and the STUDENT ID are then sent to pay fine function (4. Pay Fine) for collecting the fine payment. Step 6: No matter the book is overdue or not, the LOAN INFORMATION is passed to update loan file/class, by updating the SYSTEM DATE to the loan file/class.
3. With reference to the above description, draw a sequence diagram describing the Return Book use case.