Docsity

Problems with Solutions - Introduction to Digital System | EECS 31, Exams of Electrical and Electronics Engineering

Toggle sidebar
bg1
\tudcnt
ID
11
5111110111
Namv
1‘1111111‘111
1
(1301111101.111'\_m‘1.11111;11}
(1111\1‘131011):
(15
points
5
points
*3)
(mm
01‘11111‘
1111100011;11111111x~1x
\\1111
111011‘11111101110111»;1\0101|11~1~;1111\:
(1150011)
11111111101'01'101x111111)011111‘1‘11)
1011010001101),
,
1111.025
1“,
1))
(17351)n
1711.111
)0.
c)
132.4)!“
:
150.25
1“,
1’1‘011101112:
(Range
11111111100111
11111111101‘55'5101115)(9
points
3points
*
3)
“11:11
011‘
1110
largest
5111011051
11111111wrs
11101
C011
he
rcspcclivcly
rcprcscnlcd
with
14
13115.115811111111141110
1111100111;representations
11)
Unsigncd
1.111‘gcsl:2”—
101‘11111111111111
01‘16383
8111111105110
()()0(10000000000
b)
2‘s
cmnplcnwnl
Largest:
Z13
—10r0111111111111101‘8191
Smallest:
—213
01'
10000000000000
or
—
8192
c)
Sign'magniludc
Larges12213
—1m'
0111111111111101‘8191
Smallest:
—(213—
1)m‘111111111111110r
—
8191
Problem
3:
(Binary
representation.
Addition
and
subtraction)
a)
8—bit
(10001101)2
to
10
hits
binary
(5
points)
:1.
“('0111p10111cnl:
(11
10001101),
b.
SingWag:(1000001101),
b)
Convert
to
8-bit
binary
number
and
indicate
whether
or
not
overf10w
(10
points)
a.
(-112
+
*7
110010000)»
~
101100010)
111110010),
(_
b.
(-80—54)“,
(10110000);+
111001010);
101111010
)1
1
0vc1‘110w
Page
2
of
S
pf3
pf4

Partial preview of the text

Download Problems with Solutions - Introduction to Digital System | EECS 31 and more Exams Electrical and Electronics Engineering in PDF only on Docsity!

\tudcnt ID 11 5111110111 Namv 1‘1111111‘111 1 (1301111101.111'_m‘1.11111;11} (1111\1‘131011): (15 points 5 points *3) (mm 01‘11111‘ 1111100011;11111111x~1x \1111 111011‘11111101110111»;1\0101|11~1~;1111: (1150011) 11111111101'01'101x111111)011111‘1‘11)

1)) (17351)n 1711.111 )0. c) 132.4)!“ : 150.25 1“, 1’1‘011101112: (Range 11111111100111 11111111101‘55'5101115)(9 points 3points * 3) “11:11 011‘ 1110 largest 5111011051 11111111wrs 11101 C011 he rcspcclivcly rcprcscnlcd with 14

13115.115811111111141110 1111100111;representations

  1. Unsigncd 1.111‘gcsl:2”— 101‘11111111111111 01‘ 8111111105110 01‘ ()()0( b) 2‘s cmnplcnwnl

Largest: Z13 —10r0111111111111101‘

Smallest: —213 01' 10000000000000 or — 8192 c) Sign'magniludc Larges12213 —1m' 0111111111111101‘ Smallest: —(213— 1)m‘111111111111110r — 8191 Problem 3: (Binary representation. Addition and subtraction) a) 8—bit (10001101)2 to 10 hits binary (5 points) :1. “('0111p10111cnl: (11 10001101), b. SingWag:(1000001101),

b) Convert to 8-bit binary number and indicate whether or not overf10w

(10 points)

a. (-112 + *7 110010000)» ~ 101100010) 111110010), (_

b. (-80—54)“, (10110000);+ 111001010); 101111010 )1 1

0vc1‘110w

Student ID # Student Name Problem 4:(Boolean algebra and duality): (10 points) A selfldual logicfimcrion is a function P such that F : F". where F” is a dual of F. Show ifthe following functions are self-dual.

a) F=XV+YY

Fd =(X+V)(Y+Y)=XY+ X-YstF

b) F(A,B,C)=2(3,5,6,7)

F2AB+BC+AC

Fd=(A+B)(B+C)(A+C)=AB+BC+AC=F Problem 5: simplify Boolean equation (using Boolean algebra) (lOpoints) EL h<^ II^ 3N^ ‘3:^ DI^ +^ 3>I^ I

“I U + 3| WI m DI + AECD + ABC]? + A3613 + ABC

b) Y=AB+ R+A§C(AB+C) =AB+R+AI§C=A(B+I§C)+RE:A(B+C)+XE= Problem 6: Convert the following SOP expression to its simplest possible equivalent PCS expression (10 points) Y=AB+A1§C+AB€ Solution: Y z AB€+ABC +A§C+A‘BC‘ Methodl:

Student ID ii Student Name b) A^ minority^ gate^ With^ NAND^ gates^ (6^ points) Y=A§+I§€+A€=A+B+B+C+A+C z (A+B)(B+C)(A+C)=A -B‘C‘-/TC‘ Ifusing (OR , NAND), 2 points

A B C

D—{DD—Y

Ifusing NAND, 4 points

A

B