
<p> Introduction to Logic Gates</p><p>How are computers able to transmit information between components? Some of the earliest computers used switches that could be programmed to be “on” or “off” to control the flow of information. While switches are easy to understand, they are no longer used in computers because they are too slow. There have been many technologies used in computers to replace switches, including vacuum tubes, transistors, and different generations of microchips. Even though switches are no longer used, computers still use the functions represented by the switches to transmit information. These functions are represented by a set of names and symbols, and are called logic gates. The logic part of the name comes from the fact that logic gates represent classical logical relationships. The gates part of the name indicates that logic gates can steer signals to different parts of a large circuit, similar to a stoplight directing traffic. Here are some examples of logical relationships:</p><p>1. "If you wash the dishes and clean your room, you can go to the party." You have washed the dishes but have not cleaned your room. Do you get to go to the party under this rule? (AND) 2. "I will let you go to the party if you wash the dishes or clean your room." You have cleaned your room but the dishes are still dirty. Do you get to go to the party under this rule? (OR) 3. "I either aced that test (90 % or above) or I bombed it (less than 70 %)." What are the chances of getting a grade on a test that is 90 % or above and below 70 % at the same time? (Exclusive or, XOR, excludes case where both conditions are true)</p><p>Logic Gates are drawings that represent these logical relationships (AND, OR, XOR, and a few others) with shapes. Logic gates are drawn with </p><p> a shape representing the function of the gate (AND, OR, XOR) input lines on the left-hand side and letters to identify the inputs one output line on the right-hand side, and a letter to identify the output</p><p>The logical function is made explicit with a truth table. In the truth table, 0 represents false and 1 represents true.</p><p>Always start at the left with the inputs, and end at the right with the outputs.</p><p>Page 1 of 2 Logic Gates Worksheet</p><p>1. AND gate. So named because the output is true if Input A is true and Input B is true. </p><p>A B C</p><p>0 0 </p><p>0 1 </p><p>1 0 </p><p>1 1 </p><p>2. OR gate. This is the normal inclusive or; the output is true if A is true, or if B is true, or if both are true. Inclusive means that the case where both inputs are true is included in making the output true.</p><p>A B C</p><p>0 0 </p><p>0 1 </p><p>1 0 </p><p>1 1 </p><p>3. Exclusive or, or XOR (pronounced "zor"); the output is true if A is true, or if B is true, but not if both are true.</p><p>A B C</p><p>0 0 </p><p>0 1 </p><p>1 0 </p><p>1 1 </p><p>Page 2 of 2</p>
Details
-
File Typepdf
-
Upload Time-
-
Content LanguagesEnglish
-
Upload UserAnonymous/Not logged-in
-
File Pages2 Page
-
File Size-