Page 37 - Touhpad Ai
P. 37

The following figure shows the circuit symbol and truth table of the XNOR gate:
                                                                         Truth Table of XNOR Gate

                                                                     Input 1    Input 2     Output
                                                                       0          0            1
                                                                       0           1           0
                                                                       1          0            0
                                                                       1           1           1

                 Let us understand through an example. Consider a smart lock that unlocks only when both face and fingerprint match
                 the saved records.
                                        Face Matches      Fingerprint Matches      Unlock (Output)
                                           0 (No)                0 (No)                 1 (Yes)
                                           1 (Yes)               1 (Yes)                1 (Yes)
                                           0 (No)                1 (Yes)                0 (No)

                                           1 (Yes)               0 (No)                 0 (No)
                 So, the lock opens only when both inputs are the same—either both match or both don’t—just like how an XNOR gate works.

                                                                                                  21 st
                        VIDEO SESSION                                                           Century   #Digital Literacy
                                                                                                 Skills
                      Scan the QR code or visit the following link to watch the video:
                      What are Logic Gates?
                      https://www.youtube.com/watch?v=WII9HWnf3V4&t=36s
                      After watching the video, answer the following questions:

                      1.  Why do devices like smartphones and tablets rely on logic gates?

                      2.  Can you identify a real-life situation at home or school that would work like a logic gate?



                 By connecting logic gates in different ways, we can build more advanced circuits and chips. In theory, we can keep adding
                 more gates, but in real life, there’s only so much space inside a device. However, with new technology, engineers are now
                 able to fit more gates into smaller spaces, making electronic devices more powerful and compact.


                    AI              02
                                                                CIRCUITGATES


                  Play the CircuitGates game! A simple puzzle game where players must set switches to turn lights on
                  correctly using logic gate rules. Scan the QR code or visit the link: https://plays.org/circuitgates/
















                  Which level could you reach?


                                                                                 Basic Concepts of Artificial Intelligence  35
   32   33   34   35   36   37   38   39   40   41   42