Qualcomm Interview Question

write assertions to verify the condition.