Question 5.1 for 8,16 and 32 bits