Professional Documents
Culture Documents
CHAPTER 7
Exercises
© 2014 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This publication
is protected by Copyright and written permission should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system,
or transmission in any form or by any means, electronic, mechanical, photocopying, r2ecording, or likewise. For information regarding permission(s), write
Rights
to: and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.
(c) For the whole part we have:
Quotient Remainders
4/2 2 0
2/2 1 0
1/2 0 1
Reading the remainders in reverse order we obtain:
410 = 1002
For the fractional part, we have
2 0.30 = 0 + 0.6
2 0.60 = 1 + 0.2
2 0.20 = 0 + 0.4
2 0.40 = 0 + 0.8
2 0.80 = 1 + 0.6
2 0.60 = 1 + 0.2
Thus we have
0.3010 = 0.0100112
Finally, the answer is 4.310 = 100.0100112
E7.2 (a) 1101.1112 = 123 + 122 +021 +120 +12-1 +12-2 +12-3 = 13.87510
(b) Similarly
22910 = 111001012 = 3458 = E516
© 2014 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This publication
is protected by Copyright and written permission should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system,
or transmission in any form or by any means, electronic, mechanical, photocopying, r3ecording, or likewise. For information regarding permission(s), write
Rights
to: and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.
E7.6 To represent a distance of 20 inches with a resolution of 0.01 inches, we
need 20/0.01 = 2000 code words. The number of code words in a Gray
code is 2L in which L is the length of the code words. Thus we need L =
11, which produces 2048 code words.
E7.8 First we convert 1910 and -410 to eight-bit two’s complement form then we
add the results.
19 00010011
-4 111111100
15 00001111
Notice that we neglect the carry out of the left-most bit.
© 2014 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This publication
is protected by Copyright and written permission should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system,
or transmission in any form or by any means, electronic, mechanical, photocopying, r4ecording, or likewise. For information regarding permission(s), write
Rights
to: and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.
A B + BC
then we replace AND operations by OR operations and vice versa
(A + B )(B + C )
finally we invert the entire expression so we have
D = AB + B C = (A + B )(B + C )
[F (G + H ) + F G ]
[(F + G H )(F + G )]
E = [F (G + H ) + FG ] = [(F + G H )(F + G )]
A B AB
0 0 0
0 1 1
1 0 1
1 1 0
Focusing on the rows in which the result is 1, we can write the SOP
expression
A B = A B + AB
The corresponding logic diagram is shown in Figure 7.25a in the book.
Focusing on the rows in which the result is 0, we can write the POS
expression
A B = (A + B )(A + B )
© 2014 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This publication
is protected by Copyright and written permission should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system,
or transmission in any form or by any means, electronic, mechanical, photocopying, r5ecording, or likewise. For information regarding permission(s), write
Rights
to: and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.
The corresponding logic diagram is shown in Figure 7.25b in the book.
© 2014 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This publication
is protected by Copyright and written permission should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system,
or transmission in any form or by any means, electronic, mechanical, photocopying, r6ecording, or likewise. For information regarding permission(s), write
Rights
to: and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.
E7.14 The truth table is shown in Table 7.7 in the book. Focusing on the rows in
which the result is 1, we can write the SOP expression
A = m (3, 6, 7, 8, 9, 12)
= F D GR + F DGR + F DGR + FD G + FD G R + FDG R
R
Focusing on the rows in which the result is 0, we can write the POS
expression
A = M (0, 1, 2, 4, 5, 10, 11, 13, 14, 15)
= (F + D + G + R )(F + D + G + R )(F + D + G + R ) (F + D + G + R )
(b) A B C D
Problems
P7.1* 1. When noise is added to a digital signal, the logic levels can still be
exactly determined, provided that the noise is not too large in amplitude.
Usually, noise cannot be completely removed from an analog signal.
© 2014 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This publication
is protected by Copyright and written permission should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system,
or transmission in any form or by any means, electronic, mechanical, photocopying, r7ecording, or likewise. For information regarding permission(s), write
Rights
to: and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.
3. Very complex digital logic circuits (containing millions of components)
can be economically produced. Analog circuits often call for large
© 2014 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This publication
is protected by Copyright and written permission should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system,
or transmission in any form or by any means, electronic, mechanical, photocopying, r8ecording, or likewise. For information regarding permission(s), write
Rights
to: and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.
capacitances and/or precise component values that are impossible to
manufacture as large-scale integrated circuits.
P7.5 The noise margins for the logic circuits in use are
NML = VIL − VOL = 2.2 - 0.5 = 1.7 V
NMH = VOH − VIH = 4.7 – 3.7 = 1.0 V
Noises in the range from -0.3 V to +0.6 V do not exceed the noise
margins so the system is reliable.
Reference to Figure 7.3 in the book, shows that as long as the
noise amplitude is in the range from –NMH to +NML the logic levels will be
interpreted properly at the receiving end. Thus, as long as the noise
amplitudes are in the range from -1.0 V to +1.7 V, this system will be
reliable.
P7.6 In serial transmission, the bits of a word are transmitted one after
another over a single pair of wires. In parallel transmission, multiple bits
are transmitted simultaneously over a parallel set of wires.
P7.7 Seven-bit words are needed to express the decimal integers 0 through
100 in binary form (because 27 = 128).
Ten-bit words are needed to express the decimal integers 0 through
1000 in binary form (because 210 = 1024).
© 2014 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This publication
is protected by Copyright and written permission should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system,
or transmission in any form or by any means, electronic, mechanical, photocopying, r9ecording, or likewise. For information regarding permission(s), write
Rights
to: and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.
Twenty-bit words are needed to express the decimal integers 0 through
106 in binary form (because 220 = 1048576).
(c) 0111 1001 0110.0011 BCD + 0011 0101.1001 BCD = 796.310 + 35.910 =
832.210 = 100000110010.0010BCD
© 2014 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This publication
is protected by Copyright and written permission should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system,
or transmission in any form or by any means, electronic, mechanical, photocopying, r10ecording, or likewise. For information regarding permission(s), write
Rights
to: and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.
(c) Counting in hexadecimal, 378 follows 377.
P7.17 (a) A 4-bit binary number can represent the decimal integers 0 through
24 – 1 = 15.
(b) A 4-digit octal number can represent the decimal integers 0 through
84 – 1 = 4095.
(c) A 4-digit hexadecimal number can represent the decimal integers 0
through 164 – 1 = 65535.
P7.18* Write the 3-bit code shown in Figure 7.9. Then, extend the list by
writing the 3-bit code in reverse order. Finally, prepend a 0 to each word
in top half of the list and prepend a 1 to each word in the bottom half.
The resulting four-bit Gray code is:
0000
0001
0011
0010
0110
0111
0101
0100
© 2014 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This publication
is protected by Copyright and written permission should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system,
or transmission in any form or by any means, electronic, mechanical, photocopying, r11ecording, or likewise. For information regarding permission(s), write
Rights
to: and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.
1100
1101
1111
1110
1010
1011
1001
1000
The Gray code is used for coding positions of movable parts. In a Gray
code, each code word differs in only one bit from its neighboring code
words, so that erroneous position indications are avoided during
transitions.
P7.19 One's Complement Two's Complement
(b) 17 00010001
+15 00001111
32 00100000
(c) 17 00010001
-15 11110001
2 00000010
© 2014 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This publication
is protected by Copyright and written permission should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system,
or transmission in any form or by any means, electronic, mechanical, photocopying, r9
ecording, or likewise. For information regarding permission(s), write to:
Rights and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.
(d) 15 00001111
-39 11011001
-24 11101000
(e) 49 00110001
-44 11010100
5 00000101
P7.22 Overflow and underflow are not possible if the two numbers to be added
have opposite signs. If the two numbers to be added have the same sign
and the result has the opposite sign, underflow or overflow has occurred.
P7.23 (a) 0.110 = 0.000110011 0011 2
P7.24 A truth table lists all of the combinations of the variables in a logic
expression as well as the value of the expression.
P7.25 If the variables in a logic expression are replaced by their inverses, the
AND operation is replaced by OR, the OR operation is replaced by AND,
and the entire expression is inverted, the resulting logic expression
yields the same values as before the changes. In equation form, we have:
ABC = A + B + C (A + B + C ) = A B C
AB C
00 0
01 0
© 2014 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This publication
is protected by Copyright and written permission should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system,
or transmission in any form or by any means, electronic, mechanical, photocopying, 1re0cording, or likewise. For information regarding permission(s), write to:
Rights and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.
10 0
11 1
© 2014 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This publication
is protected by Copyright and written permission should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system,
or transmission in any form or by any means, electronic, mechanical, photocopying, 1re0cording, or likewise. For information regarding permission(s), write to:
Rights and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.
OR gate:
AB C
00 0
01 1
10 1
11 1
Inverter:
AA
0 1
1 0
NAND gate:
AB C
00 1
01 1
10 1
11 0
NOR gate:
AB C
00 1
01 0
10 0
11 0
Exclusive OR gate:
AB C
00 0
01 1
10 1
11 0
© 2014 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This publication
is protected by Copyright and written permission should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system,
or transmission in any form or by any means, electronic, mechanical, photocopying, 1re1cording, or likewise. For information regarding permission(s), write to:
Rights and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.
P7.27 (a)* E = AB + ABC + CD
A B C D E
0 0 0 0 0
0 0 0 1 1
0 0 1 0 0
0 0 1 1 0
0 1 0 0 0
0 1 0 1 1
0 1 1 0 0
0 1 1 1 0
1 0 0 0 0
1 0 0 1 1
1 0 1 0 1
1 0 1 1 1
1 1 0 0 1
1 1 0 1 1
1 1 1 0 1
1 1 1 1 1
(b) D = ABC + AC
A B C D
0 0 0 0
0 0 1 0
0 1 0 0
0 1 1 0
1 0 0 1
1 0 1 0
1 1 0 1
1 1 1 1
(c) Z = WX + (X + Y )
X Y W Z
0 0 0 1
0 0 1 1
0 1 0 0
0 1 1 0
1 0 0 0
1 0 1 1
© 2014 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This publication
is protected by Copyright and written permission should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system,
or transmission in any form or by any means, electronic, mechanical, photocopying, 1re2cording, or likewise. For information regarding permission(s), write
Rights
to: and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.
1 1 0 0
1 1 1 1
(d) D = AB +C
A B C D
0 0 0 0
0 0 1 1
0 1 0 1
0 1 1 1
1 0 0 0
1 0 1 1
1 1 0 0
1 1 1 1
(e) D = (A + BC )
A B C D
0 0 0 0
0 0 1 0
0 1 0 0
0 1 1 0
1 0 0 1
1 0 1 1
1 1 0 1
1 1 1 0
P7.28 One method to prove the validity of a Boolean identity is to list the truth
table and show that both sides of the identity give the same result for
each combination of logic variables.
P7.29* A B C (A + B)(A + C) A + BC
0 0 0 0 0
0 0 1 0 0
0 1 0 0 0
0 1 1 1 1
1 0 0 1 1
1 0 1 1 1
1 1 0 1 1
© 2014 Pearson Education,1Inc., Upper
1 Saddle 1River, NJ. All rights1reserved. This publication
1
is protected by Copyright and written permission should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system,
or transmission in any form or by any means, electronic, mechanical, photocopying, 1re3cording, or likewise. For information regarding permission(s), write
Rights
to: and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.
P7.30 A B C A + B +C ( A + B +C ) ABC
0 0 0 1 0 0
0 0 1 1 0 0
0 1 0 1 0 0
0 1 1 1 0 0
1 0 0 1 0 0
1 0 1 1 0 0
1 1 0 1 0 0
1 1 1 0 1 1
A B C AB C (A B C ) A +B +C
0 0 0 1 0 0
0 0 1 0 1 1
0 1 0 0 1 1
0 1 1 0 1 1
1 0 0 0 1 1
1 0 1 0 1 1
1 1 0 0 1 1
1 1 1 0 1 1
Thus, we have A + B + C = A B C
P7.31 A B A +B A + AB (A + B )(A + AB )
0 0 0 1 0
0 1 1 1 1
1 0 1 0 0
1 1 1 1 1
© 2014 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This publication
is protected by Copyright and written permission should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system,
or transmission in any form or by any means, electronic, mechanical, photocopying, 1re4cording, or likewise. For information regarding permission(s), write
Rights
to: and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.
P7.32 A B A +AB A +B
0 0 0 0
0 1 1 1
1 0 1 1
1 1 1 1
© 2014 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This publication
is protected by Copyright and written permission should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system,
or transmission in any form or by any means, electronic, mechanical, photocopying, 1re5cording, or likewise. For information regarding permission(s), write
Rights
to: and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.
P7.33 A B C (ABC + AB C + AB C + ABC )
0 0 0 0
0 0 1 0
0 1 0 0
0 1 1 0
1 0 0 1
1 0 1 1
1 1 0 1
1 1 1 1
P7.34 (a) F = (A + B )C
A B C F
0 0 0 0
0 0 1 0
0 1 0 1
0 1 1 0
1 0 0 1
1 0 1 0
1 1 0 1
1 1 1 0
(b) F = A + B + (BC )
A B C F
0 0 0 1
0 0 1 1
0 1 0 1
0 1 1 1
1 0 0 1
1 0 1 1
1 1 0 1
1 1 1 1
© 2014 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This publication
is protected by Copyright and written permission should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system,
or transmission in any form or by any means, electronic, mechanical, photocopying, 1re6cording, or likewise. For information regarding permission(s), write
Rights
to: and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.
(c) F = AB + (BC ) + D
A B C D F
0 0 0 0 1
0 0 0 1 1
0 0 1 0 0
0 0 1 1 1
0 1 0 0 0
0 1 0 1 1
0 1 1 0 0
0 1 1 1 1
1 0 0 0 1
1 0 0 1 1
1 0 1 0 0
1 0 1 1 1
1 1 0 0 1
1 1 0 1 1
1 1 1 0 1
1 1 1 1 1
P7.35 (a)* ( )
F = A + B + C (A + B + C ) A + B + C ( )
© 2014 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This publication
is protected by Copyright and written permission should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system,
or transmission in any form or by any means, electronic, mechanical, photocopying, 1re7cording, or likewise. For information regarding permission(s), write
Rights
to: and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.
(c) F = A + BC
(c) (
F = AB + (C + A )D = A + B (C A + D ) )
(d) ( )
F = A B + C + D = (A + BC )D
(e) (
F = ABC + A(B + C ) = A + B + C A + B C )( )
The circuit is
© 2014 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This publication
is protected by Copyright and written permission should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system,
or transmission in any form or by any means, electronic, mechanical, photocopying, 1re8cording, or likewise. For information regarding permission(s), write
Rights
to: and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.
P7.39 The truth table is
© 2014 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This publication
is protected by Copyright and written permission should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system,
or transmission in any form or by any means, electronic, mechanical, photocopying, 1re9cording, or likewise. For information regarding permission(s), write
Rights
to: and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.
A B Cin S Cout
0 0 0 0 0
0 0 1 1 0
0 1 0 1 0
0 1 1 0 1
1 0 0 1 0
1 0 1 0 1
1 1 0 0 1
1 1 1 1 1
The circuit is
P7.40 NAND gates are said to be sufficient for combinatorial logic because any
Boolean expression can be implemented solely with NAND gates.
Similarly, NOR gates are sufficient.
P7.41 In this circuit, if switch C is closed and if either of the other two
switches is closed, the output is high. Thus, we can write:
D = (A + B )C
The truth table is:
A B C D
0 0 0 0
0 0 1 1
0 1 0 0
0 1 1 0
1 0 0 0
1 0 1 1
1 1 0 0
1 1 1 1
© 2014 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This publication
is protected by Copyright and written permission should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system,
or transmission in any form or by any means, electronic, mechanical, photocopying, 1re10cording, or likewise. For information regarding permission(s), write
Rights
to: and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.
P7.42
P7.43 In this circuit, the output is high only if switch A is open (A low) and if
either of the other two switches is open. Thus, we can write
D = A (C + B )
© 2014 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This publication
is protected by Copyright and written permission should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system,
or transmission in any form or by any means, electronic, mechanical, photocopying, 1re11cording, or likewise. For information regarding permission(s), write
Rights
to: and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.
P7.45* F = A B C + ABC + ABC + ABC
= m (0,2,5,7)
( )
F = (A + B + C ) A + B + C (A + B + C ) A + B + C ( )
= M (1,3,4,6)
P7.46 G = A B C + A BC + ABC
= m (0,1,3)
G = (A + B + C )(A + B + C )(A + B + C )(A + B + C )(A + B + C )
= M (2,4,5,6,7 )
P7.47 H = A B C + A B C + A BC + A BC + A BC
= m (0,1,2,6,7)
H = (A + B + C )(A + B + C )(A + B + C )
= M (3,4,5)
P7.48 I = A BC + A BC + ABC + ABC
= m (2,3,6,7)
I = (A + B + C )(A + B + C )(A + B + C )(A + B + C )
= M (0,1,4,5)
= m (1,3,6,7)
J = (A + B + C )(A + B + C )(A + B + C )(A + B + C )
= M (0,2,4,5)
P7.50 K = A BC + A BC + AB C + AB C
= m (2,3,4,5)
K = (A + B + C )(A + B + C )(A + B + C )(A + B + C )
= M (0,1,6,7)
© 2014 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This publication
is protected by Copyright and written permission should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system,
or transmission in any form or by any means, electronic, mechanical, photocopying,2 re0
cording, or likewise. For information regarding permission(s), write to:
Rights and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.
P7.51 Applying De Morgan's Laws to the output of the circuit, we have
AB + CD = AB CD
Thus, the circuit implemented with NAND gates is
© 2014 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This publication
is protected by Copyright and written permission should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system,
or transmission in any form or by any means, electronic, mechanical, photocopying,2 re0
cording, or likewise. For information regarding permission(s), write to:
Rights and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.
P7.52 Applying De Morgan's Laws to the output of the circuit, we have
(A + B )(C + D ) = (A + B ) + (C + D )
© 2014 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This publication
is protected by Copyright and written permission should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system,
or transmission in any form or by any means, electronic, mechanical, photocopying,2 re1cording, or likewise. For information regarding permission(s), write to:
Rights and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.
P7.54 The truth table is:
A B A B
0 0 0
0 1 1
1 0 1
1 1 0
Thus, we can write the product of sums expression and apply De Morgan’s
Laws to obtain:
A B = (A + B )(A + B ) = (A + B ) + (A + B )
P7.55 An example of a decoder is a circuit that uses a BCD input to produce the
logic signals needed to drive the elements of a seven-segment display.
P7.56* (a) S1 S2 ST E
0 0 0 0
0 0 1 1
0 1 0 0
0 1 1 0
1 0 0 0
1 0 1 0
1 1 0 1
1 1 1 0
© 2014 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This publication
is protected by Copyright and written permission should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system,
or transmission in any form or by any means, electronic, mechanical, photocopying,2 re2cording, or likewise. For information regarding permission(s), write
Rights
to: and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.
(b) E = m (1,6) = S1 S2ST + S1S2 ST
(b) I = m (4,5,8,12,13)
(c) I = M (0,1,2,3,6,7,9,10,11,14,15 )
(d) I = E F + BF G
© 2014 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This publication
is protected by Copyright and written permission should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system,
or transmission in any form or by any means, electronic, mechanical, photocopying,2 re3cording, or likewise. For information regarding permission(s), write
Rights
to: and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.
P7.58 The truth table (x = don't cares) is:
B8 B4 B2 B1 A B C D
0 0 0 0 1 1 1 1
0 0 0 1 0 1 1 0
0 0 1 0 1 1 0 1
0 0 1 1 1 1 1 1
0 1 0 0 0 1 1 0
0 1 0 1 1 0 1 1
0 1 1 0 0 0 1 1
0 1 1 1 1 1 1 0
1 0 0 0 1 1 1 1
1 0 0 1 1 1 1 0
1 0 1 0 x x x x
1 0 1 1 x x x x
1 1 0 0 x x x x
1 1 1 0 x x x x
1 1 1 1 x x x x
A = M (1,4,6)
B = M (5,6)
C = M (2) = B8 + B4 + B2 + B1
D = M (1,4,7,9)
The circuits are:
© 2014 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This publication
is protected by Copyright and written permission should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system,
or transmission in any form or by any means, electronic, mechanical, photocopying,2 re4cording, or likewise. For information regarding permission(s), write
Rights
to: and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.
© 2014 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This publication
is protected by Copyright and written permission should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system,
or transmission in any form or by any means, electronic, mechanical, photocopying,2 re5cording, or likewise. For information regarding permission(s), write
Rights
to: and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.
P7.59* (a) The Karnaugh map is:
(b) F = BC + A CD
(c) Inverting the map, and writing the minimum SOP expression yields
F = AC + B C + CD . Then applying DeMorgan's laws gives
F = (A + C )(B + C )(C + D )
(b) D = B C + A BC
(c) Inverting the map, and writing the minimum SOP expression yields two
possibilities:
D = AC + BC + B C and D = AB + BC + B C
© 2014 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This publication
is protected by Copyright and written permission should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system,
or transmission in any form or by any means, electronic, mechanical, photocopying,2re6cording, or likewise. For information regarding permission(s), write
Rights
to: and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.
P7.61 (a) The Karnaugh map is:
(b) D = C + AB
(c) Inverting the map, and writing the minimum SOP expression yields
D = AC +BC
(b) D = A C + AC
(c) D = A C + AC D = (A + C )(A + C )
© 2014 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This publication
is protected by Copyright and written permission should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system,
or transmission in any form or by any means, electronic, mechanical, photocopying,2re7cording, or likewise. For information regarding permission(s), write
Rights
to: and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.
© 2014 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This publication
is protected by Copyright and written permission should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system,
or transmission in any form or by any means, electronic, mechanical, photocopying,2re8cording, or likewise. For information regarding permission(s), write
Rights
to: and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.
(b) D = AB + BC
(c) Inverting the map, and writing the minimum SOP expression yields
D = B + A C . Then, applying De Morgan's laws gives
(b) F = AB D + BCD
(d) Inverting the map, and writing the minimum SOP expression
© 2014 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This publication
is protected by Copyright and written permission should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system,
or transmission in any form or by any means, electronic, mechanical, photocopying,2re9cording, or likewise. For information regarding permission(s), write
Rights
to: and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.
yields F = A D + B + C D . Then applying DeMorgan's laws gives
F = (A + D )B (C + D )
© 2014 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This publication
is protected by Copyright and written permission should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system,
or transmission in any form or by any means, electronic, mechanical, photocopying,2re10cording, or likewise. For information regarding permission(s), write
Rights
to: and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.
P7.65* (a) The Karnaugh map is:
(b) E = AB + CD
(d) Inverting the map, and writing the minimum SOP expression yields
E = A C + A D + B C + B D . Then, applying DeMorgan's laws gives
© 2014 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This publication
is protected by Copyright and written permission should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system,
or transmission in any form or by any means, electronic, mechanical, photocopying,2 re9
cording, or likewise. For information regarding permission(s), write to:
Rights and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.
(b) F = ABC + BCD
(d) Inverting the map, and writing the minimum SOP expression yields
F = A D + B + C . Then, applying De Morgan's laws gives
F = (A + D )BC
(b) G = BC + AD
© 2014 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This publication
is protected by Copyright and written permission should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system,
or transmission in any form or by any means, electronic, mechanical, photocopying,3 re0
cording, or likewise. For information regarding permission(s), write to:
Rights and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.
(d) Inverting the map, and writing the minimum SOP expression yields
G = A B + A C + B D + C D . Then, applying DeMorgan's laws gives
(b) H = AC + AD
(d) Inverting the map, and writing the minimum SOP expression yields
H = A + CD . Then, applying De Morgan's laws gives
H = A (C + D ) .
© 2014 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This publication
is protected by Copyright and written permission should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system,
or transmission in any form or by any means, electronic, mechanical, photocopying,3 re1cording, or likewise. For information regarding permission(s), write to:
Rights and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.
P7.69 (a) The Karnaugh map is:
(b) I = AB + CD
(d) Inverting the map, and writing the minimum SOP expression yields
I = A C + A D + BC + B D . Then, applying De Morgan's laws gives
P7.70 The Karnaugh map (with the decimal equivalent of each word in the upper
right hand corner of each square) is:
© 2014 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This publication
is protected by Copyright and written permission should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system,
or transmission in any form or by any means, electronic, mechanical, photocopying,3 re2cording, or likewise. For information regarding permission(s), write
Rights
to: and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.
By inspection, the minimal SOP expression is:
X = B8B4 + B8B2
Inverting the map, and writing the minimum SOP expression yields
X = B8 + B2B4 . Then, applying DeMorgan's laws gives
X = B8 (B2 + B4 ) .
P7.71 The Karnaugh map (with the decimal equivalent of each word in the upper
right hand corner of each square) is:
© 2014 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This publication
is protected by Copyright and written permission should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system,
or transmission in any form or by any means, electronic, mechanical, photocopying,3 re3cording, or likewise. For information regarding permission(s), write
Rights
to: and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.
The logic circuit is:
P7.73 The Karnaugh map (with the hexadecimal equivalent of each word in the
upper right hand corner of each square) is:
© 2014 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This publication
is protected by Copyright and written permission should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system,
or transmission in any form or by any means, electronic, mechanical, photocopying,3 re4cording, or likewise. For information regarding permission(s), write
Rights
to: and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.
By inspection the minimal SOP expression is:
X = B1B4
Inverting the map, and writing the minimum SOP expression yields
X = B1 + B4 . Then, applying DeMorgan's laws gives
X = B1B4 .
By inspection, we see that three two-cubes are needed and the minimal
SOP expression is
X = AB + AC + BC
Clearly, the minimal SOP checks to see if at least one group of two
members has voted yes.
© 2014 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This publication
is protected by Copyright and written permission should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system,
or transmission in any form or by any means, electronic, mechanical, photocopying,3 re5cording, or likewise. For information regarding permission(s), write
Rights
to: and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.
Notice that six four-cubes are needed to cover the A = 1 part of the
map. Think of the A = 0 map as being (over or under) the A = 1 map. Four
two cubes are needed to cover the A = 0 part of the map. However each
of these cubes can be combined with corresponding cubes in the A = 1
part of the map to form four 4-cubes. The minimum SOP expression is:
X = ABC + ABD + ABE + ADE + ACD + ACE + BCD + BCE + BDE + CDE
Here, the minimal SOP expression checks to see if at least one group of
three members has voted yes.
By inspection, we see that six one cubes are needed. Thus the minimal
SOP expression is:
X = ABC D + AB CD + AB C D + A BCD + A BC D + A B CD
P7.76 (a) The truth table for the circuit of Figure P7.76 is
A B C D P
0 0 0 0 0
0 0 0 1 1
0 0 1 0 1
0 0 1 1 0
0 1 0 0 1
0 1 0 1 0
0 1 1 0 0
0 1 1 1 1
1 0 0 0 1
© 2014 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This publication
is protected by Copyright and written permission should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system,
or transmission in any form or by any means, electronic, mechanical, photocopying,3 re6cording, or likewise. For information regarding permission(s), write
Rights
to: and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.
1 0 0 1 0
1 0 1 0 0
1 0 1 1 1
1 1 0 0 0
1 1 0 1 1
1 1 1 0 1
1 1 1 1 0
From the map, we see that no simplification is possible and the minimum
SOP is actually the sum of minterms:
P = m(1, 2, 4, 7, 8, 11, 13, 14)
(c) The parity check can be performed by the same method as used in
Figure P7.76, namely to XOR all of the bits. The circuit is:
© 2014 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This publication
is protected by Copyright and written permission should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system,
or transmission in any form or by any means, electronic, mechanical, photocopying,3 re7cording, or likewise. For information regarding permission(s), write
Rights
to: and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.
Y = A B + AB Z = BC + B C
B = XY + XY C = X Y Z + X YZ + XY Z + XYZ
P7.79* (a) F = A + BC + BD
© 2014 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This publication
is protected by Copyright and written permission should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system,
or transmission in any form or by any means, electronic, mechanical, photocopying,3re8cording, or likewise. For information regarding permission(s), write
Rights
to: and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.
(b) G = A + BD + BC
(c) H = A + B C + BC D
(d) I =D
© 2014 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This publication
is protected by Copyright and written permission should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system,
or transmission in any form or by any means, electronic, mechanical, photocopying,3re9cording, or likewise. For information regarding permission(s), write
Rights
to: and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.
P7.80 (a) A = FH
(b) B = F G + FH
(c) C = GH + G H
© 2014 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This publication
is protected by Copyright and written permission should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system,
or transmission in any form or by any means, electronic, mechanical, photocopying,4 re0
cording, or likewise. For information regarding permission(s), write to:
Rights and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.
(d) D =I
P7.81 (a) W = A + BC + BD
(b) X = B C + B D + BC D
© 2014 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This publication
is protected by Copyright and written permission should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system,
or transmission in any form or by any means, electronic, mechanical, photocopying,4 re1cording, or likewise. For information regarding permission(s), write to:
Rights and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.
(c) Y = CD + C D
(d) Z =D
© 2014 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This publication
is protected by Copyright and written permission should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system,
or transmission in any form or by any means, electronic, mechanical, photocopying,4 re2cording, or likewise. For information regarding permission(s), write
Rights
to: and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.
(b) B = X Y + XYZ +WYZ
(c) C = Y Z + YZ
(d) D=Z
Q0Q1 Q2
1 0 0
0 1 0
1 0 1
1 1 0
1 1 1
0 1 1
0 0 1
(repeats)
Thus, the register returns to the initial state after seven shifts.
© 2014 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This publication
is protected by Copyright and written permission should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system,
or transmission in any form or by any means, electronic, mechanical, photocopying,4 re4cording, or likewise. For information regarding permission(s), write
Rights
to: and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.
P7.90 (a) With an OR gate, we have:
Q0 Q1 Q2
1 0 0
0 1 0
1 0 1
1 1 0
1 1 1
1 1 1
After the register reaches the 111 state, it remains in that state and
never returns to the starting state.
(b) With an AND gate, we have:
Q0 Q1 Q2
1 0 0
0 1 0
0 0 1
0 0 0
0 0 0
After the register reaches the 000 state, it remains in that state and
never returns to the starting state.
P7.91
© 2014 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This publication
is protected by Copyright and written permission should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system,
or transmission in any form or by any means, electronic, mechanical, photocopying,4 re5cording, or likewise. For information regarding permission(s), write
Rights
to: and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.
P7.92
P7.93*
Q J K D
memory 0 0 0 0
reset 0 0 1 0
set 0 1 0 1
toggle 0 1 1 1
memory 1 0 0 1
reset 1 0 1 0
set 1 1 0 1
toggle 1 1 1 0
D = QJ K + QJK + QJ K + QJ K
© 2014 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This publication
is protected by Copyright and written permission should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system,
or transmission in any form or by any means, electronic, mechanical, photocopying,4 re6cording, or likewise. For information regarding permission(s), write
Rights
to: and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.
( )
= QJ K + K + QK J + J ( )
= QJ + QK
P7.94
P7.95 (a) There are four diodes and to make one revolution in two seconds each
diode must be on for 0.5 s. Thus, the frequency of the clock is 2 Hz.
© 2014 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This publication
is protected by Copyright and written permission should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system,
or transmission in any form or by any means, electronic, mechanical, photocopying,4 re8cording, or likewise. For information regarding permission(s), write
Rights
to: and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.
From the maps we can write:
D1 = D7 = Q2 + Q3 D2 = D6 = Q3 D4 = Q1 and D3 = D5 = Q2Q3
Practice Test
T7.1 (a) 12, (b) 19 (18 is incorrect because it omits the first step, inverting
the variables), (c) 20, (d) 23, (e) 21, (f) 24, (g) 16, (h) 25, (i) 7, (j) 10, (k)
8, (l) 1 (the binary codes for hexadecimal symbols A through F do not
occur in BCD).
© 2014 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This publication
is protected by Copyright and written permission should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system,
or transmission in any form or by any means, electronic, mechanical, photocopying,4 re9cording, or likewise. For information regarding permission(s), write
Rights
to: and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.
T7.2 (a) For the whole part, we have:
Quotient Remainders
353/2 176 1
176/2 88 0
88/2 44 0
44/2 22 0
22/2 11 0
11/2 5 1
5/2 2 1
2/2 1 0
1/2 0 1
Reading the remainders in reverse order, we obtain:
35310 = 1011000012
For the fractional part, we have
2 0.875 = 1 + 0.75
2 0.75 = 1 + 0.5
2 0.5 = 1 + 0
Thus, we have
0.87510 = 0.1112
Finally, combining the whole and fractional parts, we have
353.87510 = 101100001.1112
(b) For the octal version, we form groups of three bits, working outward
from the decimal point, and then write the octal symbol for each group.
101 100 001.1112 = 541.78
(c) For the hexadecimal version, we form groups of four bits, working
outward from the decimal point, and then write the hexadecimal symbol
for each group.
0001 0110 0001.11102 = 161.E16
(d) To obtain binary coded decimal, we simply write the binary equivalent
for each decimal digit.
353.87510 = 0011 0101 0011.1000 0111 0101BCD
T7.3 (a) Because the left-most bit is zero, this is a positive number. We simply
convert from binary to decimal:
011000012 = 1 26 + 1 25 + 1 20 = 64 + 32 + 1 = +9710
© 2014 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This publication
is protected by Copyright and written permission should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system,
or transmission in any form or by any means, electronic, mechanical, photocopying,5 re0
cording, or likewise. For information regarding permission(s), write to:
Rights and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.
(b) Because the left-most bit is one, this is a negative number. We form
the two's complement, which is 01000110. Then, we convert from binary
to decimal:
010001102 = 1 26 + 1 22 + 1 21 = 64 + 4 + 2 = +7010
Thus, the decimal equivalent for eight-bit signed two's complement
© 2014 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This publication
is protected by Copyright and written permission should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system,
or transmission in any form or by any means, electronic, mechanical, photocopying,5 re1cording, or likewise. For information regarding permission(s), write to:
Rights and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.
The Karnaugh map is:
(c) The map can be covered by two 2-cubes and the minimum SOP
expression is D = AB + B C .
This map can be covered by one 4-cube and one 2-cube and the minimum
SOP expression is D = B + AC . Applying DeMorgan's laws to this yields
© 2014 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This publication
is protected by Copyright and written permission should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system,
or transmission in any form or by any means, electronic, mechanical, photocopying,5 re2cording, or likewise. For information regarding permission(s), write
Rights
to: and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.
(b) The map can be covered by two 2-cubes and the minimum SOP
expression is G = B1 B2 B8 + B1B2B8 .
This map can be covered by one 8-cube and two 4-cubes and the minimum
SOP expression is G = B1 + B2 B8 + B2B8 . Applying De Morgan's laws to this
The state of the register returns to its initial state after 5 shifts.
© 2014 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This publication
is protected by Copyright and written permission should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system,
or transmission in any form or by any means, electronic, mechanical, photocopying,5 re4cording, or likewise. For information regarding permission(s), write
Rights
to: and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.