0% found this document useful (0 votes)
6 views

EIT_Assignment solution-1

Uploaded by

vishal mehra
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views

EIT_Assignment solution-1

Uploaded by

vishal mehra
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

EIT Assignment solution-1

Q.1 (i) Represent the decimal number 5327 in 8421 BCD code.
Solution The given decimal number is 5327.
The corresponding 4-bit 8421 BCD representation of decimal digit 5 is 0101.
The corresponding 4-bit 8421 BCD representation of decimal digit 3 is 0011.
The corresponding 4-bit 8421 BCD representation of decimal digit 2 is 0010.
The corresponding 4-bit 8421 BCD representation of decimal digit 7 is 0111.
Therefore, the 8421 BCD representation of decimal number 5327 is 0101 0011 0010 0111
(ii) Determine the decimal number corresponding to the 8421 BCD code 01001001.
Solution The given 8421 BCD code is 01001001.
To determine the equivalent decimal number, simply divide the 8421 BCD code into sets
of 4-bit binary digits as:
0100 1001
The decimal number corresponding to the binary digits 0100 is 4.
The decimal number corresponding to the binary digits 1001 is 9.
Therefore, the decimal number equivalent to 8421 BCD code 0100 1001 is 49.
Q.2 (i) Convert the binary number 10101101 into its corresponding decimal number.
Solution The given binary number is 10101101.
Now, calculate the sum of the products of each bit multiplied by its place value as:
(1 × 27) + (0 × 26) + (1 × 25) + (0 × 24) + (1 × 23) + (1 × 22) + (1 × 21) + (1 × 20)
= 128 + 0 + 32 + 0 + 8 + 4 + 0 + 1
= 173
Therefore, the binary number 10101101 is equivalent to 173 in the decimal system.
(ii) Convert the binary number 100110 into its octal equivalent.
Ans: The octal equivalent of 100 and 110 is shown below.
100 100
46
Therefore (100110)2 = (46)8

(iii) Convert the Binary to Hexadecimal number: 1100 0110


Ans:
Binary to Hexadecimal Conversion
1. Divide the binary number in pair of four digits.
1100 0110
2. For each of the pairs, deduce the corresponding decimal number.
1100 0110
12 6
3. Represent each of the decimal numbers in hexadecimal form.
1100 0110
C6
Therefore, (11000110)2 = (C6)16
Q.3(i) Convert the decimal number 111 into its equivalent binary number.
Solution The given decimal number is 111.
The following table lists the steps showing the conversion of the given decimal number to
its binary equivalent:
Now, read the remainders calculated in the above table in upward direction to obtain
the binary equivalent, which is 1101111.
Therefore, the binary equivalent of the decimal number 111 is 1101111.
(ii) Convert the decimal number 45796 to its equivalent octal number.
Solution The given decimal number is 45796.
The following table lists the steps showing the conversion of the given decimal number
to its octal equivalent:
Now, read the remainders calculated in the above table in upward direction to obtain
the octal equivalent, which is 131344.
Therefore, the corresponding octal equivalent of 45796 is 131344.

(iii) Convert 60010 into a hexadecimal number.


Solution:
Divide by 16 Quotient Remainder Hex Value

600 ÷ 16 37 8 8

37 ÷ 16 2 5 5

2 ÷ 16 0 2 2

Therefore, 60010 = 25816


Q.4 (i) Convert the octal number 365 into its equivalent hexadecimal number.
Solution The given octal number is 365.
Firstly, convert the given octal number into its binary equivalent. The 3-bit binary equivalent of the octal
digit 3 is 011.
The 3-bit binary equivalent of the octal digit 6 is 110.
The 3-bit binary equivalent of the octal digit 5 is 101.
Therefore, the binary equivalent of the given octal number is 011110101.
Now, we need to convert this binary number into the equivalent hexadecimal number.
Divide the binary number into 4-bit sections as:
0000 1111 0101
The hexadecimal equivalent of 4-bit binary number 0000 is 0.
The hexadecimal equivalent of 4-bit binary number 1111 is F.
The hexadecimal equivalent of 4-bit binary number 0101 is 5.
Therefore, the hexadecimal equivalent of the given octal number is F5.

(ii) Convert the octal number 540 into a binary number.


Solution: Given, 540 is the octal number
By the octal number table, we can get the binary equivalent of each digit.
5 → 101
4 → 100
0 → 000
Therefore,
5408 = 1011000002

(iii) Convert the octal number 5324 into its equivalent in decimal system.
Solution The given octal number is 5324.
Now, calculate the sum of the products of each digit multiplied by its place value as:
(5 × 83) + (3 × 82) + (2 × 81) + (4 × 80)
= 2560 + 192 + 16 + 4
= 2772
Therefore, the octal number 5324 is equivalent to 2772 in the decimal system.
Q.5 (i) How will you convert CAB in hexadecimal to Binary?
Ans:
CAB16 to Binary
The given hexadecimal number is CAB.
The binary equivalent of each of the digits is shown below.
CAB
1100 1010 1011
Therefore, (CAB)16 = (110010101011)2
(ii) Convert the hexadecimal number A53 into its equivalent in decimal system.
Solution The given hexadecimal number is A53.
Now, calculate the sum of the products of each symbol multiplied by its place value
as:
(10 × 162) + (5 × 161) + (3 × 160)
= 2560 + 80 + 3
= 2643
Therefore, the hexadecimal number A53 is equivalent to 2643 in the decimal system.
(iii) Convert (DA2)16 into the octal number.
Step 1: Convert the hexadecimal number to its binary equivalent.
Hexadecimal numbers are base-16, where each digit is represented by 4 binary bits. We can break down
each digit of (DA2)16 into binary:

 (D)16= (1101)2
 (A)16= (1010)2
 (2)16= (0010)2

(DA2)16= (110110100010)2
Step 2: Group the binary digits into sets of three (for conversion to octal).
To convert binary to octal, group the binary digits in sets of 3, starting from the right. Add leading zeros if
necessary:
(110110100010)2 = 110 110 100 010
Step 3: Convert each group of 3 binary digits to their octal equivalent.
 110=6
 110=6
 100=4
 010=2
Step 4: Write the final octal number.
Thus, (DA2)16= (6642)8
Q.6 Convert the following numbers into their binary equivalents:
A. (59)10 B. (EBC)16 C. (654)8
Ans:
A. The conversion of (59)10 into its binary equivalent is shown below:

Therefore, (59)10 = (111011)2


B. The binary equivalents of E, B and C are shown below.
EBC
1110 1011 1100
Therefore, (EBC)16 = (111010111100)2
C. The binary equivalent of 6, 5 and 4 are shown below.
654
110 101 100
Therefore, (654)8 = (110101100)2

Q.7 Convert the following numerals into their Binary equivalents: (FAC)16, (561)8.
Ans:
(FAC)16
The given hexadecimal number is FAC.
The 4-digit binary equivalent of each of the digits of the given number is shown below.
FAC
1111 1010 1100
Therefore, (FAC)16 = (111110101100)2
1.69
(561)8
The given octal number is 561.
The 3-digit binary equivalent of each of the digits of the given number is shown below.
561
101 110 001
Therefore, (561)8 = (101110001)2

You might also like