Solution:

(a) 11110
(b) 11100
(c) 37
(d) 44


(press 'back' in your web browser to get back to where you were in the exam)