Implement quality assurance activities

Assignment Help Other Subject
Reference no: EM132107066

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).

Keep all the above in mind as you read the following information. You are required to create a set of Z schema that adequately describes the CCS. Your assignment should include at least one state space and provide schema for the prescribed functions (including error handling) described below.

Learning Outcomes

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

S1. Critically analyse and use complex decision making to research and determine the appropriate
Software Engineering tools and methodologies to utilize in a given situation

S2. Apply professional communication skills to support and manage the engineering of a large software system
S3 Review, critically analyse and develop artefacts to define processes for quality assurance, risk management and communication in large software development projects
S4 Implement quality assurance activities in order to verify user requirements and validate design decisions
A1 Analysis of a large system development problem to decide upon the best methodological approach
A2 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.

Assessment Details

This assignment will be assessed by your lecturer/tutor. The assignment requires you to produce a formal specification containing the components identified below.

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.

Attachment:- Assignment_sem.rar

Reference no: EM132107066

Questions Cloud

Compute the total supply chain cost : compute the total supply chain cost (inventory and transportation) for a 5-week sea shipment lead-time and a 3-day air shipment lead-time.
What is the gravitational force that the sphere exerts : An object in the shape of a thin ring has radius a and mass M. A uniform sphere with mass m and radius Ris placed with its center at a distance x to the right.
What are the hardships of performing business in markets : What are the chances and risks of doing business in markets that are emerging?What are the hardships of performing business in markets that are emerging?
Existing contract with out any prior intimation : Harun sued Rudo for modifying the existing contract with out any prior intimation, but he lost the lawsuit because:
Implement quality assurance activities : ITECH7410 - Software Engineering Methodologies - School of Engineering and Information Technology - Federation University - Formal System Specification
Changes in currency values and inflation rates : How does the "law of one price" establish a relationship between changes in currency values and inflation rates?
How much increase in the ideal efficiency results : The engine in a Dodge Viper GT2 has a slightly higher compression ratio of 9.6. How much increase in the ideal efficiency results from this increase.
Describe the reasons for having a totally anonymous means : Please describe an instance of which you are aware in which an act of internet crime took place.(550 words)
What is the minimum rotational frequency : In an old-fashioned amusement park ride, passengers stand inside a3.0-m-tall, 5.0-m-diameter hollow steel cylinder with their backsagainst the wall.

Reviews

len2107066

9/7/2018 2:25:46 AM

Leave_delivery_queu e Operation Correct schema for removal of truck, list of trucks in queue and error Correct robust expression 10 Unload_ship Operation Correct schema for test of delivery and pickups stopped, available room, successful unloading, updating of system and error Correct robust expression 10 Container_terminal_ account Operation Correct declaration and type for variables Correct predicates 10 Ships_total_account Operation Correct schema for report and error (no ship in system) Correct robust expression 10 Freight_company_ac count Operation Correct declaration and type for variables Correct predicates 10 Report Adheres to guidelines given for assignment (Any assumptions must be clearly stated and appropriate) 5

len2107066

9/7/2018 2:25:38 AM

Marking Rubric Student Name and No Marker Date Item Description Max. Marks Student Mark Global Variables Correct declaration and initialisation 5 State Space Schema Correct declaration and type for variables Correct predicates 5 Init Operation Correct initialisation of variables 5 Enter_new_container _terminal Operation Correct schema for entry, error and success Correct robust expression 10 Accept_delivery Operation Correct schema for test of available room, successful delivery, successful queueing and error Correct robust expression 10 Accept_pickup Operation Correct schema for successful pickup, successful queueing and error Correct robust expression 10

len2107066

9/7/2018 2:25:28 AM

Marking Criteria Work will be assessed according to the following: • Your CCS Formal Specification must complete the items detailed within the Assessable Tasks/Requirements section of this document. • Your CCS Formal Specification should be presented as business or management style report which adheres to academic writing presentation standards. Where applicable, it must contain high quality academic presentation, expression and features

Write a Review

Other Subject Questions & Answers

  Cross-cultural opportunities and conflicts in canada

Short Paper on Cross-cultural Opportunities and Conflicts in Canada.

  Sociology theory questions

Sociology are very fundamental in nature. Role strain and role constraint speak about the duties and responsibilities of the roles of people in society or in a group. A short theory about Darwin and Moths is also answered.

  A book review on unfaithful angels

This review will help the reader understand the social work profession through different concepts giving the glimpse of why the social work profession might have drifted away from its original purpose of serving the poor.

  Disorder paper: schizophrenia

Schizophrenia does not really have just one single cause. It is a possibility that this disorder could be inherited but not all doctors are sure.

  Individual assignment: two models handout and rubric

Individual Assignment : Two Models Handout and Rubric,    This paper will allow you to understand and evaluate two vastly different organizational models and to effectively communicate their differences.

  Developing strategic intent for toyota

The following report includes the description about the organization, its strategies, industry analysis in which it operates and its position in the industry.

  Gasoline powered passenger vehicles

In this study, we examine how gasoline price volatility and income of the consumers impacts consumer's demand for gasoline.

  An aspect of poverty in canada

Economics thesis undergrad 4th year paper to write. it should be about 22 pages in length, literature review, economic analysis and then data or cost benefit analysis.

  Ngn customer satisfaction qos indicator for 3g services

The paper aims to highlight the global trends in countries and regions where 3G has already been introduced and propose an implementation plan to the telecom operators of developing countries.

  Prepare a power point presentation

Prepare the power point presentation for the case: Santa Fe Independent School District

  Information literacy is important in this environment

Information literacy is critically important in this contemporary environment

  Associative property of multiplication

Write a definition for associative property of multiplication.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd