Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Homework Help/Study Tips Expert

Software Engineering Methodologies Assignment - Formal System Specification

Overview -

The purpose of this assessment is to provide students with the opportunity to apply knowledge and skills developed during the semester with particular reference to the formal specification of a system through the use of Z notation. Students complete the assignment in groups of two.

As described in this course's third study guide, Software Analysis, Modelling and Specification, a Formal Specification (Technique) is one that has a rigorous mathematical basis and one of its advantages is that it can be mathematically checked for completeness. The course's fourth study guide, System and Software Design, also states that by using formal methods it is possible to derive a formal design from a formal specification and then be able to prove that the design and specification are functionally equivalent.

Your text, Software Engineering: A Practitioners Approach (Pressman, 2010) indicates that formal methods provide frameworks that allow people to specify, develop and verify systems in a structured and systematic way and that the mathematical based specification language used in formal methods ensures a greater chance of consistency, completeness and lack of ambiguity in a specification. Pressman also discusses formal specification languages and their common components - syntax, semantics and sets of relations. Of the four formal specification languages he identifies - OCL, LARCH, VDM and Z - he provides useful discussion with respect to OCL and Z.

In this assignment, you will use the Z specification language to provide the sets, relations and functions in schemas to specify the Container Control System (CCS) described below. Your schemas should provide the stored data that the system accesses and alters and identify the operations that are applied to change the state as well as the relationships that occur within the system. Remember, as specified in Spivey's 2001 text, The Z Notation: A Reference Manual, schemas are utilized to illustrate both static and dynamic aspects of a system. Static aspects include such things as the states a system occupies and the invariant relationships that continue to exist as the system moves between states. Dynamic aspects include the changes of state that occur, possible operations and the relationships between their inputs and outputs. Remember also you should always be conscious of the fact that a specification tries to describe what the system must do without saying how it is to be done (Spivey, 2001).

Learning Outcomes -

The following course learning outcomes are assessed by completing this assessment:

  • Critically analyse and use complex decision making to research and determine the appropriate Software Engineering tools and methodologies to utilize in a given situation.
  • Apply professional communication skills to support and manage the engineering of a large software system.
  • Review, critically analyse and develop artefacts to define processes for quality assurance, risk management and communication in large software development projects.
  • Implement quality assurance activities in order to verify user requirements and validate design decisions.
  • Analysis of a large system development problem to decide upon the best methodological approach.
  • Development of appropriate artefacts to support and manage the software engineering process such as change control and configuration management.

Requirements -

Demonstrate an understanding of particular concepts covered in lectures, tutorials, laboratories and reading to provide the specification requested. This may require further reading and research beyond the material discussed in class.

Assessable Tasks/Requirements -

You are to create a set of Z schemas that adequately describes the CCS. It should include at least one state space and the following operations:

  • An initialization operation called Init.
  • An operation Enter_new_container_terminal that an operator uses to enter the details of a new container terminal into the system. Assume the new container terminal is currently empty.
  • An operation Accept_delivery that an operator uses to signal to the system to begin delivery (placing in the container terminal) of x quantity and y tonnes of containers from a truck. Note that the system must do a check to see if that storage capacity is available in the container terminal. If it is not then an error message must be output and no truck delivery occurs. Additional information needed by this routine is the truck registration and the freight company's name. If successful, this operation stores all necessary details into the system for that delivery. If five trucks are already delivering then this new truck will be placed in a queue waiting for its turn to deliver.
  • An operation Accept_pickup that an operator uses to signal to the system to begin pickup (placing on the truck) of x quantity and y tonnes of containers from the container terminal. Additional information needed by this routine is the truck registration and the freight company's name. If successful, this operation stores all necessary details into the system for that pickup. If five trucks are already picking up then this new truck will be placed in a queue waiting for its turn to pickup.
  • An operation Leave_delivery_queue. This operation is run by the system operator each time there is a delivery queue for a container terminal and the driver of a specified truck decides that the anticipated waiting time is too long and leaves the queue. The operation outputs to the operator the list of trucks in the queue after the specified truck is removed. If no trucks are left in the queue a reasonable error message should be produced.
  • An operation Unload_ship that an operator uses to signal to the system to begin unloading (placing in the container terminal) of x quantity and y tonnes of containers from the ship. Note the system must check that all deliveries and pickups have stopped before unloading can commence. A suitable message must be output until this has been achieved. The system must also do a check to see if the quantity and tonnage storage capacity is available in the container terminal. If this check fails, then an error message must be output and no ship unloading occurs. (From an operational perspective, the operator may, after consultation, try the operation again with adjusted values to have a successful 'partial' unload but you do not need to be concerned with this as the functionality already described would accommodate this process). Additional information needed by this routine is the ship identifier. If successful, this operation stores all necessary details into the system for that unloading.
  • An operation Container_terminal_account that outputs the total number and tonnage of containers delivered to a particular container terminal by ALL freight companies in a specified time period (in this simplified system, that is the total quantity and tonnes delivered between two specified global count values e.g. 10000 and 10500).
  • An operation Ships_total_account that outputs the total number and tonnage that a particular ship has loaded from ALL container terminals in the total history of the system.
  • An operation Freight_company_account that outputs the total number and tonnage of containers delivered to and the total number and tonnage picked up from ALL container terminals for each freight company between two specified global count values.

You should provide robust versions of each operation that are capable of handling any possible error conditions. For example, if the ship or truck is not correctly registered in the system an appropriate error message must be given.

You should also add a narrative to explain any schemas or logic that you have used. Authorship should be made clear. You might be asked to explain and answer questions about your work.

Attachment:- Assignment File.rar

Homework Help/Study Tips, Others

  • Category:- Homework Help/Study Tips
  • Reference No.:- M93122271
  • Price:- $50

Priced at Now at $50, Verified Solution

Have any Question?


Related Questions in Homework Help/Study Tips

Question as the human resources manager it is your

Question: As the human resources manager, it is your responsibility to keep all human resources employees informed about current employment law. You want to empower employees with resources that they can use independentl ...

Question please write a response to the following

Question: Please write a response to the following discussion in one or two paragraphs, the response requires one reference form peer-reviewed nursing journal not older than 5 years (from database not the internet). The ...

Question your company is getting ready to conduct a

Question: Your company is getting ready to conduct a complete overhaul of the performance management and compensation systems for your organization. Your team has been selected to conduct a systematic review and training ...

Question when considering the home care scenario in the

Question: When considering the Home Care scenario in the Allied Health Community, how would you identify the qualifying criteria to receive the potential $5 raise? What type of matrix would you build to apply raises? Wou ...

Question 750 words or morecontinuing with the assumptions

Question: 750 words or more Continuing with the assumptions from the previous discussion, as the human resources training professional, you have trained hiring managers about the importance of some employment laws. After ...

Question a 1 page section to your playbookrunbook that

Question: A 1 page section to your Playbook/Runbook that includes the following: • List of information and data employees are not to place online • Guidelines for interacting online • Guidelines for secure use of email • ...

Write a two page apa-formatted paper on the following

Write a two page, APA-formatted paper on the following topic: What actions can fire companies take to limit the spread of a structure fire; what actions can they do that would make the situation worse? I want you to thin ...

Assessment task 1for this activity you are required to

Assessment Task 1 For this Activity, you are required to draft a report to develop processes to manage ideas and information for JKL Industries. To assist you with this task, you are provided business documents of JKL In ...

1 conduct research online to find an example of a hazard

1.) Conduct research online to find an example of a hazard, critical incident or major disaster that affected water or wastewater supplies or infrastructure facilities and systems in any community or area of our country, ...

Question step 1 1visit the teenbuzz website opens in a new

Question: Step 1: 1. Visit the TeenBuzz website (opens in a new window). This site offers free ringtones that most adults cannot hear. 2. The website includes a chart of ringtones that start at 8kHz (everyone should be a ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As