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

  Identifying factors attracting consumers towards lumo energy

Topic: 'Identifying factors attracting consumers towards Lumo Energy''.  Review the business research proposal. You will have to identify a business research topic, describe the literature on the research topic and provide hypotheses based on the ..

  Museums are often tied by their public role

Museums are often tied by their public role to ‘representing the interests' of audiences.-  Why then is this role so often seen as problematic?

  Write an essay for art the fountain or piss christ

Write an Essay for Art The Fountain or Andres Serrano's "Piss Christ" (not in you book) and answer the following question: Is this art? Why or Why Not?

  Identify at least one major stressor in your life

Identify at least one major stressor in your life, and discuss its likely impact on your health. Describe the major steps that you could take to change the impact that stressor has on your life.

  How do you intend to develop your critical thinking skills

How do you intend to develop your critical thinking skills? Write a 300 word paper expressing your interpretation of the paper.

  What are the important elements of the approach

Select one author and their evaluation approach from the Evaluation Roots Tree (see Carden & Alkin, 2012), What are the important elements of the approach

  Evaluate the sergeants responses to the scenarios

Sergeant Officer Stevens, the sergeant on the evening shift, reported to you (the shift lieutenant) that after roll call he heard two male officers telling sexually explicit jokes in the hallway. As the sergeant exited the roll call room, he notic..

  Compare and contrast the addie model with another id model

Compare and contrast the ADDIE model with another ID model that has a different theoretical basis and takes a different approach to the process of designing instructional resources.

  Define a single-payer system

Define a single-payer system and identify a country where it is used.

  Write a summarize about the given article

Write a summarize about the given Attachment

  Criticisms of the disease concept

"To evaluate the current acceptance and criticisms of the disease concept and selected other approaches to chemical dependency, and define psycho pharmacology."

  What is the fw of the tax savings

After graduation, you have been offered an engineering job with a large company that has offices in Tennessee and Ohio. The salary is $50,000 per year at either location. Tennessee’s tax burden (state and local taxes) is 8.6% of income, while Ohio’s ..

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