Qualcomm interview question

write assertions to verify the condition.