Infosys Interview Question

all questions are logical questions