Question

In: Computer Science

In this world of multitasking people do many things while performing other tasks. Think of something...

In this world of multitasking people do many things while performing other tasks. Think of something where you have to use the Boolean operators AND, OR and NOT. For example, starting a car requires your foot on the brake while turning or pressing the ignition switch. Starting a riding lawn mower requires turning the switch while sitting on the seat. Force is measured and the person must be a certain weight. Discuss three examples incorporating the three (3) Boolean operators. For example, text AND drive, text OR drive, or drive NOT text. Write sample Boolean Equations for each example.

(1) AND logic

(2) OR Logic

(3) NOT logic (inverter)

Based on that

- List the truth table for each

- Please use the scematic symbols for it

- Draw in PLC logic equivalent


Solutions

Expert Solution

(1) AND gate application in car wiper control

Truth Table

X Y Z=X.Y
0 0 0
0 1 0
1 0 0
1 1 1

AND gate is utilized to turn the car wipers on which is located on windshield of car when ignition key(I-Switch) AND wiper switches(W-Switch) are ON. We assume that ignition and wiper circuit output is digital in nature, so can be directly connected to two inputs of the AND gate. This concept is shown in diagram below. When we On the Ignition key and also on the wiper switch then on the windshield screen the wiper moves and cleans the glass

.

(2) Or gate application in car ignition system

Truth Table

X Y Z=X+Y
0 0 0
0 1 1
1 0 1
1 1 1

Here the two switches X and Y are connected and either Switch X or  Y can be closed in order to put the Ignition on. In other words, any of the switch can be closed or we can say at logic 1 for the ignition to be on.

Then this type of logic gate only produces output when any of the input is present and the output will be true when any of its input is true. The diagram is shown below.

(3) And gate application in fuel level indicator

Truth Table

X Z=X̄
0 1
1 0

To show whether fuel level in the tank reached the min level, a very simple NOT gate with the digital output level sensor can be utilized.  

Here, when fuel level drops to the minimum level, the sensor gives the output as HIGH. NOT gate gives LOW output then and Red LED glows to show the fuel shortage status. For simulation of the change in the fuel level inside tank, the slider is given

.


Related Solutions

The worldwide adoption of IFRS is something that many people do not agree on. In my...
The worldwide adoption of IFRS is something that many people do not agree on. In my opinion I think the worldwide adoption of IFRS would result in global comparability of financial statements. The IFRS was originally started to bring consistency to accounting standards and practices no matter what company it is or what country it is located. The IFRS also creates better transparency for companies that are alike. With the good also comes the bad. IFRS is principle based compared...
While some of the other Worldviews do offer some kind of explanation on how all things...
While some of the other Worldviews do offer some kind of explanation on how all things came about in the universe, the Christian Worldview is the only one that offers any kind of help and hope to humanity. The creation story found in the Bible is all about God, a being that was before all things, whom created this earth and everything on it. God alone always does what is good and right and perfect—the Bible calls him holy. God...
Why many people tend to hold more money, while some other people prefer to hold less...
Why many people tend to hold more money, while some other people prefer to hold less money. And why the interest rate serves as the opportunity cost of holding money?
Many people think that their inability to do endurance work is related to an inability of...
Many people think that their inability to do endurance work is related to an inability of their lungs to supply O2 to the blood. Provide a detailed explanation that you would give to an undergraduate exercise physiology class to help educate them why this idea is incorrect.
do you think the world is threatened by a population explosion? why do people find alienation...
do you think the world is threatened by a population explosion? why do people find alienation or community in the city?
Do you think other people have prejudices about sexuality? Where do you think such prejudices come...
Do you think other people have prejudices about sexuality? Where do you think such prejudices come from?    
Enhancing your creativity: While most companies value creative people, many people do not feel creative or...
Enhancing your creativity: While most companies value creative people, many people do not feel creative or have not used their creative talents in a long time. This project will help you focus on creativity and bring it into your everyday life. There are two parts to the project. 1) Discuss why creativity is an important part of decision-making. 2) Research two sources that describe how to become more creative. After reading these sources, describe five things you could do to...
Why do you think that some religious people pick and choose the doctrines to follow while...
Why do you think that some religious people pick and choose the doctrines to follow while ignoring others that are written out in their scriptures?
Business ethics means many different things to different people. If you are a manager with many...
Business ethics means many different things to different people. If you are a manager with many new hires who do not have a business degree and have never studied what you have studied, how would you explain ‘business ethics in the workplace’ to these employees? If you must focus on two main points, what two points would you want these employees to understand and practice in their behavior at work?
Why do you think so many people are hesitant to talk about sexual pleasure? How do...
Why do you think so many people are hesitant to talk about sexual pleasure? How do you decide whether a sexual behavior is "normal"? Do you think people should be allowed to engage in BDSM (or other sexual behaviors or expressions), as long as they don't hurt anyone? Kiki realizes that some people don't understand her behavior and they may see it as distasteful, perverted or abnormal. Given that, should we as a society stop her from doing it? Do...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT