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

  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