Personal Finance interview question

scoope functions and diff in them