Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Computer Engineering Expert

Pseudocode

Using Notepad++ (installed from the "Start Here!" page), write a program using Pseudocode to solve the following problem. In your program, make use of subprograms and functions with parameters and arguments.

Input a list of positive numbers (terminated by 0) into an array, find the mean (average) of the numbers in the array, and output the result. Use a subprogram to input the numbers, a function to find the mean, and a subprogram to output the result.

Raptor

Using RAPTOR (installed from the "Start Here!" page), create a flowchart program to solve the following problem. Attach your .rap file created when you save your flowchart. Use subroutines and functions with parameters and arguments.  In RAPTOR, all data from a file must be loaded into an array to be manipulated. Be aware that RAPTOR processes each record in a data file as a complete entity; there is no way to distinguish one field from another. So, you must use a separate file for each field and keep the files parallel. Any manipulation that must be done (sorting, searching, and so on) must be done to the arrays in parallel and the files must be rewritten from the resulting arrays.

The Eversoft Eraser Company has a list of its customers' names (not necessarily in alphabetical order) and telephone numbers in a file named "customer" with records of the following form:

last_name (String), first_name (String), phone_number (String)

a. Create 3 files to load into 3 arrays, one for each field in the "customer" file. Type at least 10 records into the files as test data. Name the files last_name.txt, first_name.txt, and phone_num.txt. Make sure that at least 2 of the last names are the same for testing purposes.

b. Load the files into parallel arrays and display the list of customers' names and phone numbers in alphabetical order.

c. Allow the user to input a last name, then search the last_name.txt file and display all names and phone numbers corresponding to that last name.

Computer Engineering, Engineering

  • Category:- Computer Engineering
  • Reference No.:- M92168591
  • Price:- $30

Priced at Now at $30, Verified Solution

Have any Question?


Related Questions in Computer Engineering

Should we be renegotiating nafta yes or no if it is

Should we be renegotiating NAFTA? yes or no? If it is renegotiated, should it be replaced? What reasons would make it better in your point of view? What is the best argument you can make why NAFTA should or should not be ...

Question suppose you are planning a party for 10 friends

Question : Suppose you are planning a party for 10 friends. You decide to make sandwiches to serve at the party, no more than one sandwich per person. Seven of your friends say they want turkey. Five say they want roast ...

A product is made up of three parts that act independently

A product is made up of three parts that act independently of each other. If any of the parts is defective, the product is defective. Part one is defective 5% of the time, part two is defective 10% of the time, and part ...

Both the search and the insertion time for a b-tree are a

Both the search and the insertion time for a B-tree are a function of the height of the tree. We would like to develop a measure of the worst-case search or insertion time. Consider a B-tree of degree d that contains a t ...

Roberto is the network administrator for an international

Roberto is the network administrator for an international law firm with offices and customers in North America, South America, Africa, and the Middle East. The lawyers frequently contact each other via e-mail, use the In ...

Regards to cin what programming situations would the use of

Regards to C++ In what programming situations would the use of an array be beneficial? What situations would not warrant the use of an array? Provide an example showing why. Research the concept of C++ vectors. Describe ...

Can someone help me with this java problem and explain the

Can someone help me with this Java problem and explain the parts please! Write a method "totalDays" that takes three integer arguments (number of weeks, number of days, number of hours) and returns the total real number ...

Prior data indicates if a planter machine is operating

Prior data indicates if a planter machine is operating "properly," the length of the planter produced by the machine can be modeled as being normally distributed with a mean of 107 centimeters and a standard deviation of ...

A scavenger hunt question from the assigned

A scavenger hunt question from the assigned readings.) Consider the statement if ((a! = null)&&(a.x()))a.y(); What feature of the a && b makes it classify as a control structure? Rewrite this as 2 nested if statements. W ...

What are information silos what are the problems caused by

What are information silos? What are the problems caused by information silos? How organizations can solve the problems caused by information silos?

  • 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