Answer:
a) 228
b) 940
c) 255
Step-by-step explanation:
To convert a hexadecimal number to decimal, multiply each hex digit by 16^(position-1) and add the components.
For example, 0x 34 = 3* 16^(2-1) + 4*16^(1-1) = 48 + 4 = 52
Evaluating the given numbers:
a) 0xE4 =>
E corresponds to 14. So the decimal representation is 14*16 + 4 = 228
b) 0x3AC =>
A corresponds to 10 and C to 12. So the decimal representation is 3*16^2 + 10*16 + 12 = 940
c) 0xFF =>
F corresponds to 15. So the decimal representation is 15*16 + 15 = 255