Conversion of binary numbers


Question 1:

a) Represent decimal 3864 in the 2421 code. Show that the code is self-complementing by taking the 9’s complement of 3864.
 
b) Find out the value of base x if (211)x = (152)8

Question 2:

a) Perform the arithmetic operations (+42) + (-13) & (-42) - (-13) in binary using the signed – 2’s complement representation of negative numbers.
 
b) Convert (101101)2 to Gray code and Convert (1010) from Gray code to binary
 
Question 3: Convert (010110010111)2 to

a) 3 decimal digits in BCD.
b) 3 decimal digits in the excess–3 code.
c) 3 decimal digits in the 2421 code.
 
Question 4:

a) Convert the following decimal numbers to the indicated bases.

i) 7562.45 to Octal ii) 1938.257 to hexadecimal iii) 175.175 to binary
 
b) Convert the given numbers with the indicated bases to decimal (12121)3; (4310)5; (50)7 and (198)12
 
c) Perform subtraction with the following unsigned decimal nubers by taking the 10’s complement of the subtrahend.

i) 5250 – 1321 ii) 1753 – 8640 iii) 20 – 100 iv) 1200 - 250

d) Represent the following decimal numbers in BCD 13597; 93286 & 99880

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: Conversion of binary numbers
Reference No:- TGS03446

Expected delivery within 24 Hours