Computer Science Illuminated
7th Edition
ISBN: 9781284155617
Author: Nell Dale, John Lewis
Publisher: Jones & Bartlett Learning
expand_more
expand_more
format_list_bulleted
Question
Chapter 4, Problem 64E
Program Plan Intro
Boolean algebra:
- The Boolean expression is known as a mathematical notation that is used to express the function.
- For example: Boolean expression for the NOT gate.
Expert Solution & Answer
Explanation of Solution
Properties of Boolean algebra:
- Six properties of Boolean algebra are shown below:
- Commutative property
- Associative property
- Distributive property
- Identity property
- Complement property
- DeMorgan’s law property
- Commutative property:
- The commutative property is the property that specifies the production of the same result when adding or multiplying two variables and its reverse order.
- It is represented in the binary operations with the use of “AND” and “OR” gate.
- AND operation:
- Apply the commutative property from left to right or right to left for the given expression using AND operation:
- For example:
- Here, take the inputs A as 1 and B as 0 and apply the commutative property for AND operation
- Thus, from the above example, it can be seen that both produce the same result.
- The product of 1 and 0 is 0.
- The product of 0 and 1 is 0.
- OR operation:
- Apply the commutative property from left to right or right to left for the given expression using the OR operation:
- For example: Here, take the inputs A as 1 and B as 0 and apply the commutative property for OR operation:
- Thus, from the above example, it can be seen that both produce the same result.
- The sum of 1 and 0 is 1.
- Reverse the sum of 0 and 1 is 1.
- Associative property:
- The associative property is the property that specifies the production of same results when the group of variables is added or multiplied together within the parentheses and its reverse order.
- It is represented in the binary operations with the use of “AND” and “OR” gate.
- AND operation:
- Apply the associative property from left to right or right to left for the given expression using AND operation:
- For example: Here, take the inputs A as 1, B as 0, and C as 1 and apply the associative property for AND operation:
- Thus, from the above example, it can be seen that both produce the same result.
- Group of product of A as 1, B as 0, and C as 1 within the parentheses is 0.
- Reverse group of product of A as 1, B as 0, and C as 1 within the parentheses is 0.
- OR operation:
- Apply the associative property from left to right or right to left for the given expression using the OR operation:
- For example: Here, take the inputs A as 1, B as 0 and C as 1 and apply the associative property for OR operation:
- Thus, from the above example, it can be seen that both produce same result.
- Group the sum of A as 1, B as 0, and C as 1 within the parentheses is 1.
- Reverse group of sum of A as 1, B as 0, and C as 1 within the parentheses is 1.
Distributive property:
- The distributive property is represented in the binary operations with the use of “AND” and “OR” gate.
- AND operation:
- Apply the distributive property from left to right or right to left for the given expression using AND operation:
- The distributive property is the property when the variable multiplied by a group of variable added together produces the result which is same as that of the variable multiplied separately and then added together.
- For example: Here, take the inputs A as 1, B as 0, and C as 1 and apply the distributive property for AND operation:
- Thus, from the above example, it can be seen that both produce same result.
- Sum of 0 and 1 produces the result 1, which when multiplied with 1 produces the result 1.
- Multiply the 1 with 0 separately and multiply 1 with 1 separately and then add both the values which produce the result 1.
- OR operation:
- Apply the distributive property from left to right or right to left for the given expression using the OR operation:
- The distributive property is the property when the variable added by a group of variable multiplied together produces the result which is same as that of the variable added separately and then multiplied together.
- For example: Here, take the inputs A as 1, B as 0 and C as 1 and apply the distributive property for OR operation:
- Thus, from the above example, it can be seen that both produce same result.
- Multiply the 0 with 1 produces the result 0, which when added to 1 produces the result 1.
- Sum of 1 and 0 separately and Sum of 1 and 1 separately and then multiply both the values which produce the result 1.
- Identity property:
- The identity property is the property which produces the same results when sum of 0 and one variable produces the variable itself or product of 1 with one variable produces the variable itself.
- It is represented in the binary operations with the use of “AND” and “OR” gate.
- AND operation:
- Apply the identity property for the given expression using AND operation:
- For example: Here, take the inputs A as 1 and apply the identity property for AND operation:
- OR operation:
- Apply the identity property for the given expression using the OR operation:
- For example: Here, take the inputs A as 1 and apply the identity property for OR operation:
- Complement property:
- The complement property is represented in the binary operations such as “AND” and “OR” gate.
- AND operation:
- Apply the complement property for the given expression using AND operation:
- The product of variable with its complement produces the 0.
- For example: Here, take the inputs A as 1 and apply the complement property for AND operation:
- OR operation:
- Apply the complement property for the given expression using the OR operation:
- The Sum of variable with its complement produces the 1.
- For example: Here, take the inputs A as 1 and apply the complement property for OR operation:
- DeMorgan’s law property:
- The DeMorgan’s law property is represented in the binary operations such as “AND” and “OR” gate.
- AND operation:
- Apply the complement property for the given expression using AND operation:
- The DeMorgan’s law states that the complement of results produced in AND gate is equivalent to the complement of the individual inputs and then passed into an OR gate.
- For example: Here, take the inputs A as 1 and B as 0 and apply the DeMorgan’s law property for AND operation:
- OR operation:
- Apply the complement property for the given expression using the OR operation:
- The DeMorgan’s law states that the complement of result produced in OR gate is equivalent to the complement of the individual inputs and then passed into an AND gate.
- For example: Here, take the inputs A as 1 and B as 0 and apply the DeMorgan’s law property for OR operation:
Want to see more full solutions like this?
Subscribe now to access step-by-step solutions to millions of textbook problems written by subject matter experts!
Students have asked these similar questions
Can you please simplify (the domain is not empty) ∃xF (x) → ¬∃x(F (x) ∨ ¬G(x)). Fo
HistogramUse par(mfrow=c(2,2)) and output 4 plots with different argument settings.
(use R language)Scatter plot(a). Run the R code example, and look at the help file for plot() function. Try different values for arguments:type, pch, lty, lwd, col(b). Use par(mfrow=c(3,2)) and output 6 plots with different argument settings.
Chapter 4 Solutions
Computer Science Illuminated
Ch. 4 - Prob. 1ECh. 4 - Prob. 2ECh. 4 - Prob. 3ECh. 4 - Prob. 4ECh. 4 - Prob. 5ECh. 4 - Prob. 6ECh. 4 - Prob. 7ECh. 4 - Prob. 8ECh. 4 - Prob. 9ECh. 4 - Prob. 10E
Ch. 4 - Prob. 11ECh. 4 - Prob. 12ECh. 4 - Prob. 13ECh. 4 - Prob. 14ECh. 4 - Prob. 15ECh. 4 - Prob. 16ECh. 4 - Prob. 17ECh. 4 - Prob. 18ECh. 4 - Prob. 19ECh. 4 - Prob. 20ECh. 4 - Prob. 21ECh. 4 - Prob. 22ECh. 4 - Prob. 23ECh. 4 - Prob. 24ECh. 4 - Prob. 25ECh. 4 - Prob. 26ECh. 4 - Prob. 27ECh. 4 - Prob. 28ECh. 4 - Prob. 29ECh. 4 - Prob. 30ECh. 4 - Prob. 31ECh. 4 - Prob. 32ECh. 4 - Prob. 33ECh. 4 - Prob. 34ECh. 4 - Prob. 35ECh. 4 - Prob. 36ECh. 4 - Prob. 37ECh. 4 - Prob. 38ECh. 4 - Prob. 39ECh. 4 - Prob. 40ECh. 4 - Prob. 41ECh. 4 - Prob. 42ECh. 4 - Prob. 43ECh. 4 - Prob. 44ECh. 4 - Prob. 45ECh. 4 - Prob. 46ECh. 4 - Prob. 47ECh. 4 - Prob. 48ECh. 4 - Prob. 49ECh. 4 - Prob. 50ECh. 4 - Prob. 51ECh. 4 - Prob. 52ECh. 4 - Prob. 53ECh. 4 - Prob. 54ECh. 4 - Prob. 55ECh. 4 - Prob. 56ECh. 4 - Prob. 57ECh. 4 - Prob. 58ECh. 4 - Prob. 59ECh. 4 - Prob. 60ECh. 4 - Prob. 61ECh. 4 - Prob. 62ECh. 4 - Prob. 63ECh. 4 - Prob. 64ECh. 4 - Prob. 65ECh. 4 - Prob. 66ECh. 4 - Prob. 67ECh. 4 - Prob. 68ECh. 4 - Prob. 69ECh. 4 - Prob. 70ECh. 4 - Prob. 71ECh. 4 - Prob. 72ECh. 4 - Prob. 73ECh. 4 - Prob. 1TQCh. 4 - Prob. 2TQCh. 4 - Prob. 3TQCh. 4 - Prob. 4TQ
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Similar questions
- 1. Draw flow charts for each of the following;a) A system that reads three numbers and prints the value of the largest number.b) A system reads an employee name (NAME), overtime hours worked (OVERTIME), hours absent(ABSENT) and determines the bonus payment (PAYMENT).arrow_forwardScenario You work for a small company that exports artisan chocolate. Although you measure your products in kilograms, you often get orders in both pounds and ounces. You have decided that rather than have to look up conversions all the time, you could use Python code to take inputs to make conversions between the different units of measurement. You will write three blocks of code. The first will convert kilograms to pounds and ounces. The second will convert pounds to kilograms and ounces. The third will convert ounces to kilograms and pounds. The conversions are as follows: 1 kilogram = 35.274 ounces 1 kilogram = 2.20462 pounds 1 pound = 0.453592 kilograms 1 pound = 16 ounces 1 ounce = 0.0283 kilograms 1 ounce = 0.0625 pounds For the purposes of this activity the template for a function has been provided. You have not yet covered functions in the course, but they are a way of reusing code. Like a Python script, a function can have zero or more parameters. In the code window you…arrow_forwardmake a screen capture showing the StegExpose resultsarrow_forward
- Which of the following is not one of the recommended criteria for strategic objectives? Multiple Choice a) realistic b) appropriate c) sustainable d) measurablearrow_forwardManagement innovations such as total quality, benchmarking, and business process reengineering always lead to sustainable competitive advantage because everyone else is doing them. a) True b) Falsearrow_forwardVision statements are more specific than strategic objectives. a) True b) Falsearrow_forward
- The three components of the __________ approach to corporate accounting include financial, environmental, and social performance measures. Multiple Choice a) stakeholder b) triple dimension c) triple bottom line d) triple efficiencyarrow_forwardCompetitors, as internal stakeholders, should be included in the stakeholder management consideration of a company and in its mission statement. a) True b) Falsearrow_forwardAt what level in the organization should the strategic management perspective be emphasized? Multiple Choice a) throughout the organization b) from the bottom up in an organization c) at the top of the organization d) at the middle of the organizationarrow_forward
- A good manager can be flexible when it comes to sticking to the original plan; to get good results, the intended strategy has to become the realized strategy. a) True b) Falsearrow_forward________ tend to be quite enduring and seldom change. Multiple Choice a) Strategic objectives b) Vision statements c) Strategic plans d) Mission statementsarrow_forwardThe idea that organizations are not only accountable to stockholders but also to the community-at-large is known as social responsibility. a) True b) Falsearrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Database System ConceptsComputer ScienceISBN:9780078022159Author:Abraham Silberschatz Professor, Henry F. Korth, S. SudarshanPublisher:McGraw-Hill EducationStarting Out with Python (4th Edition)Computer ScienceISBN:9780134444321Author:Tony GaddisPublisher:PEARSONDigital Fundamentals (11th Edition)Computer ScienceISBN:9780132737968Author:Thomas L. FloydPublisher:PEARSON
- C How to Program (8th Edition)Computer ScienceISBN:9780133976892Author:Paul J. Deitel, Harvey DeitelPublisher:PEARSONDatabase Systems: Design, Implementation, & Manag...Computer ScienceISBN:9781337627900Author:Carlos Coronel, Steven MorrisPublisher:Cengage LearningProgrammable Logic ControllersComputer ScienceISBN:9780073373843Author:Frank D. PetruzellaPublisher:McGraw-Hill Education
Database System Concepts
Computer Science
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:McGraw-Hill Education
Starting Out with Python (4th Edition)
Computer Science
ISBN:9780134444321
Author:Tony Gaddis
Publisher:PEARSON
Digital Fundamentals (11th Edition)
Computer Science
ISBN:9780132737968
Author:Thomas L. Floyd
Publisher:PEARSON
C How to Program (8th Edition)
Computer Science
ISBN:9780133976892
Author:Paul J. Deitel, Harvey Deitel
Publisher:PEARSON
Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781337627900
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning
Programmable Logic Controllers
Computer Science
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education
Boolean Algebra - Digital Logic and Logic Families - Industrial Electronics; Author: Ekeeda;https://www.youtube.com/watch?v=u7XnJos-_Hs;License: Standard YouTube License, CC-BY
Boolean Algebra 1 – The Laws of Boolean Algebra; Author: Computer Science;https://www.youtube.com/watch?v=EPJf4owqwdA;License: Standard Youtube License