Modify the pseudocode and optimize

Assignment Help Computer Engineering
Reference no: EM1328178

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: EM1328178

Questions Cloud

Ideas with swot analysis, managerial strategy and tactics : Ideas with SWOT analysis, Managerial Strategy and Tactics
Time value of money-amount which drawn from annuity : At the end of 1922, your great grandfather (g.g.f.) established a trust fund to be used in order to help a later generation of the family obtain a university education. Draw appropriate time-line(s) to demonstrate your calculations.
Explain erp systems vs. accounting packages : What do high-end ERP systems do that less expensive accounting packages cannot?
Describe the point elasticity of demand : Describe the point elasticity of demand with respect to advertisement
Modify the pseudocode and optimize : offer valid reasons why the pseudocode is now more efficient.
Explaining leader-follower relationship : In a leader-follower relationship, is it ever appropriate to change your behavior based on a person's gender or cultural background?
Regarding the sexual harassment : Is this a case of sexual harassment? If so, what type? What might the legal penalties be? What should Betty do?
Explain evaluation of music website : Explain Evaluation of Music Website and Describes how the "look and feel" differs for one Web sites for the music industry
Describe terms relevant to elasticity used in explanation : Elucidate your answer also describe terms relevant to elasticity used in your explanation.

Reviews

Write a Review

Computer Engineering Questions & Answers

  Program to generate professor rating class

Write down the program which generates a Professor Rating class containing of the professor ID and three ratings. The three ratings are utilized to evaluate the easiness, helpfulness, and clarity.

  Effects of technology

Select a new technology that interests you and analyze it from the sociological point of view. What do you consider this technology would contribute towards the society?

  Writing into file utilizing fileinputstream

Write down an application utilizing the FileInputStream which opens a file which consists of the name of user's favourite book and then show it to the user.

  Implementing compstat

Explain how COMPSTAT, as an information system (IS), implements the four basic IS functions Calculate how information systems have enabled the police departments which implement tools like COMPSTAT in order to respond to the crime faster.

  Selecting a life-cycle model for project

She wishes your organization to build a product which will monitor the company’s stock, starting with purchasing of leather and keeping track of boots as they are manufactured, distributed to individual stores, and sold to customers.

  Plan the decision table with all possibilities

Plan the decision table with all possibilities

  What capability vp mode in windows 7 operating system

what are the pros and cons of upgrading an operating system versus installing a new image of OS? Describe some of your own experiences at work or at home.

  Instruction is executable in one execute cycle

The MIPS ALU (see enclosed figure) is extended to support an instruction "set-on-not-equal-signs". The instruction 'snes $rd, $rs, $rt' is similar to 'slt'. It sets $rd to '1' if sign bit of $rs sign bit of $rt.

  Intermediate programming

Design a program that reads in a text file with drawing commands and then outputs a bitmap with all the items drawn correctly

  Demonstrate how this search would go

assume an algorithm that processes a data set of size 8 has a runtime of 72, and the same algorithm on a data set of size 20 has a runtime of 420. Using big-O notation, state runtime for this algorithm for the general case of a data set of size n.

  Security policy document project

Analyze security requirements and develop a security policy

  Evaluating the post fixed expression

Approximate the post fixed expression a) Initialize an empty stack. While there exist more symbols within postfix string { b) If token is an operand, push it onto the stack. If token is an operator

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