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

Sol HA11

The document discusses binary representations of decimal numbers using successive conversions to binary. It provides examples of converting decimal numbers to binary using place values of 2^0, 2^1, 2^2 etc. and summarizes the key steps. Closed form expressions are given for converting decimal numbers to their binary equivalent in n bits. Operations like addition, subtraction and complement are demonstrated on binary numbers.

Uploaded by

egupta1
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
61 views

Sol HA11

The document discusses binary representations of decimal numbers using successive conversions to binary. It provides examples of converting decimal numbers to binary using place values of 2^0, 2^1, 2^2 etc. and summarizes the key steps. Closed form expressions are given for converting decimal numbers to their binary equivalent in n bits. Operations like addition, subtraction and complement are demonstrated on binary numbers.

Uploaded by

egupta1
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 14

cq)

6or.r.O

P-l

(t r)
B

= Crg
I

roo ool )

ET

L
(tt oooor )
Z-

Ct

t)

(oon oooo t )

:.L

AFte"rrrati*dt,
fi16 r
aanVcy

L tlre

g[ ren

octal

mr^/?r-r b

erl ta i [-

deci-.,al* e"uivaJent. (l qt )
t2(rxgI =

-,- qxgl+ I * 80 )ro


t0

= Cot+ z>+r )
xtot0
cor,y

= (qr

h- U?-o-rr5 wr,-g +,he rt methad ob a,qc ce^6!i\rc. dijfuron %


d
.

erL t h?A
V

))o'

acir",og_

er,aimdq

--> -iEht rynoAb biL

laW mo4r. bit.


(t qr)

Gr) =
l0

(rr oooot )

1*8,1:.=,::',!

r-"

cb)

''O-t' 068) = Itxt6 +6xt6'+ ..1 ^ t6; 8 t,l6 )

-.

D-q ,b

l0

= (rXz S6 + brt 6 ,{* ,"9 x l)t0 = (z s6 + g i.*g)


t0

-, Cz *o ),

. ,,

6= (c)' (lorto,orol)
r
:

.. (t aa)

13bo\o
,1

z.,:*t*

.T T-T , =' ({ L q) . G., ,g ...':.


J
,

(oto,,rro;'iola iao) /-

t.

'. (t o lto. cttot)

= (L6,2Ll)

,$

(d)

(qo fo,6 )
:i

r. xsZ tg =

,8.
+sxBl + oxgb + 6* 6l) " .t6 ,.-: '
o,lS )
t0

= (zoqg
t

a,

= (z ogg , -15) t6 (qogo,6)

= I-w

(,o1-g.rs)

(eT' '(rft rA, 6)

P'3
'f'6i1'0,
--

t,

t6

2 (lllt

\ot0 lru A tr
4

lo ll )

' '$r,

g L

"'. (fxrA.6)
t6

/ = ( ltil t6tol tt, I

?lo,lorr

('f) Cer,g2-o3lz5) l0
Fi.rAt ob
we

,:1;..; L

,,
.-.. l :.'1

conrerL f gr

auecetrt*i ve
^f

]o

-b
I

bfnarX
r-.

uainS

tl.p -rwltrl4

erynorndaTt

ls
-1

ri6ft +zr66t bits

3
I

.:
I

o
Noto

I
.

Can"f

e-11b

car)o = fr,'nL [o, B zo3irs) :'la f,pbinarg oA b"ttatDA.


.e

t\-

z oZ l2-S y\L ,

F{
-

tI

61o62-tu

XL

l,
Q.

zBtz5oo
56

xz
xz
xz

L5

f.
O.
O.

lz,So

z 5o0
rt$'o o

X2
,,;

Xzo
tl'

+
No,tO_,

(o,g

\;

z"o3:izs)=

'

"rl0

(t t otoo'),

Gt' 8. uogizi)i 'l0 ftttl,


l

rrot ool) >

I'

Soto, @

Pr5

(o.)

56 - >l 50 = (oottqoto)
Z l>
\

t, Lf = (ooolofal) 2-

coro p)e m enf

ol

2-! = 6rtola,l)
a

NotO,

5a
+-

Gzr) -

gince

le]t''

(+) \ llo to r I @o oot I I o I l-> dr"o cord the e.a'rr5 'tue Yna6t btt ta T.,cro )" t-he rrunrrben

oo\ | o o lo

gel

ti^

(ooollt",),
. '.

poailivg:.

= (zq) ro

*qaLoerl f4 + 2-1

(u; e so + zl zt = @oo tolotL


>l>
I{DLo)
\
1

50

= (no noo to) z

covctp le m ent

of

50 = (rtop,,,r)z

+ Ll

50
I

100

--> (+) o 00 I ola


I

\ilo
I I

lloool

$t-,o te$t vnoAt bit iA

tbe *ctrnbet, ,R, 3* {* Z.'A corn ple meay of (rrr o otr), = Gool rro 1)u
. 1 z$rAtptrt

,L;,"

negatrve

i,a _ L1.

r0

D/ r-b

ce)

50 -

2-l

50 = (oort oolo)
z\d
-{ c-Ornpte rDc6D corn ple"rocnt

l "?l

=''' (oo,o to
, '.i

tar )
a'

l*
l$otO)

of fa = (a lraOrrrO) .,L ob zl = (ntotott )

L-

$,5

1&a)

t, too 9rr + dpacerd


%

i_.__o-i-..:.

+lre

, )rryoce

bo

te[t *o}y ,'pi* ,b Lrl th. ;,r-,bMlr-;,,*u gtr


tt

coxrg

L6

Lb

.n%qtt rye.,
ca.raple mery-

(ratr r aar )

,r-

a,

(otaoo ut )

"

o4rQ,to,e4

t* .7, -_ 1t

Crr) .

lo,

Sor,*a

(*.*., +

a 'x.

* f. a + T) , C x+ q),t +r,z)
+T,a*E ),. (u+n.E+z.a) ( u+,ur.7+I.a) f: a+*B -l
f

(x' ( *,t+-r)

:-

Cx. ( a+L)-Ff.a+E ).

r+BJ

'ir-.7,

l-

Ser.rr,

?-g

' /.rt Ctt L1G,1)


-Tloe *r,.tf,

= &Crr5,k)
-kr.ble,

L6'

o 0
I

o
I

0
I

L
b
q

0 I

t
6

o
I

tootr)

Z'tn cltlr 61) = f .T.* * f.g.ir +x.8.f,+ }.B.zu


- I .v + = rL.

t,

U,T

+ ac. T. ( 7,+*1

=d-,9,v+f.g.tr*x,y = f,-'6.a +- 3.(i.t+z;

[:f,+v?tJ
E,,Te+e -1
= B+tJ

= if.5,7b+ B,(i+x)
= 5f.5.7.

+ B.f -F 2.3
* !,f,.F2. j

. ', Z'rn cr1L16l) = {,9.7

.5or,r,r,O

P-q

o\F(^)I5=*ts'z-'1'zt-'*'tzt13'='f,'+"Az-F({)*lz
)t

=) oo o I

+!-

O1-ol oo Lo 2-53i-5r1: f .no I I,2, 3, 5, 11, jt-s)


r.rli z

c>

ora

!-!"LL i-6'-t

oo oL L,t_ lLo
o

oo

o
I

o.{

(^)

Tr* ^ tfltof,z

o
1z

3-L

u
sl
La

T)
7

o
6
a.s

o
3

.j\

il

4.1

b) f = tD*T;+.,' tt i+r^r rt'*tlSz'{'r

u'xt 7+[3x'trz

laoo

oo o o 4oo3-

O'l'Lt' 1.LLo o:Lto

LLoSaj.+6
=

>j"

( o, 6 ,7, g tf-zt 1+)

22a.

oo

6a L',l* t6
o
F

oo

to xA

+ t*>2LZ +6I'[
+_

@
o

urITzo

oI
Lt!o

o
l3

(t

L
o
o
ll

9
"

.6

3''
o

L)s ta,t, z)
>**

Rto
(o,

l tzt?,+, s,6 l
I-

\+Z o

1oo 01- LL
L
l"
o

Lo

o
1-

ul'
4.)
f_

D
T

e) + (r,

!,2) = JT

nr (

O,

L,2,

)c+r).( 5rz).(/+z)

OA ,"L

to

6
1_

:) + (D,)t,!,2) = I*

(o,a,4,g, L2,L5)+ ).a (L,5,7, Lo)


uJ,x
u ,

,oo
,013,1L

o o: g ---

9
o

oL LL L"J o
x
5
Ls

:l-o

^'

A,

o
It

uJ" o

u
o

o
x

to

A,

t,

1tl:ezt

]-5 z*).1z-

"'!'-

P-lt

{) +(x,b,z)= 11 7+ttz+':'+)ttz
=
JJ,E

'l-o f

o.LL' ! t'o
'

-lr

-o

1-o
l
-

i-

"; )

rnn'

( L'3' {16)
-1 'x
L. r oo, oL !-1,
,:o

=:r-3t['+:,-u-z

q pi :t e 61 ul
o t ,4

-l-o

(D?(

b 1-

-oo o1- 'LL' 4o


c

oo

o
I7

o:11, a-l J*o

I
'L
(/

o
7

o
o
6

o
6

-a

il

r
P- 12

b)

t;

t:
t:
,u

7 tltt
--\ a} {5

111o
O

t10l.
o oo
lt3
J.

11 oo

o 1tt

tlo

a4

lz+

6L

Lz ,13,
u)x

1+, 15) z' oo oI 11

10

o(o
o.
11-

o
o
(
q

cl
o
r5

o
{

I \!_
o o
I
3

1o

tf

lo

u)2t-.P)ct+

-.:-I L' rcrl

.(out,

@ tg.

(r:r

Uz

oo
o

1- a*1- ao

: 6z+
( t\d -

f,z

oo

{L

/--'4

ol
Gtz+fi2
v

Or

tx
t",

A
_b

t'L

t2 K

o
o

trr
I

.19

o
I

Io

o8

\s

b-)

Ts {tn,6

.foj,"i/,rt.lr",n

prro

dr.rO-

*ur

e-

za^(D

or ea r6*e.o4 a

-l' i t', p - rn o-p'

Slr,vo, u)e- Co,"Ui.le-

' oo 0L 1*6- Lo *Nb3


oc o
o1 L
.t"1{
,1 1o

I
{

.L

1_

/o
7

/#2

r a ry 3 t'
\
r> 1_

o'1

)(

= ( z) ( 6*b)
Nu-.,,

) {, z ?-n(;r +f)

{,rr-^ ta)+tb)

b*- z. 16 +ft )

Gz *1
'

,4t

ErU Jt* {".-ohc ^g a^r"- eqf)'^[t"{

W bOtra, So^,r'+cr\s^ a L
F
o

,,1+al/>oy\k),
to\ \ \ h

l6-t N,dtB,?
Cr,u.r- Vaj,pr*- L o,nd
,

clt>Sed St,^>ifcla
Srp

off;n

VarreaJl-,

i+e/"

vaeria,q

r,

uli

h ai/* Var"r*"r- 0

tr,

1,3,\

ciased

',2a1o,l,/n

NAtz

2r4 closecj, ;3opczta 4 ,**Z A frt ctons.d 4 U111';VV


ur*

'tt
00 , ol. tl .t
0o
o
(,{

t,0

9 0
-1

ot

0
O

A
9

o
I

lt
t0

t, -8
o

A
U'

,o
o

rl
Ia

l.

.A

+=

xyz +rouz

You might also like