Subprograms and functions with parameters and arguments

Assignment Help Basic Computer Science
Reference no: EM131355729

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.

Reference no: EM131355729

Questions Cloud

Which of katzs management skills are evident in the video : MGT-240: Which of Mintzberg's managerial roles do Ledogar and Vik display in the video? Which of Katz's management skills are evident in this video? In what way is One Smooth Stone an open system? Explain your answer.
Which lamina cracks first thus defining fpf : Using the notation of carpet plots, this laminate has α = 0.5, β = 0.5, γ = 0. Using the methodology presented in this chapter, compute the laminate FPF strength Fxt. Which lamina cracks first, thus defining FPF?
Computer forensics and traditional forensics : 1. The difference between computer forensics and traditional forensics 2. Discuss the issues you deem important in computer forensics.
Research the changes in the healthcare industry in past : Research the changes in the healthcare industry in the past five to ten years and the role of HRM in maintaining success while adapting to these changes. Select one healthcare trend for deeper study. On the basis of your research.Describe and expl..
Subprograms and functions with parameters and arguments : 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.
Draw the top view repetitive unit cell : Next, redefine the weave parameters, first by 90o rotating the weaving pattern, and second by considering the opposite face of the weaving pattern, on both initial orientation and 90o rotated orientation of the weaving pattern. Is this a twill or ..
Learning team collaborative discussion : Based on your Learning Team collaborative discussion, prepare a 2- to 3-page security memo and a 1-page diagram with 1/2- to 1-page narrative. Include:
Draw the top view repetitive unit cell : Draw the top view repetitive unit cell (RUC) for 5/1/2 weave counting along the x-direction.- Is this a twill or a satin weave?
Examine the impact of each law on hr management : Using the first e-Activity, choose two (2) employment laws, and examine the impact of each law on human resources management (HRM). Support your response with specific examples of each selected law's impact on HRM.Using the second e-Activity, ill..

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Identifies the cost of computer

identifies the cost of computer components to configure a computer system (including all peripheral devices where needed) for use in one of the following four situations:

  Input devices

Compare how the gestures data is generated and represented for interpretation in each of the following input devices. In your comparison, consider the data formats (radio waves, electrical signal, sound, etc.), device drivers, operating systems suppo..

  Cores on computer systems

Assignment : Cores on Computer Systems:  Differentiate between multiprocessor systems and many-core systems in terms of power efficiency, cost benefit analysis, instructions processing efficiency, and packaging form factors.

  Prepare an annual budget in an excel spreadsheet

Prepare working solutions in Excel that will manage the annual budget

  Write a research paper in relation to a software design

Research paper in relation to a Software Design related topic

  Describe the forest, domain, ou, and trust configuration

Describe the forest, domain, OU, and trust configuration for Bluesky. Include a chart or diagram of the current configuration. Currently Bluesky has a single domain and default OU structure.

  Construct a truth table for the boolean expression

Construct a truth table for the Boolean expressions ABC + A'B'C' ABC + AB'C' + A'B'C' A(BC' + B'C)

  Evaluate the cost of materials

Evaluate the cost of materials

  The marie simulator

Depending on how comfortable you are with using the MARIE simulator after reading

  What is the main advantage of using master pages

What is the main advantage of using master pages. Explain the purpose and advantage of using styles.

  Describe the three fundamental models of distributed systems

Explain the two approaches to packet delivery by the network layer in Distributed Systems. Describe the three fundamental models of Distributed Systems

  Distinguish between caching and buffering

Distinguish between caching and buffering The failure model defines the ways in which failure may occur in order to provide an understanding of the effects of failure. Give one type of failure with a brief description of the failure

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