UMLCS L1 AND
0 Stars     3 Views    

Author: osman umut kapar

Forked from: Peter/UMLCS L1 AND

Project access type: Public

Description:

L1 AND Gate

Logic Gates

We can represent this process in diagrammatic form by using logic gates to represent the flow of electricity through a transistor. A logic gate is an electric circuit, usually with two inputs and an output. It receives two incoming electric currents, determines whether they are True or False (on or off), and sends on a new, outgoing electric current depending on what it finds. The process of determining the output based on the inputs like this is known as Boolean logic.

The AND gate

This is an AND logic gate, which represents a small circuit configured in a particular way to give a particular result. You can see the inputs on the left represented by lines going into the AND logic gate symbol. What do you think this means?

Image of an AND logic gate (which resembles a D) with both inputs (two lines coming into its flat edge) set to 1 and its output (a horizontal line outwards from the curved edge of the D) is 1.

The AND gate has two inputs and one output. Both have to be True (or on) to produce an output of True. In the example above both inputs are set to True, which results in a True output.

What if only one was True? Like this:

Image of an AND logic gate (which resembles a D) with two inputs(two lines coming into its flat edge). One input is set to 1 and the other to 0. Its output (a horizontal line outwards from the curved edge of the D) is labelled as X.

What do you think the output (denoted by X here) would be this time?

In the case of an AND gate, if only one of the inputs was switched on then the output is 0. And if neither input is switched on, you would be right in assuming that there is again an output of 0. Both the first input and the second input have to be 1 to achieve a True (or 1, or on) output.

Created: May 27, 2022

Updated: Aug 27, 2023


Comments

You must login before you can post a comment.