Number Systems and Codes - Technical MCQs

Q1:

What is the result when a decimal 5238 is converted to base 16?

A 327.375

B 12166

C 1388

D 1476

ANS:D - 1476

5238 convert from decimal to binary. So, the Answer would be 1010001110110. Start from the last which is 0 count 4 backwards (4 bits), regroup it so its easier. It will look like this 0001 0100 0111 0110 ( I added 4 zeros in front-doesn't matter actually just for formality). Those grouped bits convert from binary to decimal to get the answer which is 1476.