Cognizant interview question

Questions related to probability.