You are on page 1of 27
Ad of 02'S COMP Represgeutahor a >. gahan % O oi wrt BE yw a “3. Gomer Q EAC oud aot be Seed (sen suns 3, Ra — » —) . 7 ge Conlorest ® o tel is Caled 98” Asitfenetic . o§ 45 amy Called a& " Logical Complemes In 16-bit 2’s complement representation, the decimal number —28 is: (A) L11L 1111 0001 1100 4B) 0000 0000 1110 0100 ‘) 1111 11111110 0100 (D) 1000 0000 1110 0100 Solution +28 -a(l648+H) = 0111 00. pre toe Tooo00 oo0000 I"! Ely = DBy = 23 Commplomadt a. 1900090 11100 = fan iy 1eolOe Overflow —» yt i% used in “Signed Agstrmelc’ ¥ orerfly OCCA (shoo the Rest of signed Arsitndic exceeds the Range f nd d. * In 25 Comp Wh > RH 1023 bb > (— 4 +30 ale -1 ¥ Tr Signed muikiplvabor, yy te S “ere Result Aifferend frm He geven no sign BE A andcales overfow aS Addition Signed Addition fmethed='] cm In Siqued naan oct owt) pk . overflow Ce “or Cin Cob + — i =" 5 taco» es atu > a jo . eushis Cometh Method - > ss reflay ocus 4 @ Two poche added but the Roault is pphe (6) aT () Two Negatie MS ave caddad, wah the Pesuth «_gstite Nok Overflon Nevy ecu whor Wve add on Pets , Ow, we Ound One Negatie No ae (3) je £4 Connider 3- Bil 25 Sp ¢(Ot) Bax, A eme0 @ 6 O(a) O 110 ‘ ol) +01 1GD i ho x poet 5 y +230 _ at ¥ Tndicalin “ogctias (Ke werfow) *, bow + Cin + Cou ® Criwen 1, awd 4 Bor Re et ee the gn Beh of the vent e ~ bo be Then woh jews eof te o ‘sada He eri aL = wine ge @ egEre® Ay ErAge @ x+y? — X--er ce a fad Zserp +y ee et AT Lewd z-- — < Rett 9 (PEE covey flay, ° EXprean + ovevflas i +90 © re oOo iv one ott Fae sete ye | ge 20 -OD oh toot aa +5 4920 tC OO coe Asesr goto o\- 30K IO 11 0000) = 48 s. Sh = OF aay’ « (Go 0000} = o “Alphanumeric” cles @ Acer cole ( bth, 99 tb, oF = 12S AI 2 ear eset We _— eco contig Coded Beams) cobs Novi beigtted ok Ging cae (Ost Oshne 4) exe 3 ot 1 se) > Deut 4 on foecb> “ERO Code of 2 oud Code T° Org pg zit Cowplemet &o ath OFM a Oo fe 3 1 =) i aah o 1 0 InN wel ast? 7) genet (rato a> 1 0 | © +* Logic| Gormplorent ) 0 On > (2 0 —— 0 10 5, 6 ye ae Ne > tee Code cveetly 1. Endre! In Self Comp code > Arith complement ¥ Por digkh Gwe — oO % For ckigels GE De Dole oO asa? 00 000+ =lo- gph" O-. at]90- on °0-— to000-0----, nN * Soxpoudial code examplt > 6421 cde, x Sek Comp Codes > EES Sat EQ Repretk F250 byes = oH Bas TEM oti] oo fo, cfot 7 P Bray > #25, = — aap MPC 1OT OS ee DP 3% Fo = [[O10 01011 006 x5 _ #3 a ‘ ‘ ROT Th @ Non waged Code * BCD Addihor “the nkpat 9 SCD Addition is smal hk © Result & > OH Cory occurs a mart x When opal @ Envelid, 6). & added cooo” be Hye result to get He Torzgdh Uelne é a” 7 oo = OLLY 9010 1000 gp +5 OO§1 1000 gm -~ +3 p86 ee iy dw of Bid _cowethss req! iy 824,417 5p 21F iy > 1 coo ooo ON geo = {oor DOI’ 1100: BED Too TOOT L\PaX__ [Pees TOOT TOTOK 001° ,_ +0110" — __ +0) 10) ~~ Torox 0000 = DO!O +011 oe) CODD 0000 Duan > Rawr ey’ Nok: Tn Bed Addibor No eh BCD Comechas = No Of Cares in Decimal a %, . Aaddition . Be 4 6 2 Fo Thug thas BCD Asksbhe #9 5 & Lo > yours g. BED Commies re ry to 3 ee BCO_Subleachn_ Perfam BCD Subbadin 4 6h e pra} STF any ee 640 SS = 28 —- ee oa begin a 0 way t © Oxy 0 D0 Ose = oie. ex 0 ° ro ST fi) 645-282 She + (AS OP 4 28) = Sho + Ae (ol oe x23 Addibon x43 TY 43 Es 343 =—_—— Coe) IF Cy ecews —> Add 3 Core i) Hf Cf doval_ occur » Subtract By Sewilooly te Prirdple by EX-3_Sithedion @ Tf Borw do vel octw —> Aad So oy Rowa) Occ — > Subbat So $e ¥ Oy md 82) 20011 1000 ONO pes —— +044, -+ooI! 1010 O1!N gx ~—STrl Qole 1100 * Bier -o08l > o oO PEO 126s oF ——So700 COL 180! wa To get BOD ewpk >> doll camp -0011 - 500! 201 MO unis a D owe P) In Excess 3 Addition , How much value has to be subtracted from the result to get the BCD output if carry do_ not occur— a)3 re c) -3 d) -6 Gra Code( Reflecbire , Ost Distant Disharke, Cyclic cod nit 1 @ Non weighil . inde, ue Com Comshonch 10), iP So FBS al ie ') 940-0 o+les 140 4179 5 code > Used for Exsy cofection TPratryass ordasnrg roe EX -0R is Called of “Modulo 2. Addibon” a owt 2 Nole. * — V4 | =A. —~o | {= Ae. Ye Basics of Logic gates © —-— AND, OR, EX-OR, EX. AER, WAND, NOR, U1 ¥ EX MOR gai = Eqpavelene gek(ad Comeidente gale & tan =D tape a a APB itm Y70 y= AB y sR B+AB ~ = \>l ® Vo] uv > O oD dD xOy > 208 ) AGEOTED = AORECE @®_ — EX-OR Can be used as Buffer of Snvevtex™ “Abe” ae Cor rp x1 Yea crwerte) sf x-0 > Y= ACbuffe) | ® y ® A@e@c {3D 21184 i input be odd n+p s5- —=—, Zo © AQBOC * Apo oyss yoo Even nog 13 ‘ Vt hag od Varintle JHB no of © aggoc py ROBoC = A@B —~ DEE Aye be ey 0 RS » we bo C0 = TOESEE 9 AOQB = AGB, lw a — tigro 20) : LU wai) LL o1 io! porto? Aa fer ong Consider the design of a light for the staircase of a house. The light_ should be controlled from both the bottom and the top of the staircase. The rule to be followed ts that switching cither switch should change the state of the light. i.c, if the light was on it goes off, if it was off it goes on. when either switch is switched. Develop a truth table for this function. Which one of the following is NOT a valid identity? (A) (X@y) @z = x@(yz) (B) (x+y) @z = x@(y+z) (Ox@y = xty,ifxy=0 (D)x@y = (xy+x’'y’ ® tohith of the following i urd gS TRIE? TL ») el f carps Fs Heh + \ Qrilnps ov oh @ odd vo HP EH RO , Btw tne 10 HE @ odd no argue ave (Ow es oe + ae Ore 8) e+ 08+ 68) vor ee F = (A#B’)(B¥C’) Boolean Algebra Eonchenolly ori. $F ae ak any Baean expan Con reagel QB He falory expen fa fray Coie 89 eee fona) = TaaeePeTe we BDF te Ee yw as ¥ Ede Perv Boye eS SOP and POS form ‘Consider three 4-variabl functions ff, and fi, which ae expressed in sum-of-minterms as F=E0.25,819, = F23,68 1419, H=EQ7 119) For the following circuit with one AND gate and one XOR gate, the oupat function Fean be iF245- ) E@.7.8,11,14 © EQ. ) E(0.2,3,5,6,7,8,11, 14,15) Note: ee pe Gwen Fi(e%08) = He SG H)+H (5, 72,43.%4) = 5 Eh, Find the the geen ccitt inethod + 4(ee2s34D) = "4 Cato Forckin “Fi = gpnn $408 e ot Of Teeth ‘fy = Bow 4 20R-4 Dat #3) 212 fy 4 (44+ 8) na mathad2 2 2 a9). Z Ht, OL 1H P4) * KA 4h HS % xa 4 = yD +H A SR Gr te Se Fy 094d ASK 0-24 44% +2 %45 +0 hae eey Ee Oe = 2% Cn ee) He oy 4% Ky + BF ¥ 2m BS Ses-- The cst gq Funct Fi = 3 Avy + 10R-+(24344 43) = 16 = Bt The Bk Funttio Fe > | Awd 4 L0R4243. d 3 te vee 4A —i a

You might also like