Broadcom interview question

basic questions from digital system design and probability