Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Computer Engineering Expert

Question

Write down an assembly language program that solves following problem. The Albatross Company has four salespeople who sell five diverse products (1 to 5). Once a day, each salesperson reports their sales of each creation. These reports are consolidated over time into a file. Each record in the file enclose three values-

The salesperson number from one to four (3 characters wide, right justified)

The product number from one to five (3 characters wide, right justified)

The dollar value of that product sold that day by that salesperson (9 characters wide, right justified)

Your program have got to prompt the user for a file name, process file, and report the totals for each salesperson and for each product. A sample facts file called "Albatross.dat" is provided to allow you to test your program.

Your program has to be able to handle a data file that contains any number of sales records. This means that it is probable for the input data file to hold multiple records for each salesperson and product combination. Do not write your program so that it always (and only) expects the number of records that ensue to be in the sample data file. Your program will be tested and graded by executing it with a data file that contains fewer records than sample data file, the sample data file, and finally with a data file that contains more records than sample data file.

Computer Engineering, Engineering

  • Category:- Computer Engineering
  • Reference No.:- M9132818

Have any Question?


Related Questions in Computer Engineering

Given an undirected graph with both positive and negative

Given an undirected graph with both positive and negative edge weights, design an algorithm to find a maximum spanning forest with the largest total edge weights.

What steps are required in determining the big-oh notation

What steps are required in determining the Big-Oh notation for the algorithm when sorting an array of integers 5 7 4 9 8 5 6 3 and showing the contents each time a selection sort changes it while sorting the array into a ...

Suppose we are given a directed graph g v e a set of nodes

Suppose we are given a directed graph G = (V, E), a set of nodes A V (denoted as people) and a set of nodes B V (denoted as exit). Assume A and B are disjoint. We want to find a schedule such that every person can escape ...

Directionspick one topic for word and one topic

Directions Pick one topic for Word and one topic for PowerPoint to discuss. Word Watermark: What is the purpose of watermark for a document? What do you consider when you work on a watermark in Word? Newsletter: What are ...

Select one of the discussion topics and respond begin your

Select one of the discussion topics and respond. Begin your response by indicating which question you chose. Discussion topics: Section 1 Should the government set a maximum wage? Why or why not? Section 2 Most people be ...

Explain the difference between penetration tests and

Explain the difference between penetration tests and security tests. Emphasize that this book will explain things from a security testing perspective.

Kelly and jennifer are roommates kelly loves listening to

Kelly and Jennifer are roommates. Kelly loves listening to rock music and uses the radio in their common area to play it. Jennifer, on the other hand, prefers the peace and quiet around the common area. Answer the follow ...

Assignmenta in the slides and textbook one of the examples

Assignment (a) In the slides and textbook, one of the examples features a class for counting up. An interface which defines this functionality is given below: public interface IncrementCounter { //Increments the counter ...

Question suppose a process in host c has a udp socket with

Question : Suppose a process in Host C has a UDP socket with port number 6789. Suppose both Host A and Host B each send a UDP segment to Host C with destination port number 6789. Will both of these segments be directed t ...

Your university is running a special offer on tuition this

Your university is running a special offer on tuition. This year's tuition cost is $18,000. Next year's tuition cost is scheduled to be $19080. The university offers to discount next year's tuition at a rate of 6% If you ...

  • 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