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

  Write a haskell program to calculates a balanced partition

Write a program in Haskell which calculates a balanced partition of N items where each item has a value between 0 and K such that the difference b/w the sum of the values of first partition,

  Create an application to run in the amazon ec2 service

In this project you will create an application to run in the Amazon EC2 service and you will also create a client that can run on local machine and access your application.

  Explain the process to develop a web page locally

Explain the process to develop a Web page locally

  Write functions

These 14 questions covers java class, Array, link list , generic class.

  Programming assignment

If the user wants to read the input from a file, then the output will also go into a different file . If the user wants to read the input interactively, then the output will go to the screen .

  Write a prolog program using swi proglog

Write a Prolog program using swi proglog

  Create a custom application using eclipse

Create a custom Application Using Eclipse Android Development

  Create a application using the mvc architecture

create a application using the MVC architecture. No scripting elements are allowed in JSP pages.

  Develops bespoke solutions for the rubber industry

Develops bespoke solutions for the rubber industry

  Design a program that models the worms behavior

Design a program that models the worm's behavior.

  Writing a class

Build a class for a type called Fraction

  Design a program that assigns seats on an airplane

Write a program that allows an instructor to keep a grade book and also design and implement a program that assigns seats on an airplane.

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