Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Homework Help/Study Tips Expert

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.

Homework Help/Study Tips, Others

  • Category:- Homework Help/Study Tips
  • Reference No.:- M92215011
  • Price:- $45

Guranteed 36 Hours Delivery, In Price:- $45

Have any Question?


Related Questions in Homework Help/Study Tips

Question cognition and attention in performancedecision

Question: Cognition and Attention in Performance Decision making and cognitive processes are influenced by attention, memory, and the task. The cognitive and attentional processes can be described at neurological and/or ...

What is the difference between positive psychology and

What is the difference between positive psychology and other schools of psychological thought?

This dna molecule 5 - tagcctagctccggcgtagcggcaattaatgat - 3

This DNA molecule: 5' - TAGCCTAGCTCCGGCGTAGCGGCAATTAATGAT - 3' 3' - ATCGGATCGAGGCCGCATCGCCGTTAATTACTA - 5' is incubated with this primer: 5' - ATCATTAA - 3' plus 100mM each dATP, dTTP, dCTP, dGTP, and 1mM ddATP (note:did ...

Classical organizational theory deals with the systematic

Classical Organizational Theory deals with the "systematic processes necessary to make bureaucracy more efficient and effective." Two scholars (Weber and Taylor) are credited with the development of classical organizatio ...

Considering all the social and physical costs associated

Considering all the social and physical costs associated with its use, why is alcohol so often perceived as acceptable and safe for social use & why do so many people often forget about alcohol's many known harmful conse ...

What are some advantages and risks of a single-parent

What are some advantages and risks of a single-parent family that adopted a child or conceived out of wedlock? Outline at least 3 advantages and 3 risks along with an explanation of each

Travis workthe market and your decision to go to collegethe

Travis' Work "The Market and Your Decision to Go to College" The market for higher education is determining the key questions of what gets produced, how it is produced, how much is produced, and who gets how much. Start ...

Short answers questions1- what are the effects of race and

Short answers questions: 1- What are the effects of Race and class in shaping a child's personality? 2- Does Macionis claim that watching TV -(remember media is the 4th agent of socialization)- is harmful for children? e ...

The way the teacher introduces and reinforces procedures

The way the teacher introduces and reinforces procedures, technology, and behavior expectations sets the stage for building the community within the classroom. When teachers have clear and consistent procedures and expec ...

Question write a 3-page not counting title and reference

Question: Write a 3-page (not counting title and reference pages) APA-style essay that includes the following: • An explanation of Acceptance and Commitment Therapy (ACT) that presents the major beliefs and assumptions a ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As