JIMS interview question

basic questions