Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Computer Engineering Expert

All to be done in Visio (flowchart). Header Record Logic.

Book Tools for Structured and Object-Oriented Design 7th edition. (Marilyn Bohl author)

1. Design an algorithm to read an arbitrary number of data records, each containing a name, age, and code. A Code of 1 will indicate female, a code of 2 will indicate male; and a code of 0 will indicate that the end-of-file has been reached. For each record, prepare a detail line listing the person's name and age. In addition, compute and output the following values: Number of males less than or equal to 21 yrs old. Number of females less than or equal to 21 years old. Avg age of all persons over 21. Total number of people.
1B. Redo same flowchart in modular approach.

2. Design an algorithm to prepare a daily hotel charge report. Input consists of a series of records that contain a room number, the customer name, the cost of the room, and the cost of meals charged to the room. Output is a hotel charge report that will contain the room numbers, customer name, room charge, meal charges, and total charges. After all records have been processed, the total number of rooms rented, the total room charges, total meal charges, and a final total of all charges are to be printed. A room number of 000 will be used to signal the end of the input.
2B. Redo same flowchart in modular approach

3. Design an algorithm to prepare a job applicant report. Input consists of a series of records that contain the Social Security number or equivalent, last name, first name, middle initial, verbal test score, science test score, math test score, and logic test score of each job applicant. Output is to consist of detail lines containing the contents of each input record as well as the average of the four test scores. In addition, averages for each of the four test score categories should be output at the end of the report. Use automatic end of file logic to signal the end of the input.
3B. Redo same flowchart in modular approach

4. Design an algorithm to compute and print the average earnings, lowest earnings, and highest earnings of a group of employees. Each input record will contain the name and earnings of one employee. No headings or page numbers are required. Used Automatic end-of-file logic to signal the end of the input.
4B. Redo same flowchart in modular approach

Computer Engineering, Engineering

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

Have any Question?


Related Questions in Computer Engineering

Question suppose that during document indexing we are

Question : Suppose that during document indexing we are interested in identifying all dates in the format mm/dd/yyyy, where mm is a 2 digit string representing the month (ranging from 01 through 12), dd is a 2-digit stri ...

Candidate as pollster conducted a survey in which 450 out

Candidate A's pollster conducted a survey in which 450 out of 710 respondents indicated they would probably vote for Candidate A. Compute the confidence interval for the population.

Please tell me about planning and installing a wireless

Please tell me about Planning and Installing a Wireless Network

Restaurant management database project the restaurant

Restaurant Management Database Project : The restaurant maintains the catalog for the list of food and beverage items that it provides. Apart from providing food facility at their own premises, the restaurant takes order ...

System analysis project can you answer the 4 questions at

System Analysis project: can you answer the 4 questions at the task section. Personal Trainer, Inc. owns and operates fitness centers in a dozen Midwestern cities. The centers have done well, and the company is planning ...

Now assume that this market becomes perfectly competitive

Now, assume that this market becomes perfectly competitive. The production process for the good does not change. So, all firms have the same cost curves as the monopolist. Reference from: Q3. A monopolist in the sugar ma ...

The literature on honeypots or so called fake networks to

The literature on honeypots or so called "fake networks" to attract hackers and attackers frequently mentions "entrapment" as one of the legal issues that must be considered. How of a concern is entrapment? What are some ...

Rocket class keyboard event handlingintroductionfor this

Rocket Class: Keyboard Event Handling Introduction For this program, you will implement an interface that will allow you to move around a rocket of your own design. You will need to implement your own classes for the roc ...

Question suppose you are given n positive integers to sort

Question : Suppose you are given n positive integers to sort on a special computer which has access to special memory containing p slots. The special memory supports storing a key-value pair (a, b) into the memory in O(1 ...

What is the name of the text file on a windows computer

What is the name of the text file on a Windows computer that may store DNS to IP address mappings?

  • 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