Barclays interview question

How are bonds priced