[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-655464-105":3,"detail-sidebar-cat-0-en-105":81,"doc-detail-655464-en":130,"doc-similar-655464":162},{"code":4,"msg":5,"data":6},0,"ok",{"site_id":7,"language":8,"slug":9,"title":10,"keywords":11,"description":12,"schema_data":13,"social_meta":74,"head_meta":76,"extra_data":78,"updated_unix":80},105,"en","logic-gates-and-or-not-and-additional-logic-gates","Logic Gates - AND, OR, NOT and Additional Logic Gates","","Logic gates overview covers fundamental definitions and operations for AND, OR, and the inverter (NOT), including how outputs respond to combinations of binary inputs. The material explains truth tables and corresponding Boolean expressions for each gate and extends to universal and compound behaviors using additional gates such as NAND and NOR. Timing waveform examples illustrate how output levels align with input signal relationships over intervals.",{"@graph":14,"@context":73},[15,34,56],{"@type":16,"itemListElement":17},"BreadcrumbList",[18,23,27,31],{"item":19,"name":20,"@type":21,"position":22},"https://docshare.wps.com","Home","ListItem",1,{"item":24,"name":25,"@type":21,"position":26},"https://docshare.wps.com/document/","Document",2,{"item":28,"name":29,"@type":21,"position":30},"https://docshare.wps.com/document/technology/","Technology",3,{"item":32,"name":10,"@type":21,"position":33},"https://docshare.wps.com/document/logic-gates-and-or-not-and-additional-logic-gates/655464/",4,{"url":32,"name":10,"@type":35,"image":36,"author":41,"headline":10,"publisher":44,"fileFormat":47,"inLanguage":8,"description":12,"dateModified":48,"datePublished":49,"encodingFormat":47,"isAccessibleForFree":50,"interactionStatistic":51},"DigitalDocument",{"url":37,"@type":38,"width":39,"height":40},"https://docshare.wps.com/thumbnails/logic-gates-and-or-not-and-additional-logic-gates/655464.png","ImageObject",300,407,{"name":42,"@type":43},"WPS_1786070896","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-11-25","2026-10-25",true,{"@type":52,"interactionType":53,"userInteractionCount":55},"InteractionCounter",{"@type":54},"ViewAction",10,{"@type":57,"mainEntity":58},"FAQPage",[59,65,69],{"name":60,"@type":61,"acceptedAnswer":62},"What is the output behavior of a 2-input AND gate?","Question",{"text":63,"@type":64},"For a 2-input AND gate, output Y is HIGH only when both inputs A and B are HIGH; it is LOW when either input is LOW or when both are LOW.","Answer",{"name":66,"@type":61,"acceptedAnswer":67},"How does a 2-input OR gate determine its output?",{"text":68,"@type":64},"For a 2-input OR gate, output Y is HIGH when either A or B is HIGH (or both are HIGH) and LOW only when both A and B are LOW.",{"name":70,"@type":61,"acceptedAnswer":71},"Why is the NAND gate considered universal, and what is its Boolean form?",{"text":72,"@type":64},"A NAND gate is universal because, when combined, it can implement AND, OR, and inverter functions. It has X=A*B and output Y=X’.","https://schema.org",{"og:url":32,"og:type":75,"og:title":10,"og:site_name":45,"og:description":12},"article",{"robots":77,"canonical":32},"index,follow",{"doc_id":79,"site_id":7},655464,1793051805,{"code":4,"msg":82,"data":83},"success",[84,88,92,96,101,105,110,115,120,123,126],{"id":22,"doc_module":4,"doc_module_name":25,"category_name":85,"show_sort_weight":86,"slug":87},"Story & Novel",90,"story-novel",{"id":26,"doc_module":4,"doc_module_name":25,"category_name":89,"show_sort_weight":90,"slug":91},"Literature",80,"literature",{"id":33,"doc_module":4,"doc_module_name":25,"category_name":93,"show_sort_weight":94,"slug":95},"Exam",70,"exam",{"id":97,"doc_module":4,"doc_module_name":25,"category_name":98,"show_sort_weight":99,"slug":100},5,"Comic",60,"comic",{"id":102,"doc_module":4,"doc_module_name":25,"category_name":29,"show_sort_weight":103,"slug":104},6,50,"technology",{"id":106,"doc_module":4,"doc_module_name":25,"category_name":107,"show_sort_weight":108,"slug":109},7,"Healthcare",40,"healthcare",{"id":111,"doc_module":4,"doc_module_name":25,"category_name":112,"show_sort_weight":113,"slug":114},8,"Research & Report",30,"research-report",{"id":116,"doc_module":4,"doc_module_name":25,"category_name":117,"show_sort_weight":118,"slug":119},9,"Religion & Spirituality",20,"religion-spirituality",{"id":118,"doc_module":4,"doc_module_name":25,"category_name":121,"show_sort_weight":118,"slug":122},"World Cup","world-cup",{"id":55,"doc_module":4,"doc_module_name":25,"category_name":124,"show_sort_weight":55,"slug":125},"Lifestyle","lifestyle",{"id":127,"doc_module":4,"doc_module_name":25,"category_name":128,"show_sort_weight":97,"slug":129},19,"General","general",{"code":4,"msg":82,"data":131},{"doc_id":79,"user_id":132,"nickname":42,"user_avatar":133,"doc_module":4,"category_id":102,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":55,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":116,"language":139,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":140,"faqs":141,"seo_title":142,"seo_description":12,"update_tm":143,"read_time":144,"preview_page_count":33,"preview_urls":145},549768072016,"https://ap-avatar.wpscdn.com/davatar_155a257f0dc6eb9ab79c44ca47cae57d","Logic gates  \nBasic definitions: AND, OR, NOT  \n1. AND gate: The AND gate is one of the basic gates that can be combined to form any logic function. An AND gate can have two or more inputs and performs what is known as logical multiplication.  \nOperation of an AND Gate:  \nFor a 2-input AND gate, output Y is HIGH only when inputs A and B are HIGH; Y is LOW when either A or B is LOW, or when both A and B are LOW.  \nAll possible logic levels for a 2-input AND gate  \nAND Gate Truth Table:  \nThe total number of possible combinations of binary inputs to a gate is determined by the following formula:  \nN = 2n  \nWhere N is the number of possible input combinations and n is the number of input variables. To illustrate,  \nFor two input variables: N = 22 = 4 combinations  \nFor three input variables: N = 23 = 8 combinations  \nFor four input variables: N = 24 = 16 combinations  \nAND gate Truth table: Boolean expression:  \n\n| INPUTS | OUTPUT |\n| --- | --- |\n| A B | Y |\n| 0 0 | 0 |\n| 0 1 | 0 |\n| 1 0 | 0 |\n| 1 1 | 1 |\n\nY=A*B=AB  \nY=1 when A AND B=1  \nExample:  \nAND Gate Operation with Waveform Inputs  \nEXAMPLE  \nFor the two input waveforms, A and B, figure below shows the output waveform with its proper relation to the inputs.  \nSolution  \nThe output waveform is HIGH only when both of the input waveforms are HIGH as shown in the timing diagram.  \n2. OR gate: The OR gate is another of the basic gates from which all logic functions are constructed. An OR gate can have two or more inputs and performs what is known as logical addition.  \nAn OR gate has two or more inputs and one output, as indicated by the standard logic symbols in figure below, where OR gates with two inputs are illustrated. An OR gate can have any number of inputs greater than one.  \nOperation of an OR Gate  \nFor a 2-input OR gate, output Y is HIGH when either input A or input B is HIGH, or when both A and B are HIGH; Y is LOW only when both A and B are LOW.  \nAll possible logic levels for a 2-input OR gate  \nOR Gate Truth Table:  \nThe operation of a 2-input OR gate is described in the following Table. This truth table can be expanded for any number of inputs; but regardless of the number of inputs, the output is HIGH when one or more of the inputs are HIGH.  \n1= High  \n0= Low  \nTruth table:  \n\n| INPUTS | OUTPUT |\n| --- | --- |\n| A B | Y |\n| 0 0 | 0 |\n| 0 1 | 1 |\n| 1 0 | 1 |\n| 1 1 | 1 |\n\nY=1 when A OR B=1  \nBoolean expression:  \nY=A’B+AB’+AB=A+B  \nOR Gate Operation with Waveform Inputs  \nExample of OR gate operation with a timing diagram showing input  \nand output time relationships.  \n3. The Inverter (NOT): The inverter (NOT circuit) performs the operation called inversion. The inverter changes one logic level to the opposite level. In terms of bits, it changes a 1 to a 0 and a 0 to a 1Standard logic symbols for the inverter are shown below.  \nInverter Truth Table:  \nWhen a HIGH level is applied to an inverter input, a LOW level will appear on its output. When a LOW level is applied to its input, a HIGH will appear on its output. This operation is summarized in Table 1, which shows the output for each possible input in terms of levels and corresponding bits. A table such as this is called a truth table.  \n\n| INPUTS | OUTPUT |\n| --- | --- |\n| A | Y |\n| 0 | 1 |\n| 1 | 0 |\n\nY is NOT equal to A  \nBoolean expression: Y=A’  \nAdditional gates:  \n4. NAND gate: The NAND gate is a popular logic element because it can be used as a universal gate; that is, NAND gates can be used in combination to perform the AND, OR, and inverter operations.  \nThe term NAND is a contraction of NOT-AND and implies an AND function with a complemented (inverted) output. The standard logic symbol fora 2-input NAND gate and its equivalency to an AND gate followed by an inverter are shown below.  \nTruth table:  \n\n| INPUTS | OUTPUTS |  |\n| --- | --- | --- |\n| A B | X | Y |\n| 0 0 | 0 | 1 |\n| 0 1 | 0 | 1 |\n| 1 0 | 0 | 1 |\n| 1 1 | 1 | 0 |\n\n\n| INPUTS | OUTPUTS |\n| --- | --- |\n| A B | Y |\n| 0 0 | 1 |\n| 0 1 | 1 |\n| 1 0","cbCaineHGn46zJF8","https://ap.wps.com/l/cbCaineHGn46zJF8","pdf",503419,"English","# Basic Logic Gates\n## AND Gate\n## OR Gate\n## Inverter (NOT)\n# Additional Gates\n## NAND Gate\n## NOR Gate\n## NOT NOT Circuit","[{\"question\":\"What is the output behavior of a 2-input AND gate?\",\"answer\":\"For a 2-input AND gate, output Y is HIGH only when both inputs A and B are HIGH; it is LOW when either input is LOW or when both are LOW.\"},{\"question\":\"How does a 2-input OR gate determine its output?\",\"answer\":\"For a 2-input OR gate, output Y is HIGH when either A or B is HIGH (or both are HIGH) and LOW only when both A and B are LOW.\"},{\"question\":\"Why is the NAND gate considered universal, and what is its Boolean form?\",\"answer\":\"A NAND gate is universal because, when combined, it can implement AND, OR, and inverter functions. It has X=A*B and output Y=X’.\"}]","Logic Gates - AND, OR, NOT and Additional Logic Gates | PDF",1792961910,23,[146,150,154,158],{"page_no":22,"url":147,"width":148,"height":149},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/835295a3e304199d4aac9a7917dffa07.webp",983,1272,{"page_no":26,"url":151,"width":152,"height":153},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/7711c2c97e13fb9a05a74f951610a71b.webp",982,1270,{"page_no":30,"url":155,"width":156,"height":157},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/3e4358c5c37c1790a38516859b6c6131.webp",981,1269,{"page_no":33,"url":159,"width":160,"height":161},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/101e0de3088dd2649d8b566c1521ed8b.webp",980,1268,{"list":163,"token":11},[164,170,177,183,189,195,202,208,213,219],{"doc_id":165,"doc_title":166,"file_type":137,"home_preview_img_url":167,"slug":168,"view_count":111,"category_name":29,"create_tm":169},657684,"Basic Logic Gates","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975660853/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796141699&Signature=uJ5d3d%2FOU%2FHgWw1mxaz%2BEw%2FqzRw%3D","basic-logic-gates",1792986269,{"doc_id":171,"doc_title":172,"file_type":137,"home_preview_img_url":173,"slug":174,"view_count":175,"category_name":29,"create_tm":176},655474,"Lecture Two - Logic gates - AND gate - OR gate - NOT gate - Universal Logic Gates","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975082901/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796141699&Signature=Hrob55Qb80rgsBIcRAu6pICB2EI%3D","lecture-two-logic-gates-and-gate-or-gate-not-gate-universal-logic-gates",13,1792961945,{"doc_id":178,"doc_title":179,"file_type":137,"home_preview_img_url":180,"slug":181,"view_count":111,"category_name":29,"create_tm":182},655478,"Basic Logic Gates in Digital Electronics - What are Basic Logic Gates, Basic and Derived Logic Gates, Derived Logic Gates, and Differences","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975082926/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796141699&Signature=A5tDVTx%2BZUdJbz6xI6TSO9QEnsk%3D","basic-logic-gates-in-digital-electronics-what-are-basic-logic-gates-basic-and-derived-logic-gates-derived-logic-gates-and-differences",1792961954,{"doc_id":184,"doc_title":185,"file_type":137,"home_preview_img_url":186,"slug":187,"view_count":106,"category_name":29,"create_tm":188},682430,"Basics of Digital Systems - Boolean Algebra & Logic Gates","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229998912456/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796141699&Signature=Lfi7QSfGl3u0WdO4IjbNg6BsZqM%3D","basics-of-digital-systems-boolean-algebra-logic-gates",1793970602,{"doc_id":190,"doc_title":191,"file_type":137,"home_preview_img_url":192,"slug":193,"view_count":111,"category_name":29,"create_tm":194},655465,"Digital Logic Gates 1.0 - Features and Component Parameters - Functional Descriptions","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229974773809/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796141699&Signature=3lrwOX8rNsIIzRg32TchChOWYTU%3D","digital-logic-gates-10-features-and-component-parameters-functional-descriptions",1792961912,{"doc_id":196,"doc_title":197,"file_type":137,"home_preview_img_url":198,"slug":199,"view_count":200,"category_name":29,"create_tm":201},655471,"Logic Gates and Typical Functional Blocks - Lectures Notes","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229974773833/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796141699&Signature=%2Bi720Gp3mhBJtHFmgn8Sgfqk9uA%3D","logic-gates-and-typical-functional-blocks-lecture-notes",15,1792961922,{"doc_id":203,"doc_title":204,"file_type":137,"home_preview_img_url":205,"slug":206,"view_count":116,"category_name":29,"create_tm":207},655473,"Gates and Logic - From Transistors to Logic Gates and Logic Circuits","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975082828/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796141699&Signature=RFSpyXPlf5U%2FV7yAVXIYY4oowQg%3D","gates-and-logic-from-transistors-to-logic-gates-and-logic-circuits",1792961927,{"doc_id":209,"doc_title":210,"file_type":137,"home_preview_img_url":211,"slug":212,"view_count":55,"category_name":29,"create_tm":176},655475,"Introduction to Logic Gates - Basic Gates - Negative Gates - Exclusive Gates","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975082902/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796141699&Signature=cJ5A2oeIunu7hm3O9Gvte7uvzT8%3D","introduction-to-logic-gates-basic-gates-negative-gates-exclusive-gates",{"doc_id":214,"doc_title":215,"file_type":137,"home_preview_img_url":216,"slug":217,"view_count":175,"category_name":29,"create_tm":218},655545,"Chapter 9 - Discrete Control Using Programmable Logic Controllers","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975284838/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796141699&Signature=dYZanLknjFwXXZna0hX4T20TNOQ%3D","chapter-9-discrete-control-using-programmable-logic-controllers",1792962539,{"doc_id":220,"doc_title":221,"file_type":137,"home_preview_img_url":222,"slug":223,"view_count":224,"category_name":29,"create_tm":225},657681,"Lecture 3 - Logic Gates (II)","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975144440/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796141699&Signature=armCf4CkX%2F2IqP3ommPIYhUiETQ%3D","lecture-3-logic-gates-ii",12,1792986267]