Develop a program that will update stock levels

Assignment Help Other Subject
Reference no: EM131405211

Complete all tasks and provide evidence:

For the following scenario analyse the detailed requirements for each situation and, using suitable algorithms, design a solution to be coded in a suitable high-level programming language. Show the iterative development of the individual solutions with suitable testing throughout the process. Test the final products and evaluate your solutions against the detailed requirements you identified in the analysis.

The results for a task may be used without further testing in any subsequent task, or each of the tasks may be solved as a separate system.

Stock control

Products are identified by a GTIN-8 (Global Trade item Number), this is often represented using a barcode.

1660_Figure.png

In the barcode above, the GTIN-8 is 1324 5627.

The GTIN-8 uses a seven digit code plus a check digit for validation. The eighth digit of a GTIN-8, the check digit, is calculated as follows:

 

Position of Digit (D)

GTIN-8

D1

D2

D3

D4

D5

D6

D7

D8

Multiply the seven digit in order alternately by 3 then 1

 

x3

x1

x3

x1

x3

x1

x3

 

Add the outcomes together to get a sum

Subtract the sum from the nearest equal or higher multiple of 10

The result is the eighth digit of the GTIN-8, the check digit

For example: the seven digits 1324562:

GTIN-8

1

3

2

4

5

6

2

D8

Multiply the seven digits in order alternatively by 3 then 1

 

x3

x1

x3

x1

x3

x1

x3

 

 

3

3

6

4

15

6

6

 

The sum is 43

Subtract 43 from 50 to get the check digit 7

The resulting GTIN-8 is 13245627

Repeating the process of multiplying by 3 then 1 will give a sum that is a multiple of 10 that can be used to check the validity of the GTIN-8 product code.

For example, the eight digits 13245627:

GTIN-8

1

2

2

4

5

6

2

7

Multiply the eight digit in order alternately by 3 then 1

 

x3

x2

x3

x1

x3

x1

x3

x1

 

3

3

6

4

15

6

6

7

The sum is 50, a multiple of 10, therefore valid

Task 1 - Analyse the requirements for this system and design, develop, test and evaluate a program to:

  • Calculate the GTIIN-8 product code from a seven digit number
  • Check the validity of an eight digit GTIINI-8 code

Task 2 - Create a suitable text file to use with a high-level programming language containing a list of product details, including a GTIN-3 product code, a product description and price.

The program should allow a user to enter GTIN-8 codes for a list of products they wish to purchase and the quantity required of each product. The program should search the stock file to produce a list of products with their descriptions, prices, cost for each of the quantity selected and the total cost for all of the products. The program should also identify products not found.

877_Figure1.png

Analyse the requirements for this system and design, develop, test and evaluate a program to allow a user to enter GTIN-8 codes for a list of products and a quantity. The program should produce a receipt, i.e. a list of products with descriptions, prices, cost for each of quantity selected and the total cost of all the products ordered.

Task 3 - Develop a program that will update stock levels following an order. In the stock file include a current stock level, re-order level and target stock level (the number of products required in stock after the product is re-stocked), The program should, when instructed to do so, calculate which products are out of Mock or below the fe-order level and create a file_ This file will contain orders for re-stocking that will bring the current stock level of these products up to the target stock level.

Analyse the requirements for this system and design, develop, test and evaluate a program to update stock levels following an order and create an order for re-stocking that brings the stock levels for products that are out of stock or below the re-order level up to the target stock level. You will need to create a suitable stock file and a series of orders to test this system.

Reference no: EM131405211

Questions Cloud

How technology is transforming future of national securiy : Summarize each of the readings in the tables below.You may expand the table to accommodate your information. Write in complete sentences using proper grammar and mechanics.The CIA Can't Hack Senate Computers Because they Own Them, Experts Say.How Tec..
New provisions to the affordable care act : Analyze at least two (2) new provisions to the Affordable Care Act. Interpret the implications of these new provisions for access to care for families. Provide specific examples of such implications to support your rationale.
Construct and interpret the confidence interval : Given this confidence interval, would it seem very unusual if another sample of this size were to have a mean of 16.5 faxes?
Efforts at health reform in the united states : Examine two (2) efforts at health reform in the United States that occurred during the 1900s. Determine the major political and social factors that influenced the outcomes for each. Support your rationale with specific examples of such influence.
Develop a program that will update stock levels : Develop a program that will update stock levels following an order. In the stock file include a current stock level, re-order level and target stock level (the number of products required in stock after the product is re-stocked)
Naturally occurring and human-caused environments : There are many naturally occurring and human-caused environments that could be hazardous to human health after even brief exposure. Identify a hazardous atmospheric or radiation sensing need and explore how UAS-based remote sensing could address ..
Interpret the given confidence interval for population mean : Given this confidence interval, would it seem very unusual if another sample of this size were to have a mean visiting time of 13.0 minutes?
Materials management-custom coded unix system : He is asking you to some further investigation to help determine if Generic Industries should consider this technology to help with the issues stated above.  Generic Industries currently has the following systems: Manufacturing - custom coded UNIX..
Alternative suppliers of a critical material : Given the following historical data on two alternative suppliers of a critical material your company requires, which of the two suppliers (supplier 1 or supplier 2) will minimize your required safety stock? Show and describe your analysis!

Reviews

len1405211

2/25/2017 1:31:51 AM

Only need guidance on Task 2 & 3. Analyse the requirements for this system and design, develop, test and evaluate a program to allow a user to enter GTIN-8 codes for a list of products and a quantity. The program should produce a receipt, i.e. a list of products with descriptions, prices, cost for each of quantity selected and the total cost of all the products ordered.

Write a Review

Other Subject Questions & Answers

  Explain how freud concept of the unconscious

Explained how Freud's concept of the unconscious might be applied in contemporary therapy. Identified at least two techniques that could effectively be used in working with the unconscious along with the expected outcomes.

  Cross-sectional and longitudinal research

Do you think cross-sectional or longitudinal research yields more meaningful research results? Why?

  Woman comes into hospital emergency room complaining

A woman comes into the hospital emergency room complaining that she is having problems swallowing and her neck is swelling. She was involved in an automobile accident a couple days ago but only bruised her neck. What could be the problem?

  How peers influenced interviewee during his or her lifetime

How peers influenced the interviewee during his or her lifetime. What people and/or events influenced the interviewee's development of morals.

  Show the understanding of relevant theories two minimum

createnbspa 9-14 slide microsoft powerpoint portfolio presentation that demonstrates your core content

  Describe a normal probability distribution

Use the sales forecaster's predictions to describe a normal probability distribution that can be used to approximate the demand distribution. Sketch the distribution and show its means and standard deviation

  How lobbyists affect health care legislation

Analyze two examples of how lobbyists affect health care legislation. Conclude your paper with your opinion about whether the actions of lobbyists have a positive or negative effect on health care legislation in the United States.

  Rationale for and potential bias in qualitative research

Rationale for and Potential Bias in Qualitative Research

  What you discovered about contingency planning

Prepare a 1,050-word discussion of the interview: Discuss what you discovered about contingency planning. Discuss how creativity and critical thinking relate to contingency planning

  Women in eighteenth-century society

While most careers were not available for women in eighteenth-century society, women could achieve fame and fortune in

  Evaluating qualitative methods

Assume the role of a chief researcher for the state Department of Education who is examining two groups with similar educational deficiencies.

  Computer hacker community have in common

What did the Heaven’s Gate cult and the computer hacker community have in common?

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