Exxat interview question

Interview directly ask design diagrams and pseudo code for 1 task.