Bank of America interview question

How does credit scoring system works?