Question

In: Computer Science

With four Boolean inputs mentioned in the first four columns of the following table, report the...

With four Boolean inputs mentioned in the first four columns of the following table, report the outputs from the circuits described by the Boolean expressions in the topmost row of the table in the 5th and 6th columns, in the corresponding rows in the 5th and 6th columns of the table. The circuit in the 5th column uses two AND gates, two NOT gates, and one OR gate. The circuit in the 6th column uses two AND gates and one OR gate. You can draw the circuits or construct partial truth tables which have just the given combinations of input values instead of the 16 possible combinations, if you wish. You can also find the answers by simply using the meaning of AND, OR, and NOT gates.

X1

X2

X3

X4

NOT(X1) AND

((X2 OR X3) AND (NOT(X4)))

(X1 AND X2) OR (X3 AND X4)

0

0

0

0

1

1

0

0

0

1

1

0

Solutions

Expert Solution

Truth Table: 5th column i.e NOT(X1) AND ((X2 OR X3) AND (NOT(X4)))

    X1

    X2

    X3

    X4

   NOT(X1)

    NOT(X4)

     X2 OR X3  

     NOT(X1) AND ((X2 OR X3)   

    NOT(X1) AND ((X2 OR X3) AND (NOT(X4)))

    0

    0

    0

    0

    1

    1

    0

    0

    0

    0

    1

    1

    0

    1

    1

    1

    1

    1

    1

    1

    0

    0

    0

    1

    1

    0

    0

The Boolean expression for 5th column is F (X1, X2, X3, X4) = ​ M (0, 12)

Mo = 0000 = (X1+X2+X3+X4)

M12 = 1100 = (X1'+X2'+X3+X4)

F (X1, X2, X3, X4) = (X1+X2+X3+X4)(X1'+X2'+X3+X4)

= [X1+X2+(X3+X4)][X1'+X2'+(X3+X4)]
= [(X1+X2)(X1'+X2')+(X3+X4)] { By Distributive law P+QR = (P+Q)(P+R) }
= [X1(X1'+X2')+X2(X1'+X2')+(X3+X4)] { By Distributive law P+QR = (P+Q)(P+R) }
= [(X1X1'+X1X2')+(X1'X2+X2X2')+(X3+X4)] { By Distributive law P(Q+R) = PQ+PR }
= [(0+X1X2')+(X1'X2+0)+(X3+X4)] { We know that PP'=0 }
= [X1X2'+X1'X2+(X3+X4)]

The Simplified Boolean expression for 5th column is F (X1, X2, X3, X4) = X1X2'+X1'X2+ X3+X4

Circuit for 5th column

Truth Table: 6th column i.e (X1 AND X2) OR (X3 AND X4)

    X1

    X2

    X3

    X4

     X1 AND X2

     X3 AND X4

    (X1 AND X2) OR (X3 AND X4)

    0

    0

    0

    0

    0

    0

    0

    0

    1

    1

    0

    0

    0

    0

    1

    1

    0

    0

    1

    0

    1

The Boolean expression for 6th column is  F (X1, X2, X3, X4) = ​ M (0, 6)

Mo = 0000 = (X1+X2+X3+X4)

M12 = 0110 = (X1+X2'+X3'+X4)

F (X1, X2, X3, X4) = (X1+X2+X3+X4)(X1+X2'+X3'+X4)

= (X1+X2+X3+X4)(X1+X2'+X3'+X4)
= [((X1+X4)+X2+X3)((X1+X4)+X2'+X3')]
= [(X1+X4)+(X2+X3)(X2'+X3')] { By Distributive law P+QR = (P+Q)(P+R) }
= [(X1+X4)+(X2(X2'+X3')+X3(X2'+X3'))] { By Distributive law P+QR = (P+Q)(P+R) }
= [(X1+X4)+(X2X2'+X2X3')+(X2'X3+X3X3'))] { By Distributive law P(Q+R) = PQ+PR }
= [(X1+X4)+(0+X2X3')+(X2'X3+0))]  { We know that PP'=0 }
= X1+X4+X2X3'+X2'X3

The Simplified Boolean expression for 5th column is F (X1, X2, X3, X4) = X1+X4+X2X3'+X2'X3

Circuit for 6th column


Related Solutions

"Create a program that displays a table consisting of four rows and five columns. The first...
"Create a program that displays a table consisting of four rows and five columns. The first column should display the numbers 1 through 4. The second and sub-sequent columns should display the result of multiplying the number in the first column by the numbers 2 through 5. If necessary, create a new project named Introductory14 Project, and save it in the Cpp8\Chap08 folder. Enter the C++ instructions into a source file named Introductory14.cpp. Also enter appropriate comments and any additional...
Write a static method startsWith that inputs two Strings and returns a boolean. If the first...
Write a static method startsWith that inputs two Strings and returns a boolean. If the first input starts with the substring that is the second input, then the method returns true; otherwise, it returns false. For example, startsWith( "radar installation", "rad" ) returns true startsWith( "radar installation", "installation" ) returns false startsWith( "radar installation", "" ) returns true startsWith( "", "a" ) returns false startsWith( "", "" ) returns true
Write a static method endsWith that inputs two Strings and returns a boolean. If the first...
Write a static method endsWith that inputs two Strings and returns a boolean. If the first input ends with the substring that is the second input, then the method returns true; otherwise, it returns false. For example, endsWith( "radar installation", "rad" ) returns false endsWith( "radar installation", "installation" ) returns true endsWith( "radar installation", "" ) returns true endsWith( "", "a" ) returns false endsWith( "", "" ) returns true
Create a table with two columns. Name the table First Initial _ Last Name (e.g. John...
Create a table with two columns. Name the table First Initial _ Last Name (e.g. John Dow will create table j_dow). You have to audit all DML statements on your table. To do this you write two triggers: 1. To log any DML statements that users might run on this table. The results must be stored in the First Initial _ Last Name _ Log table (e.g. John Dow will create table j_dow_log). The table should have unique event ID,...
Draw the symbol, Boolean equation, and truth table for a four-input OR gate a three-input XNOR...
Draw the symbol, Boolean equation, and truth table for a four-input OR gate a three-input XNOR gate a five-input NAND gate
Create the table users with four columns: user_id, email_address, first_name, and last_name. Make user_id as the...
Create the table users with four columns: user_id, email_address, first_name, and last_name. Make user_id as the primary key. For each column, use the data type specified in the schema.
1. Write the statements to create a table named REQUIREMENTS. The table has the following columns:...
1. Write the statements to create a table named REQUIREMENTS. The table has the following columns: credits number (primary key) and degree name. 2. Write the statements to create a table named CANDIDATE with the following columns names. Pick the best column type: student_id, first name, last name, credits and graduation date. The credits column is a foreign key to the credits column in the REQUIREMENTS table. 3. Write the statement(s) to Insert 2 rows in your REQUIREMENTS table. Make...
Write a program that inputs the values of three Boolean variables, a, b, and c, from...
Write a program that inputs the values of three Boolean variables, a, b, and c, from a “cin” operator (user gives the values be sure to prompt user for what they have to give!). Then the program determines the value of the conditions that follow as true or false. 1. !(a&&b&&c) && ! (a||b||c) 2. !(a||b)&&c Output should include the values of a,b,c ie 0 or 1 in the patterns that follow reflecting the Boolean logic being tested. Where “True”...
JAVA If a user inputs a specific number of rows, columns and sections for a rectangle...
JAVA If a user inputs a specific number of rows, columns and sections for a rectangle using three symbols, how would you print using for loops and a string? Not using an array Example: If 4 was inputted for rows, 12 was inputted for columns, 6 was inputted for sections, and the following symbols (that are all chosen by the user) were “$” “*” and “%” the following would print: $$**%%$$**%% $$**%%$$**%% $$**%%$$**%% $$**%%$$**%% Has to account for all numbers...
A six-column table for JKL Company follows. The first two columns contain the unadjusted trial balance...
A six-column table for JKL Company follows. The first two columns contain the unadjusted trial balance for the company as of July 31, 2017. The last two columns contain the adjusted trial balance as of the same date. Unadjusted Trial Balance Adjusted Trial Balance Cash $ 108,120 $ 108,120 Accounts receivable 10,000 20,000 Office supplies 17,200 6,500 Prepaid insurance 7,540 3,160 Office equipment 90,000 90,000 Accum. Depreciation—Office equip. $ 25,000 $ 32,000 Accounts payable 10,100 24,000 Interest payable 0 3,000...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT