Download presentation

Published byDeven Grounds Modified over 4 years ago

1
**Logic Circuits Situations to explain states What is a logic Gate**

What is a Truth Table The three different gates Building Truth Tables

2
Situation Lets say your friends have asked you to go to the cinema with them but your mum will only allow you to go if you have finished your homework and cleared up your room. In this situation we have the following states Homework done or homework not done Room cleared up and room not cleared up We know that the states will effect the output of going to the cinema or not

3
**POSSIBLE OUTPUTS INPUTS**

DONE NOT DONE

4
Example Taking the example of above; lets say you’ve done your homework but you have not cleared up your room… what would the output be? DONE NOT DONE OUTPUT INPUTS

5
States So from the above example we could see that the states effect the output that we will receive. As we already know a computer can only understand binary which is 1s (on) and 0s (off) Hence logic gates are used to be able to conduct similar situations

6
**What is a Logic Gate Logic gates are found in our computers**

They are electronic devices used to control the flow of data When data passes through a logic gate it changes its state, this change depends on the input Many logic gates could be joined together to form a logic circuit, the function of this circuit is more complicated than a single logic gate

7
**A Single Logic Gate A single logic gate has the following attributes**

1 or 2 inputs (if many gates are joined you could have more inputs ) 1 single output 1 input and 1 output 2 inputs and 1 output

8
What is a Truth Table A Truth Table is basically the table that shows all the possible inputs and the outputs of the logic gate If we take the example of the cinema once again we would have the following table Homework Cleared Up Cinema Not Done No Done Yes

9
Truth Tables As we know computers will not understand the truth table on the previous page… why is this? A truth table from an actual computerised logic gate would look like the following Homework Cleared Up Cinema 1

10
**Comparing the two Truth Tables**

Homework Cleared Up Cinema Not Done No Done Yes Homework Cleared Up Cinema 1

11
**Three Logic Gates We will now learn about three different logic gates**

We will be learning The symbol used The number of inputs Their truth tables The different outputs

12
**The NOT Gate The symbol for the NOT gate is the following;**

The NOT gate can only have ONE input and ONE output A X

13
The NOT Gate Since computers only understand 1s and 0s there could be only two (21) possible inputs and outputs for this gate The truth table shows this Input Output A X 1

14
**Outputs The NOT gate basically outputs the opposite of its inputs**

Hence if the input is 1 the output would be 0

15
Example A good example is a switch as it can either be on or off hence it can only have one input 1 1 1 1

16
**The OR Gate The symbol for the OR gate is the following;**

The OR gate can only have TWO inputs and ONE output A X B

17
The OR Gate Since computers only understand 1s and 0s there could be four (22) possible inputs and outputs for this gate The truth table shows this Input Output A B X 1

18
Outputs The OR gate only gives an output of 1 if at least one of its inputs is 1 So if both inputs are 0 the output would be 0 but if both inputs are 1 the output would be 1

19
Example

20
**The AND Gate The symbol for the AND gate is the following;**

The AND gate can only have TWO inputs and ONE output A X B

21
The OR Gate Since computers only understand 1s and 0s there could be four (22) possible inputs and outputs for this gate The truth table shows this Input Output A B X 1

22
**Outputs The AND gate only gives an output of 1 if both inputs are 1**

So if an inputs 1 and the other input is 0 the output would be 0 but if both inputs are 1 the output would be 1

23
Example

24
Building a Truth Table Lets say we want to draw a truth table from the following logic circuit A B C

25
Step 1 Label all the possible outputs in the logic circuit. In this case we have 3 inputs and there are 3 logic gates. Each logic gate’s output must be labeled; D F E

26
Step 2 Determine the possible number of combinations. In this case it’s 23=8. So all the labels (both inputs and outputs are listed down with 8 spaces underneath each label). A B C D A AND B E NOT C F D OR E

27
Step 3 Fill in the possible combinations underneath the original inputs. Always start from the last input (C) with alternate 0s and 1s A B C D A AND B E NOT C F D OR E 1

28
**Step 4 The last step is to work the resulting gates A B C D A AND B E**

NOT C F D OR E 1

Similar presentations

Presentation is loading. Please wait....

OK

Section 10.3 Logic Gates.

Section 10.3 Logic Gates.

© 2018 SlidePlayer.com Inc.

All rights reserved.

To make this website work, we log user data and share it with processors. To use this website, you must agree to our Privacy Policy, including cookie policy.

Ads by Google

Download ppt on live line maintenance tools Ppt on supply chain management of reliance fresh Ppt on animal cell and plant cell Ppt on solar power satellites sps Ppt on db2 mainframes computer Ppt on word association test online Ppt on chromosomes and genes video Ppt on product advertising api Ppt on pin diode attenuator Ppt on supply chain management of nokia cell