You are on page 1of 3

Bc190403012

Assignment no.1
Cs601

Ques n0.1: Perform the following arithmetic operations on given data. You can
use indirect conversion or repeated division methods only. Convert the result into
Caveman Number System.

(6 F 4 DE 2) H +(3476423)O −( 1011010101010101011101)B +(↑ ∆> ΣΩ)5−(9877693) D

Solution:

 6 F 4 DE 2  H
 (6 165 )  ( F  164 )  (4 163 )  ( D 162 )  ( E  161 )  (2 160 )
 (6 1048576)  (15  65536)  (4  4096)  (13  256)  (14 16)  (2  1)
 6291456  983040  16384  3328  224  2
=  7294434 D

(3476423)O
 (3  86 )  (4  85 )  (7  84 )  (6  83 )  (4  82 )  (2  81 )  (3  80 )
 (3  262144)  (4  32768)  (6  4096)  (6  512)  (4  64)  (2  8)  (3  1)
 786432  131072  28672  3072  256  16  3
 949523D

¿)
 (1 221 )  (0  220 )  (1 219 )  (1 218 )  (0  217 )  (1 216 )  (0  215 )
 (1 214 )  (0  213 )  (1 212 )  (0  211 )  (1 210 )  (0  29 )  (1 28 )  (0  2 7 )  (1 2 6 )  (0  2 5 ) 
(1 24 )  (1 23 )  (1 2 2 )  (0  21 )  (1 2 0 )

=2970973

(   ΣΩ)5
 ( 54 )  ( 53 )  (  52 )  ( 51 )  (  50 )
 (4  625)  (1 125)  (2  25)  (0  5)  (3 1)
 2500  125  50  0  3
 2678D

(6 F 4 DE 2) H +(3476423)O −( 1011010101010101011101)B +(↑ ∆> ΣΩ)5−(9877693) D


=7294434+949523-2970973+2678+9877693
=-4602031

5 -4602031 Reminder
5 920406 1
5 184081 1
5 36816 1
5 7363 1
5 1472 3
5 294 2
5 54 4
5 11 3
2 1

=-2134231111
Convert these base 5 number system to caveman number system:

=(-2134231111) =-     Ans

Ques no.2:Perform the following conversions:


 Convert the ( FE 45 EA )H into Gray Code.
Solution:

Hexa F E 4 5 E A
number
Binary 1111 1110 0100 0101 1100 0110
number
Gray 1000 1001 0110 0111 1001 1111
code

So, the gray code is 100010010110011110011111 Answer

 Find the equivalent Excess-7 code for the number( 76372 )O

Solution:

Octal 7 6 3 7 2
number
Adding 8 8 8 8 8 8
We get 15 14 11 15 10
Convert 1111 1110 1011 1111 1010
into binary
each bit

Equivalent excess-7 code for the number ( 76372 )O is equal to


=11111110101111111010 Answer

You might also like