Question

In: Computer Science

3) Please answer full question thoroughly (A- J) showing detailed work. Double check answer and work...

3) Please answer full question thoroughly (A- J) showing detailed work. Double check answer and work to ensure it is correct for thumbs up.

Boolean Functions, Truth Tables, Logic Minimization, Two-Level Forms Consider a boolean function f (a, b, c, d). Suppose that the function is 1 if

• There is a single 1 among the inputs, or
• There is a single 0 among the inputs, or
• There are exactly two 1’s among the inputs

and it is 0 otherwise.

(a) Write down a truth table for the function

(b) Using a Karnaugh map, provide a minimal sum-of-products (AND-OR) expres- sion.

(c) Using a Karnaugh map, provide a minimal product-of-sums (OR-AND) expres- sion.

(d) Provide a minimal NAND-NAND expression

(e) Provide a minimal OR-NAND expression (f) Provide a minimal NOR-OR expression

(g) Provide a minimal NOR-NOR expression (h) Provide a minimal AND-NOR expression

(i) Provide a minimal NAND-AND expression
(j) Provide a AND-XOR expression (with no negations)

Solutions

Expert Solution

(a) Truth table

Input Output
a b c d f
0 0 0 0 0
0 0 0 1 1
0 0 1 0 1
0 0 1 1 1
0 1 0 0 1
0 1 0 1 1
0 1 1 0 1
0 1 1 1 1
1 0 0 0 1
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 0

(b) minimal sum-of-products

f=ab' + cd' + bc' + da'

(c) minimal product-of-sums

f ' = abcd + a'b'c'd'

( f ')' = ( abcd + a'b'c'd' )'

f =( a' + b' + c' + d') ( a + b + c + d)

(d) minimal NAND-NAND expression

f = ab' + cd' + bc' + da'

f = ( (ab')' (cd')' (bc')' (da')' )'

(e) minimal OR-NAND expression

f = ab' + cd' + bc' + da'

f = ( (ab')' (cd')' (bc')' (da')' )'

f = ( (a' + b) (c' + d) (b' + c) (d' + a) )'

(f) NOR-OR expression

f = ab' + cd' + bc' + da'

f = ( (ab')' (cd')' (bc')' (da')' )'

f = ( (a' + b) (c' + d) (b' + c) (d' + a) )'

f = (a' + b)' + (c' + d)' + (b' + c)' + (d' + a)'

(g) minimal NOR-NOR expression

f = ( a' + b' + c' + d') ( a + b + c + d)

f =[ {( a' + b' + c' + d' )}' + {( a + b + c + d )}' ]'

(h) AND-NOR expression

f ' = abcd + a'b'c'd'

( f ')' = ( abcd + a'b'c'd' )'

f = ( abcd + a'b'c'd' )'

(i) NAND-AND expression

f ' = abcd + a'b'c'd'

( f ')' = ( abcd + a'b'c'd' )'

f = ( abcd + a'b'c'd' )'

f = ( abcd )' ( a'b'c'd')'


Related Solutions

Please answer full question thoroughly (A- D) showing detailed work. SUBMIT ORIGINAL work and ensure it...
Please answer full question thoroughly (A- D) showing detailed work. SUBMIT ORIGINAL work and ensure it is correct for thumbs up. a) What is the effect of calling MAX-HEAPIFY(A, i) when the element A[I ]is larger than its children? b) What is the effect of calling MAX-HEAPIFY(A, i) for i > A.heap-size/2? c) The code for MAX-HEAPIFYis quite efficient in terms of constant factors, except possibly for the recursive call in line 10, which might cause some compilers to produce...
Please answer full question thoroughly (A- D) showing detailed work. SUBMIT ORIGINAL work and ensure it...
Please answer full question thoroughly (A- D) showing detailed work. SUBMIT ORIGINAL work and ensure it is correct for thumbs up. a) Show that an n-element heap has height   b) Show that in any subtree of a max-heap, the root of the subtree contains the largest value occurring anywhere in that subtree. c) Where in a max-heap might the smallest element reside, assuming that all elements are distinct? d) Show that, with the array representation for storing an n-element heap,...
PLEASE READ: This is one question with 3 parts to it, please answer the full question....
PLEASE READ: This is one question with 3 parts to it, please answer the full question. Mark M. Upp has just been fired as the university bookstore manager for setting prices too low (only 20 percent above suggest retail). He is considering opening a competing bookstore near the campus, and he has begun an analysis of the situation. There are two possible sites under consideration. One is relatively small, while the other is large. If he opens at Site 1...
Please answer below question with full detailed explanation in type written, no hand writing please. What...
Please answer below question with full detailed explanation in type written, no hand writing please. What is the basic difference between synchronous machine and induction machine? Why induction motor is more common as compared to induction generator?
Directions: Answer the following question in 1-2 double-spaced pages. Please be detailed and thorough. In words...
Directions: Answer the following question in 1-2 double-spaced pages. Please be detailed and thorough. In words your 12-year old cousin would understand, what does it mean to test a hypothesis? In formulating your response, you should think through (and describe) the logic of hypothesis testing as well as the significance of each step you follow when per-forming such a test. Your answer should include a discussion on the null and alternative hypotheses, the logic of testing a null hypothesis (that...
Answer the following questions showing all work. Full credit will not be given to answers without...
Answer the following questions showing all work. Full credit will not be given to answers without work shown. If you use Minitab Express or StatKey include the appropriate output (copy + paste). If you do hand calculations show your work using the Word equation editor. Clearly identify your final answers. Output without explanation will not receive full credit and answers with no output or explanation will not receive full credit. Round all answers to 3 decimal places. If you have...
Answer the following questions showing all work. Full credit will not be given to answers without...
Answer the following questions showing all work. Full credit will not be given to answers without work shown. If you use Minitab Express or StatKey include the appropriate output (copy + paste). If you do any hand calculations show your work using the Word equation editor. Clearly identify your final answers. Output without explanation will not receive full credit and answers with no output or explanation will not receive full credit. Round all answers to 3 decimal places. If you...
Do your best to answer each question thoroughly and provide examples for full credit. (Most of...
Do your best to answer each question thoroughly and provide examples for full credit. (Most of the answers are in the links provided & change control lecture in D2L) Q1. Illustrate how can we control 'change requests' coming from different directions during a project? (follow the six Steps in the Change Control Process) Q2. a. What are the sources of change? b. Discuss- If a change is agreed upon, what may be the impacts of this change to the project...
please be DETAILED with the answers! this is a ruminant nutrition question do not answer if...
please be DETAILED with the answers! this is a ruminant nutrition question do not answer if unsure A complete dairy diet contains 55% alfalfa, 40% corn and 5% cotton seed meal. List all of the chemical compounds in the diet (e.g. starch). For each compound you have listed, describe the fermentation process in the rumen. For each compound identify what % is fermented in the rumen and what % is digested in the intestine
THIS IS THE THIRD TIME ASKING THE SAME QUESTION, PLEASE DOUBLE CHECK YOUR ANSWERS. THANK YOU....
THIS IS THE THIRD TIME ASKING THE SAME QUESTION, PLEASE DOUBLE CHECK YOUR ANSWERS. THANK YOU. AND ANSWER ALL PARTS A, B AND C The USA Today reports that the average expenditure on Valentine's Day is $100.89. Do male and female consumers differ in the amounts they spend? The average expenditure in a sample survey of 44 male consumers was $135.67, and the average expenditure in a sample survey of 32 female consumers was $68.64. Based on past surveys, the...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT