Purchase Solution

create a flow chart for this pseudo-code

Not what you're looking for?

Ask Custom Question

Input File
FirstName
LastName
SSNumber
Grade

start
perform housekeeping()
while not eof
perform mainLoop()
endwhile
perform finish()
stop

housekeeping() Variables
declare variables num x
open file char foundit
read studentInfo studentInfo
return char studentName
num studentSSN
char classGrade
char grade[1] = "D"
char grade[2] = W"
char grade[3] = "I"
char grade[4] = "F"

mainLoop()
foundit = "No"
x = 1
while x <= 4
if classGrade = grade[x]
write studentSSN, "Did not complete prerequisite" to prerequisite
print studentSSN, "Did not complete prerequisite"
x = 5
foundit = "Yes"
else
x = x + 1
endif
endwhile
if foundit = "No"
write studentSSN, "Did complete prerequisite" to prerequisite
print studentSSN, "Did complete prerequisite"
endif
read studentInfo
return

Purchase this Solution

Solution Summary

Ideas to create a flow chart for this pseudo-code are given.

Solution Preview

The flow chart is attached. Check whether you can change or modify.

Description Please create a flow chart for this pseudo-code
Posting Input File
FirstName
LastName
SSNumber
Grade

start
perform housekeeping()
while not eof ...

Solution provided by:
Education
  • BSc (Hons), University of Colombo - Sri Lanka
  • MEngSc, University of Melbourne
  • Certificate IV in Training & Assessment , Australian Business Council
Recent Feedback
  • "Thank you!"
  • "Thank you."
  • "Thanks a lot for you help and support"
  • "Sorry about the late payment but the assignment was sufficient and appreciated. Good work"
  • "Great description! Thank you for your quick response."
Purchase this Solution


Free BrainMass Quizzes
Basic Computer Terms

We use many basic terms like bit, pixel in our usual conversations about computers. Are we aware of what these mean? This little quiz is an attempt towards discovering that.

Java loops

This quiz checks your knowledge of for and while loops in Java. For and while loops are essential building blocks for all Java programs. Having a solid understanding of these constructs is critical for success in programming Java.

C++ Operators

This quiz tests a student's knowledge about C++ operators.

Word 2010: Tables

Have you never worked with Tables in Word 2010? Maybe it has been a while since you have used a Table in Word and you need to brush up on your skills. Several keywords and popular options are discussed as you go through this quiz.

Inserting and deleting in a linked list

This quiz tests your understanding of how to insert and delete elements in a linked list. Understanding of the use of linked lists, and the related performance aspects, is an important fundamental skill of computer science data structures.