Infosys Interview Question

Some logical questions related to practical