Project 5 - Credit Score App

Project 5 consisted of an app that I created on code.org in which I used JavaScript to simulate the calculation of a credit score. In order to complete this we needed to make sure we had a general idea of how a credit score is calculated. Since this information is concealed on a federal level, we don't know EXACTLY how a credit score is generated, however we do have a general idea of how it is credited. Credit scores are generated heavily on payment history, meaning that you should consistently pay your bills in on time and in full if you desire a good credit score. A credit score overall represents how likely you are to pay your debts back, which is why having a good credit score will allow for you to take out huge loans for houses or cars, without the bank having to worry about you not paying them back.

The app I created was called "It's Credit Time". Within the title screen, I created two buttons of functionality. One was the start button and the other was the info button. If the user didn't know what a credit score was or how the app works, the info button takes them to another screen which displays this information, for which they can return to the title screen once they've finished reading it. In addition, the start button allows for the user to start the questionnaire for their credit score to get calculated. After answering a series of questions, the program takes them to a screen that displays their assumed credit score based on how they answered the questions. On this screen, they can click the home button to return to the title screen.

Allow me to explain how this works. I have 2 active variables throughout the app. One is named question and the other is named creditScore. The variable question is used to track the question that the user is currently on. If the user is on a question, that question number is the value of the variable. For example, if I increase the question number to 3, it will set the questionnaire to display question number 3. The way I set up my program was that it would increase the question variable by one after you answer a question and add to your credit score.

The credit score variable was to be used as a whole to add up the points accumulated from the questions to calculate a person's credit score. I used a point add-up method that would give a certain amount of points depending on how the person answered. If they answered responsibly, they would get more points then someone who didn't. Each time you answer a question, your creditScore variable increases as well as the question variable to move on to the next question.


Comments

Popular posts from this blog

WBL Workshop #6 Interview Skills

CTE Expo Reflection Journal

Lab #12 Reflection