Warning: foreach() argument must be of type array|object, bool given in /var/www/html/web/app/themes/studypress-core-theme/template-parts/header/mobile-offcanvas.php on line 20

B.16 [30] <§§B.2, B.3> Give an algorithm for constructing the sum-of- products representation for an arbitrary logic equation consisting of AND, OR, and NOT. The algorithm should be recursive and should not construct the truth table in the process.

Short Answer

Expert verified

The required algorithm:

A=B’: This is for some equation of “B”. After that, it is needed to find the “sum-of-products” of the “B”, which is denoted by the “B~”. Hence the outcome will be A=B'~.

A=B+C: It is needed to find the “sum-of-products” of the “B” and “C”, which is denoted by the “ B~”. Hence the outcome will beA=B~+C~ .

A=B.C: After that, it is needed use A=A''=(A'+B')' it is needed to find the “sum-of-products” of the “B’ ” and “C’ ”. Hence the outcome will be obvious.

Finally, it can be used as an example X’’=X for simplifying the required outcome.

In the above algorithm, “A” is initialized as some equation of logic.

Step by step solution

01

Define the concept.

“A” is initialized as some equation of logic.

  • A=B’: This is for some equation of “B”. After that, it is needed to find the “sum-of-products” of the “B”, which is denoted by the “ B~”. Hence the outcome will be.
  • A=B+C: It is needed to find the “sum-of-products” of the “B” and “C”, which is denoted by the “ B~”. Hence the outcome will be A=B~+C~.
  • A=B.C: After that, it is needed use A=A''=(A'+B')' It is needed to find the “sum-of-products” of the “B’ ” and “C’ ”. Hence the outcome will be obvious.
02

Determine the calculation.

Let “A” is referred to as some equation of logic.

Hence the three possibilities are there.

A=B’: This is for some equation of “B”. After that, it is needed to find the “sum-of-products” of the “B”, which is denoted by the “B~”. Hence the outcome will be A=B'~.

A=B+C: It is needed to find the “sum-of-products” of the “B” and “C”, which is denoted by the “B~”. Hence the outcome will beA=B~+C~ .

A=B.C: After that, it is needed use A=A''=(A'+B')' it is needed to find the “sum-of-products” of the “B’ ” and “C’ ”. Hence the outcome will be obvious.

Finally, it can be used as an example X’’=X for simplifying the required outcome.

Unlock Step-by-Step Solutions & Ace Your Exams!

  • Full Textbook Solutions

    Get detailed explanations and key concepts

  • Unlimited Al creation

    Al flashcards, explanations, exams and more...

  • Ads-free access

    To over 500 millions flashcards

  • Money-back guarantee

    We refund you if you fail your exam.

Over 30 million students worldwide already upgrade their learning with Vaia!

One App. One Place for Learning.

All the tools & learning materials you need for study success - in one app.

Get started for free

Most popular questions from this chapter

2 Section 1.10 cites as a pitfall the utilization of a subset of the performance equation as a performance metric. To illustrate this, consider the following two processors. P1 has a clock rate of 4 GHz, average CPI of 0.9, and requires the execution of 5.0E9 instructions. P2 has a clock rate of 3 GHz, an average CPI of 0.75, and requires the execution of 1.0E9 instructions.

1.12.1 [5] <§§1.6, 1.10> One usual fallacy is to consider the computer with the largest clock rate as having the largest performance. Check if this is true for P1 and P2.

1.12.2 [10] <§§1.6, 1.10> Another fallacy is to consider that the processor executing the largest number of instructions will need a larger CPU time. Considering that processor P1 is executing a sequence of 1.0E9 instructions and that the CPI of processors P1 and P2 do not change, determine the number of instructions that P2 can execute in the same time that P1 needs to execute 1.0E9 instructions.

1.12.3 [10] <§§1.6, 1.10> A common fallacy is to use MIPS (millions of

instructions per second) to compare the performance of two different processors, and consider that the processor with the largest MIPS has the largest performance.

Check if this is true for P1 and P2.

1.12.4 [10] <§1.10> Another common performance figure is MFLOPS (millions of floating-point operations per second), defined as

MFLOPS = No. FP operations / (execution time × 1E6)

but this figure has the same problems as MIPS. Assume that 40% of the instructions executed on both P1 and P2 are floating-point instructions. Find the MFLOPS figures for the programs

Assume a program requires the execution of50×106FP instructions, 110×106INT instructions,80×106L/S instructions, and16×106branch instructions. The CPI for each type of instruction is 1, 1, 4, and 2, respectively. Assume that the processor has a 2 GHz clock rate:

1.14.1 By how much must we improve the CPI of FP instructions if we want the program to run two times faster?

1.14.2 By how much must we improve the CPI of L/S instructions if we want the program to run two times faster?

1.14.3 By how much is the execution time of the program improved if the CPI of INT and FP instructions is reduced byand the CPI of L/S and Branch is reduced by?

Assume a 15 cm diameter wafer has a cost of 12, contains 84 dies, and has 0.020 defects/cm2 . Assume a 20 cm diameter wafer has a cost of 15, contains 100 dies, and has 0.031 defects/cm2 .

1.10.1 Find the yield for both wafers.

1.10.2 Find the cost per die for both wafers.

1.10.3 If the number of dies per wafer is increased by 10% and the defects per area unit increases by 15%, find the die area and yield.

1.10.4 Assume a fabrication process improves the yield from 0.92 to 0.95. Find the defects per area unit for each version of the technology given a die area of 200 mm2


Question: A friend would like you to build an “electronic eye” for use as a fake security device. The device consists of three lights lined up in a row, controlled by the outputs Left, Middle, and Right, which, if asserted, indicate that a light should be on. Only one light is on at a time, and the light “moves” from left to right and then from right to left, thus scaring away thieves who believe that the device is monitoring their activity. Draw the graphical representation for the finite-state machine used to specify the electronic eye. Note that the rate of the eye’s movement will be controlled by the clock speed (which should not be too great) and that there are essentially no inputs.

Assume that X consists of 3 bits : x2, x1, x0. Write four logic functions that are true if and only if

  • X contains only one 0
  • X contains an even number of 0s
  • X when interpreted as an unsigned binary number is less than 4
  • X when interpreted as a signed (two’s complement) number is negative.
See all solutions

Recommended explanations on Computer Science Textbooks

View all explanations

What do you think about this solution?

We value your feedback to improve our textbook solutions.

Study anywhere. Anytime. Across all devices.

Sign-up for free