DXC Technology interview question

Basic questions