Synopsys interview question

FSM, CMOS circuit questions, c++ programming