EXL Service Interview Question

How do you calculate a bond yield?