Modify the pseudocode and optimize it.

Assignment Help Programming Languages
Reference no: EM13947585

Easy Credit evaluates the credit limit of people based on their income and past credit limits. Based on these inputs, calculations are performed to ascertain the credit worthiness of the customer. The following is a pseudocode that will help them automate the system of checking the credit worthiness and then printing out the results so that Easy Credit's manager can make a decision on the limit to be given to the customer:

start

read Customer_Name
perform Calculate_SafetyLevel()
perform Evaluate_History()
print Customer_Name
print 'Credit History of' Client_Name 'is' History
print 'Safety Level of' Client_Name 'is' Safety_Level

stop

Calculate_SafetyLevel()

read Customer_Income
if Customer_Income >= $5000

Safety_Level = Excellent

elseif Customer_Income >= $3000

Safety_Level = Good

elseif Customer_Income >= $1500

Safety_Level = Ok

endif

return

Evaluate_History()

read Customer_History

if Customer_History = Clean

History = Good

elseif Customer_History = Pending_Balance

History = OK

elseif Customer_History = Defaulted

History = Risky

endif

return

* Modify the pseudocode and optimize it.

*Provide valid reasons why the pseudocode is now more efficient.

Reference no: EM13947585

Questions Cloud

Briefly describe the situation inside your company : Briefly describe the situation inside your company, in terms of the use of such systems, and discuss whether it can be characterized as a learning organization.
Determine the convection heat flux : You've experienced convection cooling if you've ever extended your hand out the window of a moving vehi- cle or into a flowing water stream. With the surface of your hand at a temperature of 30°C, determine the convection heat flux for (a) a vehic..
What is the expected return of a portfolio that consist : Suppose autodesk stock has a beta of 2.5, whereas Costco stock has a beta of 0.76. If the risk-free interest rate is 6.5% and the expected return of the market portfolio is 13.5%, what is the expected return of a portfolio that consist of 70% autodes..
Write a function bucketsort that takes an integer array and : A bucket sort begins with an one dimensional array of positive integers to be sorted, and a two dimensional array of integers with rows subscripted from 0 to 9 and columns subscripted from 0 to n - 1 where n is the number of values in the array to be..
Modify the pseudocode and optimize it. : Provide valid reasons why the pseudocode is now more efficient.
Discuss and evaluate the amount of protein consumed : Compare the number of calories consumed with the number of calories needed as determined by the patient's activity level. Discuss/evaluate the amount of protein consumed. Discuss/evaluate the amount of carbohydrate consumed-simple, complex and fiber
What about very large increases in its debt ratio : If the chosen firm attempts to grow faster than its sustainable growth rate with modest increases in its debt ratio, how will this likely affect its WACC? What about very large increases in its debt ratio? Explain.
Remote mine are for labor and transportation : Two costs of construction of a small, remote mine are for labor and transportation. Labor costs are expected to be $130,000 the first year, with inflation of 6% annually for 4 years. Unit transportation costs are expected to inflate at 5% annually, b..
Under the straight-line and double-declining balance method : Assume that a firm buys a depreciable asset for $6 million and its salvage value is $0 after a depreciable life of 12 years. Using the SLN and DDB functions, determine the depreciation expense for each of the 12 years under the straight-line (SLN) an..

Reviews

Write a Review

Programming Languages Questions & Answers

  Difference in systolic blood pressure among race categories

Verify if there is any difference in Systolic blood pressure among the Race categories and type of analysis is appropriate and why?

  Program to prompt the user for an arithmetic choice

The main menu of your program is to continue to prompt the user for an arithmetic choice until the user enters a sentinel value to quit the calculator program.

  Nested if functions along with vlookup function

The Vlookup function returns a #n/a! error if no lookup value is supplied, and various other errors whne invalid keys are entered. Use a combination of three levels of nested if functions, and other functions to avoid these problems.

  Program in visual basic to calculate area of triangle

Write a program in visual basic to calculate area of a triangle.

  Write and debug a mips program

Write and debug a MIPS program that performs the given operations - Display one of the following statements depending on if a>b, or a=b or a

  Write program to accept data for each student in school

Write the program which accepts data for each student in school- student ID, classroom number, and score on achievement test. Create program which lists total points scored for each of the 30 classrooms.

  Write console application that displays the sizes

Create a file that contains your favorite movie quote.  Use a text editor such as Notepad and save the file as Quote.txt.  Copy the file contents and paste them into a word-processing program such as Word.

  Write modular program to enter integers for sorting

Write a modular program that performs the following functions: Allows the user to enter 10 integers for sorting, Allows the user to select one of the two types of sorting techniques.

  Write program to read file having student'' test scores

Write a C++ program that reads a file named "grades.txt" consisting of students' test scores in the range 0-200 (all integer values). (The first number in the file specifies the number of grades it contains.

  Rewrite the program so input processing

Determine the output displayed when the button is clicked. Determine the output displayed when the button is clicked.

  Determines which patients have a high systolic pressure

Application determines which patients have a high systolic pressure and provides a process to contact them for follow up consultation.

  Write a program that must be able to estimate profits

The Barking Lot is a dog boarding facility. It provides boarding for any number of days and additional services such as grooming and walking. The Barking Lot currently has three employees, a list of 40 dog clients, and room to board eight dogs at ..

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