Recent Question/Assignment

Assignment 3 This assignment is marked out of 15. The marks will be scaled to be worth 15% for the assignment. The learning objectives are here. The due date is 26th October 2012. Question 1 High Level Architecture [20 marks] Devise an architecture for a system that manages the daily operation of a motor vehicle service and repair business. The system will have the following functionality:- Administration staff make a service booking for a customer at a time and date for a service/repair job, using a workstation in the office. Mechanics log time and parts used against the customer's job using a workstation in the workshop. A stock is kept of commonly used parts and materials. The system keeps track of current inventory and re-orders automatically as needed. The system will also place a one-off order with a supplier when an uncommonly used part is need for a job. Customer job records are held for future reference, and to be able to automatically email customers with a reminder that service is due at fixed intervals. Show major subsystems and how they are related/connected. (marking scheme) Students are expected to make and state any assumptions necessary in order to complete the assignment. Question 2 Sequence Diagram [20 marks] Draw a sequence diagram to show the interactions when a customer buys a camera over the internet. (marking scheme) Assume the following 6 objects in the system:- Customer Order System Credit Card Company Supplier Warehouse Courier Draw a diagram that the models the following scenario. A customer places an order for a digital camera, and supplies credit card details and address etc. (You do not need to model the detail steps of making the order.) The System asks the Credit Card Company to authorise the transaction. (Assume it is successful.) The System checks if the camera is in stock in the warehouse (the System contains an inventory module). The System discovers that the item is out of stock, so an order is placed with the Supplier. The customer is also advised of the order status. When the Supplier delivers to the Warehouse, the inventory is updated, and as a result an instruction is passed to the Warehouse to pack the order for shipping to the customer. When the Warehouse advises that the order is ready to ship, the System sends a -pick up- request to the Courier. The Warehouse signals the System when the order has been picked up, and the System notifies the customer to expect delivery. Question 3: The Three Little Pigs and Pairwise Testing. [20 marks] (marking scheme) The first little pig decided to hide in the cupboard beneath the bathroom sink. The second little pig decided to make an igloo out of the cushions from the lounge chair, and hide in that. But the third little pig (Penelope) decided to make a TARDIS (time machine) to escape in, which she constructed from LEGO blocks and a raspberry pi. Inputs There are six input controls to Penelope's TARDIS: The arns, which is a non negative integer. The color which is one of red blue green yellow The letter which can be one of alpha beta gamma delta epsilon The partical which can be one of Quark Lepton Gluon Electron Proton Neutron The celestial body which can be one of planet moon sun comet black hole pulsar neutron star The gas which can be one of Hydrogen Xenon Helium Neon Krypton Radon Oxygen Nitrogen Software Components The software components or software subsystems of Penelope's TARDIS are:- The Groundhog, which takes 4 inputs: The arns. The gas. The celestial body. The partical. The Stein Gate, which also takes 4 inputs: The arns. The gas. The letter. The partical. The Suzumiya also takes 4 inputs: The arns. The color. The celestial body. The partical. The Higurashi also takes 4 inputs: The arns. The color. The letter. The partical. The Makoto also takes 4 inputs: The arns. The gas. The color. The partical. Penelope's Dilema There are 5 subsystems to test, and they each take 4 inputs. If she uses exhaustive testing, each component would need to be tested with over 500 different combinations. That would take far too long to test. She could use -all pairs- testing, but being a pig, Penelope has no idea how to do that. Can you help Penelope by providing her with a plan for pairwise testing so that she can finish her TARDIS and escape from Bad Wolf? Your Task You are to provide an -all pairs- test plan for one of the components. The component you must provide a test plan for depends on the last digit of your student number as given in the following table: Last Digit Component 0 or 5 The Groundhog 1 or 6 The Stein Gate 2 or 7 The Suzumiya 3 or 8 The Higurashi 4 or 9 The Makoto Your challenge is to take the theory given in the slides titled -Coping with Several Inputs- and figure out how to apply it. You need to submit a table with a column for each of the inputs. The first row of the table has the names of the inputs as the column headings. Suggestion: Study the slides mentioned above until you understand what is required. Download the -allpairs- from http://www.satisfice.com/tools.shtml Read the documentation until you understand how to use the tool. Many computing systems have Perl already installed. Windows does not, and you may well need to install Perl. Use Open Office Calc to create the columns with the possible input values as described in the -allpairs- documentation. Use the tool allpairs.pl to create the necessary combinations. Copy and paste the relevant columns from the spreadsheet. Copy and paste the output back into the spreadsheet. Insert the spreadsheet as an OLE object into your Open Office text document.

Looking for answers ?