Making a flowchart of the program

Assignment Help Software Engineering
Reference no: EM1380069

Make a flowchart of the program, using the pseudo code from Unit four Topic two as a guide. For your convinence you can access this pseudo-code through selecting the following;

Here is the code needed to complete IP4 assignment.

start
perform initialTasks( )
while endOfFiles = false
perform mainModule( )
endwhile

perform terminate( )
stop

initialTasks( )
declare variables
clientRecord
num clientID
char clientName
char clientAddress
char clientPhone
num clientTotal
serviceRecord
num serviceID
char serviceDate
char serviceType
num serviceTotal
boolean endOfFiles = false
open files
sort serviceFile on serviceID
giving transFIle
close serviceFile
open transFile
print prtHeader
perform readClient( )
perform readService( )
if clientID = 999
if serviceID = 999
endOfFiles = true
endif
endif
return

readService()
read serviceRecord
if EOF
serviceID=999
endif
return

readClient()
read clientRecord
if EOF
clientID=999
endif
return

mainModule( )
if clientID = serviceID
clientTotal = clientTotal + serviceTotal
perform readService( )
else
if serviceID > clientID
write clientRecord
print clientRecord
perform readClient( )
else
print error message
perform readService( )
endif
endif
if clientID = 999
if serviceID = 999
endOfFiles = true
endif
endif
return

terminate( )
close files
return

Reference no: EM1380069

Questions Cloud

Create the unit testing framework for atm machine : Create the unit testing framework for ATM machine in the style of JUnit Test Infected: with given functionalities like check balance.
Data type identification : Assume you wish to produce a report of your movie collection. Determine which fields would you use, and which would be the data types of each of those fields?
What are barriers to using it to enable increased collaborat : What are barriers to using IT to enable increased collaboration in an organization. If you were responsible for IT, what would you focus on to increase collaboration activities.
How should pam proceed as a visionary leader : How should Pam proceed as a visionary leader, given fragmented structure of shareholders.
Making a flowchart of the program : Make a flowchart of the program, using the pseudo code from Unit four Topic two as a guide. For your convinence you can access this pseudo-code through selecting following;
Describe components you believed made team a success : Describe components you believed made team a success or "failure." If you were to lead a team, what are two things you would do to ensure your team was highly productive.
What is possibility that wal-mart might have undue : What is possibility that Wal-Mart might have undue influence in se relationships? Discuss this issue also suggest specific examples.
Create an algorithm using pseudo code : Create an algorithm, with the help of pseudo code, to perform one of the following tasks, string of numbers, identify all of the substrings that form numbers that are divisible by 3.
Analyze case also assess bank obligation also sam claim : Analyze case also assess bank's obligation also Sam's claim. Make a decision in case, giving reasons.

Reviews

Write a Review

Software Engineering Questions & Answers

  Calculation of the hypotenuse

Construct a C# console application that calculate the hypotenuse of a right triangle. The calculation of the hypotenuse of a right triangle is based on the Pythagorean Theorem:

  Draw flowchart to input all mid-term marks

Draw a flowchart to input 10 numbers and then determine the highest and lowest number among them. Draw a flowchart to input all the mid-term marks of computing studies class to determine it average.

  Write business rules that are reflected in erd

Write the business rules that are reflected in the ERD.(Note that the ERD reflects some simplifying assumptions. For example,each book is written by only one author.

  Object oriented design for a system that contains tracks

Make an object oriented design for a system that contains tracks of your CD and DVD collection. Recognize each of the classes, associated data,and operations for the classes.

  Draw an e-r diagram for hospital staff

Draw an E-R diagram for the following situations. From discussions with hospital staff, reviewing hospital documents and studying existing information systems, the study team developed a list of business rules.

  Consider the following program segment

Consider test cases  t 1 = ( n  = 3) and  t 2 = ( n  = 5). Although these tour the same prime paths in  printPrimes() , they do not necessarily find the same faults. Design a simple fault that  t 2 would be more likely to discover than  ..

  Question about vector or bitmap

When your customer hands you a job, how would you make the determination which type of graphic is the right selection, Vector or Bitmap, in your response,

  Produce e-r diagram which documents entities

Produce an E-R diagram, which documents the entities and relationships involved in the Retail outlet of a Stationary Shop which includes sales, purchases and inventory of various stationary items etc.

  Pseudocode statement to generate random number

Create a pseudocode statement that generates a random number in the range of one through one hundred and assigns it to a variable named rand.

  Create risk management policy to addresse security breaches

Oorganization which permitted unauthorized individual access to valuable data. Your job is to create risk management policy that addresses the two security breaches and how to mitigate these risks.

  Path and editor variables in linux login

Login to Linux environment and construct start-up shell script. Whether you write the scripts as .profile or .cshrc, include the following options:

  Write down critical success factors for project manager

Write down the critical success factors for project manager? what skills must managers look for when hiring someone who would be successful in this job?

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