
Determine the output of each of the following circuits, assuming that the upper input is 1 and the lower input is 0 What would be the output when the upper input is 0 and the lower input is 1?
a.

Explanation of Solution
Determine the output of the given circuit.
The stated diagram is shown below,
- To find the output of the circuit when the upper input is 1 and the lower input is 0, the diagram contains one XOR gate and inverter, so the Boolean operation of XOR gate and inverter is shown below:
The Boolean XOR operation is shown in table below,
Input 1 | Input 2 | Output |
0 | 0 | 0 |
0 | 1 | 1 |
1 | 0 | 1 |
1 | 1 | 0 |
- First, 0 is the input of inverter which gives the output of inverter and this output of the inverter is the lower input of XOR gate.
The inverter operation is shown in table below,
Input | output |
1 | 0 |
0 | 1 |
- The lower input 0 is converted to 1 through inverter gate that means the lower input of XOR gate is 1.
The inputs of XOR gate are shown in Figure below,
- To represent the output of XOR gate, convert the input of XOR gate through Boolean operation, when both the inputs of XOR gate is 1, then the output of the XOR gate is 0 by Boolean operation XOR table.
Therefore, the required output of the given circuit is “0”.
Determine the output of the given circuit, when the upper input is 0 and the lower input is 1:
- To find the output of the circuit when the upper input is 0 and the lower input is 1, the diagram contains one XOR gate and inverter:
- First, 1 is the input of inverter which gives the output of the inverter and this output of the inverter is the lower input of XOR gate.
- The lower input 1 is converted to 0 through inverter gate, so the lower input of XOR gate is 0.
The inputs of XOR gate are shown in Figure below,
- To represent the output of XOR gate, convert the input of XOR gate through Boolean operation, when both the inputs of XOR gate is 0, then the output of the XOR gate is 1 by Boolean operation XOR table.
Therefore, the required output of the given circuit is “1”.
b.

Explanation of Solution
Determine the output of the given circuit.
The stated diagram is shown below,
- To find the output of the circuit when the upper input is 1 and the lower input is 0, the diagram contains one OR gate and one AND gate, so the Boolean operation of OR gate and one AND gate is shown below:
The Boolean OR operation is shown in table below,
Input 1 | Input 2 | output |
0 | 0 | 0 |
0 | 1 | 1 |
1 | 0 | 1 |
1 | 1 | 1 |
- First, 1 and 0 are the inputs of OR gate that give the output of the OR gate and this output of OR gate is the upper input of AND gate.
The Boolean AND operation is shown in table below,
Input 1 | Input 2 | output |
0 | 0 | 0 |
0 | 1 | 0 |
1 | 0 | 0 |
1 | 1 | 1 |
The upper input 1 and lower input 0 is converted to 1 through OR gate, so the upper input of AND gate is 1.
The inputs of AND gate are shown in Figure below,
- To represent the output of AND gate, convert the input of AND gate through Boolean operation, when the upper input is 1 and lower input is 0 of AND gate, then the output of the AND gate is 0 by Boolean operation AND table.
Therefore, the required output for the given circuit is “0”.
Determine the output of the given circuit, when the upper input is 0 and the lower input is 1:
- To find the output of the circuit when the upper input is 0 and the lower input is 1, the diagram contains one OR gate and one AND gate:
- First, 0 and 1 is the input of OR gate that gives the output of the OR gate which is the upper input of the AND gate.
The upper input 0 and lower input 1 is converted to 1 through OR gate, so the upper input of AND gate is 1.
The inputs of AND gate are shown in Figure below,
Figure (6)
- To represent the output of AND gate, convert the input of AND gate through Boolean operation, when both the inputs of AND gate is 1 then the output of the AND gate is 1 by Boolean operation AND table.
Therefore, the required output for the given circuit is “1”.
c.

Explanation of Solution
Determine the output of the given circuit:
The stated diagram is shown below,
- To find the output of the circuit when the upper input is 1 and the lower input is 0, the diagram contains two XOR gates, so the Boolean operation of XOR gates as shown below:
The Boolean XOR operation is shown in table below,
Input 1 | Input 2 | output |
0 | 0 | 0 |
0 | 1 | 1 |
1 | 0 | 1 |
1 | 1 | 0 |
- First, 1 and 0 are the inputs of XOR gate that give the output of the first XOR gate which is the lower input of second XOR gate.
The upper input 1 and lower input 0 are converted to 1 through XOR gate, so the lower input of second XOR gate is 1.
The inputs of XOR gate are shown in Figure below,
- To represent the output of XOR gate, convert the input of XOR gate through Boolean operation, when both the inputs of XOR gate become 1, then the output of the XOR gate becomes 0 by Boolean operation XOR table.
Therefore, the required output for the given circuit is “0”.
Determine the output of the given circuit, when the upper input is 0 and the lower input is 1:
- To find the output of the circuit when the upper input is 0 and the lower input is 1, the diagram contains two XOR gates:
- First, 0 and 1 are the inputs of first XOR gate that give the output of the first XOR gate which is the lower input of second XOR gate.
The upper input 1 and lower input 0 are converted to 1 through XOR gate, so the lower input of second XOR gate is 1.
The inputs of XOR gate are shown in Figure below,
- To represent the output of XOR gate, convert the input of XOR gate through Boolean operation, when the upper input is 0 and lower input is 1 of XOR gate, then the output of the XOR gate is 1 by Boolean operation XOR table.
Therefore, the required output for the given circuit is “1”.
Want to see more full solutions like this?
Chapter 1 Solutions
Computer Science: An Overview (12th Edition)
Additional Engineering Textbook Solutions
SURVEY OF OPERATING SYSTEMS
Introduction To Programming Using Visual Basic (11th Edition)
Modern Database Management
Concepts Of Programming Languages
Electric Circuits. (11th Edition)
Database Concepts (8th Edition)
- A(n) ____ cannot be selected as the document type in the Mail Merge task pane. Question 9Select one: a. Letter b. Directory c. Fax d. E-mail messagearrow_forwardConsider a Superstore Database which consists of 3 tables, Orders, Returns, and Managers. The CSV files have been provided along with this DOC file in the Midterm 2 Link in the Moodle. Answer the questions as below: Use the created table as in the provided SQL query file, solve the problems as mentioned below. You will have to import the respective CSV files of the above created tables as without them, it is impossible to solve the questions below. If you are not able to upload the files successfully, do not leave the query questions. Just write the query to the best of your knowledge. Do not copy. To be graded for the screenshot answer, you must upload the CSV properly and paste the resulting screenshot of the queries as asked. Write Query to Find out which Product Sub-Category has a sum of Shipping Cost to sum of Sales ratio > 0.03.arrow_forwardI need to render an image of a car continuously for a smooth visual experience in C# WinForms. It gets the location array (that has all the x,y of the tiles it should visit) from another function - assume it is already written.arrow_forward
- write c program with features: Register a Bunny: Store the bunny's name, poem, and initialize the egg count to 0. Modify an Entry: Change the bunny's poem or update the egg count. Delete a Bunny: Remove a registered bunny from the list. List All Bunnies: Display all registered bunnies and their details. Save & Load Data: Store bunny data in a file to persist between runs. Use a struct to represent a bunny contestant. Store data in a binary file (bunnies.dat) for persistence. Use file I/O functions (fopen, fwrite, fread, etc.) to manage data. Implement a menu-driven interface for user interaction.arrow_forwardHelp, how do I write the pseudocode for the findMean function and flowchart for this?arrow_forwardNeed help drawing a flowchart for the findMax function herearrow_forward
- Need help writing the pseudocode for the findMin function with attachedarrow_forwardCreate a static function in C# where poachers appear and attempt to hunt animals. It gets the location of the closest animal to itself. Take account of that the animal also move too, so it should update the closest location (x, y) everytime it moves to a new location. Use winforms to show the movements of poachers.arrow_forwardCreate a static function in C# where poachers appear and attempt to hunt animals. It gets the location of the closest animal to itself. Take account of that the animal also moves too, so it should update the closest location (x, y) everytime it moves to a new location. Use winforms to show to movementsarrow_forward
- I have to develop an efficient parallel numerical integration program on a 2-D mesh but I'm struggling. And it has to be in Cstararrow_forwardAn employee is departing from the company you work for. Explain why it could be best practice not to delete their user account but to lock it instead.arrow_forwardthe nagle algorithm, built into most tcp implementations, requires the sender to hold a partial segment's worth of data (even if pushed) until either a full segment accumulates or the most recent outstanding ack arrives. (a) suppose the letters abcdefghi are sent, one per second, over a tcp connection with an rtt of 4.1 seconds. draw a timeline indicating when each packet is sent and what it contains.arrow_forward
- Systems ArchitectureComputer ScienceISBN:9781305080195Author:Stephen D. BurdPublisher:Cengage LearningProgramming Logic & Design ComprehensiveComputer ScienceISBN:9781337669405Author:FARRELLPublisher:CengageOperations Research : Applications and AlgorithmsComputer ScienceISBN:9780534380588Author:Wayne L. WinstonPublisher:Brooks Cole
- Np Ms Office 365/Excel 2016 I NtermedComputer ScienceISBN:9781337508841Author:CareyPublisher:CengageEBK JAVA PROGRAMMINGComputer ScienceISBN:9781305480537Author:FARRELLPublisher:CENGAGE LEARNING - CONSIGNMENTC++ Programming: From Problem Analysis to Program...Computer ScienceISBN:9781337102087Author:D. S. MalikPublisher:Cengage Learning



