Requirements and project management

profileraghu ram
usecassesAttempt2of2withremarks1.docx

1

Use Cases.

Student Name: Shanmuka Malladi

Institution Name: Gannon University

Course Name: Requirements and project management

Due Date: 29/11/2021

Faculty Name: Professor Richard Lamb

A use case is a written explanation of how users will use your website to complete tasks. It illustrates the behavior of a system as it responds to a request from the user's perspective. And it comes to an end when the goal is met. The objectives can be written down and used to generate requirements.

Use Case Table one.

ID and Name

I am requesting information about food ingredients and the nutrient’s value.

A Use Case ID is UC 1 Please apply an ID to all your Use Cases

Primary/Secondary Actor

Consumers

Description

The consumer selects a specific kind of food from the system, for which the consumer wants to check the ingredients.

Trigger

For the customer to obtain the information about the ingredients used in producing a specific type of food and check the nutrients available in the food, the consumer will click on the food ingredients for the ingredients and details to be displayed.

Precondition

The consumer is logged into the system.

The Consumer has at least one count with personal authentication credentials.

The system has listed various kinds of food.

Postcondition

The system reacts to the request to display the ingredients.

The system displays all the types of food that have been listed.

The systems display information about the specific, click for item

Normal Flow

The system shows the accounts for different users.

The account owner picks the desired account.

The account owner chooses the kind of food to see the result.

Assumptions

The system does not display the type of food not selected.

.

Use Case Table two

ID and Name

Inquiring about the expiry date of food.

Primary/Secondary Actor

Consumers

Description

The consumer chooses a given type of food for which they are interested in knowing the expiry date.

Trigger

Consumer clicks on the point indicated for the information about until the food will be safe for human consumption.

The consumer

After filling in the correct personal information, the consumer is allowed access to the system, such as username and password.

The Consumer has at least one count with personal authentication credentials.

The system has listed information about various kinds of food.

Postcondition

The specified type of information that the customer is inquiring about is displayed.

Normal Flow

The system shows the accounts for different users.

The account owner picks the desired account.

The user gets access to the system by filling in the correct authentication credentials.

The system displays the list of food.

The customer selects the type of food they are interested in.

The system displays the food item selected by the customer.

The system displays a different kind of information about the selected food item.

The user selects the food’s expiry information.

The system displays the data by which the food item will expire.

The system display, the options of browsing back, and the logout option.

Assumptions

The expiry date provided by the manufacturer is genuine.

Use Case table three

ID and Name

Testing the functionality of the system.

Primary/Secondary Actor

Software team.

Description

The testing engineers who are part of the software team test the system’s functionality.

Trigger

The testing engineers operate the system.

Precondition

The case for testing is set, the guidelines detailing how to perform the testing are well outlined—The program setting, testing environment, and the requirements necessary for conducting the test.

Postcondition

This includes the information describing the outcome of the test and how the system would after the test.

The testing outcome is generated.

Normal Flow

The engineers create the testing environment for better-quality testing.

Creation of test cases for the testing process and setting the standard for which the system must meet for it to be considered of the right quality.

Choosing the data to be used during the testing process.

I am performing the of test.

Identification and Reporting of any kind of defects in the system.

Regression testing, to identify the side effects that results from the testing process.

Log defects, which involve the fixing of system defects.

Retest this is where the testing engineers retest the system or perform the test afresh if in case the first testing was not successful.

Assumptions

The modules of the system being tested have been coded to completion.

The testing is done before the system is released for use by other users.

Use Case table four.

ID and Name

Designing and developing the system.

Primary/Secondary Actor

Software team

Description

The team of developers who are part of the software team builds and implements the system as well as response to feedback, and makes the necessary adjustments for the system to function as desired.

Trigger

The developer codes the system.

Precondition

The necessary resource for implementing the system is identified and acquired.

Computers to be used are prepared for the task.

The right platform of coding as well as the compiler.

The language to be used in coding is determined.

Postcondition

By using the right compiler, the system the modules are tried as

units and then integrated to come up with the system.

Normal Flow

The developers prepare computers, obtain the Integrated

Development Environment (IDE), the suitable compilers.

Following the system design,

Developers start coding.

The modules are tested.

Integration of the modules is done to generate the system.

Alternate flow

The developers can improve the functionality of the already existing system to incorporate the elements that would make it more efficient.

This would happen in the case where the cost of developing a new system from scratch is high than upgrading the existing one.

Assumptions

The right design is followed.

Use Case Table five.

ID and Name

Building the sensor smart labels.

Primary/Secondary Actor

The software teams.

Description

The software team will create software that is necessary for monitoring and identifying the taste of the food taste, in addition, the software will help in determining the number of bacteria in the food bacteria quantity in the food.

Trigger

The testing engineers activate the sensor.

Precondition

A sample of food to be tested is dispensed into the software.

Postcondition

The software indicates the taste of food to determine whether it is suitable for human consumption

The quantity of bacteria is determined.

Normal Flow

The food sample is prepared.

The Sensor is used to identify the taste of food.

The sensor Is used to determine the number of bacteria in the food.

Assumptions

The sensor is not biased.

The sensor is not compromised so that the outcomes can be accurate.

Use Case table six.

ID and Name

Dividing and transporting food.

Primary/Secondary Actor

Retailers

Description

This is the team that acts as the intermediate between the wholesalers and the consumers. They help in dividing the food into small portions and transport the food from the wholesaler’s premises to where the consumers are located.

Trigger

Dividing food into small portions.

Precondition

The food is manufactured appropriately and is of the right quality.

The food has been tested and the bacteria levels are not to the extent of causing harm to the consumer.

Postcondition

The food is divided into smaller amounts desired by the consumers and transported to reach he consumers

Normal Flow

The retailers get food from the wholesaler.

They divide the food into small portions

They transport the food to the location of the consumers

The retailers deliver food to the consumer.

.

Alternative flow.

The retailer divides the food from the producer into small portions,

The customers pick the food from the retailer’s premises.

This is favorable when the retailer’s premises is located within the locality of the customers such that it is not necessary to incur the cost of transportation.

Assumptions

The food is transported within the right time to avoid the food reaching its expiry dates before delivery.

Use Case table seven.

ID and Name

Controlling the food production and cost.

Primary/Secondary Actor

Government

Description

The team from the government Controls the production of food so as to ensure that the right ingredients are used and the right procedures are followed in the production process. And lastly, ensure that the food is of the right quality. In addition to that, the control on the cost of food by the government is to prevent the exploitation of consumers by the retailers and wholesalers by right prices.

Trigger

Setting the price of food ensures that the consumer is not exploited.

Setting up the standards of quality of food produced by providers.

Precondition

The government is involved in the production of food.

The government participates in the testing of food, to ensure quality standards.

The Consumer has at least one count with personal authentication credentials.

The system has listed various kinds of food.

Postcondition

Food produced is of the right quality.

The prices of food are favorable

The customer is not exploited.

Normal Flow

The government inspects the food production process.

The government inspects the quality of produced food.

The government makes a follow-up on the prices of food.

The system has the right information about the quality of the food produced under the government’s supervision on the quality.

Assumptions

The government does not interfere with the stakeholders and its role remains solely that of inspections and ensuring that the government requirements are followed in the production process.

Use Case Table Eight

ID and Name

Updating regulations and guidelines for food production and sensor detection food quality.

Primary/Secondary Actor

Government

Description

The government performs the role of reviewing and adjusting the regulations that govern the food production process.

Trigger

Updating the regulations

Precondition

Examination of the already existing regulations controlling food production.

Evaluating the significance of those regulations with relation to the current situation.

Making the decision on how to adjust the regulations. As well as implementing new ones.

Postcondition

Adjusting the laid down regulations order to make them better and be in line with the current time, so as to ensure that the production of food is done in accordance to the regulations and quality

Generating new regulations that were not there before, to address the emerging issues that affect the food production sector.

Normal Flow

Studying the regulations controlling food production,

Determining their relevance in the sector.

Designing adjustments to better the regulations and make them more effective.

Planning and putting the regulations into action.

Assumptions

The government performs the process of updating the regulations without favoritism.