[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-655468-105":59,"doc-detail-655468-en":130,"doc-similar-655468":163},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":123,"head_meta":125,"extra_data":127,"updated_unix":129},105,"en","basic-logic-gates-truth-tables-and-assignments","Basic Logic Gates - Truth Tables and Assignments","","Basic logic gates covers the seven standard gates (NOT, AND, OR, NAND, NOR, XOR, XNOR) and explains how logic symbols are used to draw circuits. It introduces truth tables as the primary method to represent all input-state combinations and how HIGH and LOW signals map to logic 1 and logic 0. The material includes circuit-simulation guidance using Yenka and multiple assignments that require completing truth tables, interpreting gate outputs, and selecting gates for practical control scenarios like paper feed, motor control, warnings, and alarms.",{"@graph":69,"@context":122},[70,84,105],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":20,"@type":76,"position":81},"https://docshare.wps.com/document/exam/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/basic-logic-gates-truth-tables-and-assignments/655468/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/basic-logic-gates-truth-tables-and-assignments/655468.png","ImageObject",300,407,{"name":92,"@type":93},"วิน","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-27","2026-10-25",true,{"@type":102,"interactionType":103,"userInteractionCount":29},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"How is a truth table used to represent a logic gate’s behavior?","Question",{"text":112,"@type":113},"A truth table lists all possible input combinations and the resulting output for each combination. It makes the gate’s behavior explicit for every input-state pair (or larger set).","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"What do logic levels 0 and 1 correspond to in digital circuits?",{"text":117,"@type":113},"A LOW signal is described as logic '0', and a HIGH signal is described as logic '1'. These levels are used when filling truth tables and interpreting outputs.",{"name":119,"@type":110,"acceptedAnswer":120},"What is the purpose of using Yenka in this document?",{"text":121,"@type":113},"Yenka is used to investigate electric and electronic circuits and to determine truth tables for gates and NAND-gate networks. Assignments instruct learners to check results in Yenka.","https://schema.org",{"og:url":83,"og:type":124,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":126,"canonical":83},"index,follow",{"doc_id":128,"site_id":62},655468,1793096589,{"code":4,"msg":5,"data":131},{"doc_id":128,"user_id":132,"nickname":92,"user_avatar":133,"doc_module":4,"category_id":19,"category_name":20,"doc_title":65,"doc_description":67,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":29,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":139,"language":140,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":67,"update_tm":144,"read_time":145,"preview_page_count":19,"preview_urls":146},2336475104736,"https://ap-avatar.wpscdn.com/avatar/22000c4c5e0e5b17e70?x-image-process=image/resize,m_fixed,w_180,h_180&k=1786591360781797222","BASIC LOGIC GATES  \nThere are seven different logic gates; these are the NOT, AND, OR, NAND, NOR, XOR and the XNOR.  \nWhen drawing circuits containing logic gates it is common to use logic symbols.  \nNOT  \nAND  \nOR  \nNOR  \nXOR  \nXNOR  \n(‘X’ stands for exclusive)  \nTRUTH TABLES  \nThe easiest way to represent how each gate behaves is to make use of Truth Tables.  \nA Truth Table shows all possible combinations of inputs and outputs to a logic gate.  \nElectronics is concerned with the processing of electrical signals.  \n\n| INPUT |  | PROCESS |  | OUTPUT |\n| --- | --- | --- | --- | --- |\n|  |  |  |  |  |\n\nInput signals come from a variety of sources-a switch from a keyboard; a bar code reader; a temperature sensor; another part of a computer.  \nOutput signals can have a variety of destinations-a monitor; a modem; an alarm; another part of a computer.  \nDigital signals can be at a HIGH voltage level or a LOW voltage level.  \nIn logic circuits a LOW signal is said to be at logic '0' a HIGH signal at logic ' 1' .  \nThe results can be recorded and used in a number of formats, the most common being shown below.  \nINPUTS PROCESS OUTPUTS  \n| INPUTS | OUTPUTS |\n| --- | --- |\n| A B |  |\n| 0 0 | 0 |\n| 0 1 | 1 |\n| 1 0 | 1 |\n| 1 1 | 0 |\n\nResults displayed in this way are known as TRUTH TABLES.  \nSTRUCTURE AND LAYOUT OF TRUTH TABLES  \nConsider the inputs to a logic gate as two switches.  \nOUTPUT  \nIt is possible for each switch to be in one of two positions, either, on (1) or off (0) . These positions are known as INPUT STATES.  \nFor two inputs, there are only 4 possible combinations of input states:  \nA-off & B-off; A-off & B-on; A-on & B-off; A-on & B-on.  \n\n| Input A | Input B |\n| --- | --- |\n| 0 | 0 |\n| 0 | 1 |\n| 1 | 0 |\n| 1 | 1 |\n\nFor three inputs, there are 8 possible combinations.  \nIn general, for n inputs there are 2n possible combinations of input states.  \nASSIGNMENT 1  \n1. How many combinations of input states would there be for a 6 input system?  \n2. Write down the 8 possible combinations of input states for a 3 input system.  \nTRUTH TABLES FOR INDIVIDUAL LOGIC GATES  \nCIRCUIT SIMULATION SOFTWARE  \nIt is possible to use circuit simulation software such as ‘Yenka’ to investigate electric and electronic circuits.  \nUse ‘Yenka’ to determine the truth table for each of the following gates Use latching logic inputs and a logic indicator at the output.  \n1. NOT gate  \n2. AND gate  \n3. OR gate  \n4. NAND gate  \n5. NOR gate  \n6. XOR gate  \n7. XNOR gate  \nASSIGNMENT 2  \n1. When is the output of an OR gate high?  \n2. When is the output of an AND gate high?  \n3. When is the output from an XOR gate high?  \n4. Why is the NOT gate sometimes called an ‘INVERTER’?  \n5. The truth table below shows the output conditions for the various combinations of input conditions for AND, NAND, OR and NOR gates.  \n\n| Inputs | AND | NAND | OR | NOR |\n| --- | --- | --- | --- | --- |\n| 0 0 | 0 | 1 | 0 | 1 |\n| 0 1 | 0 | 1 | 1 | 0 |\n| 1 0 | 0 | 1 | 1 | 0 |\n| 1 1 | 1 | 0 | 1 | 0 |\n\nHow does the output of the NAND gate compare with the output of the AND (and the output of the NOR compare with the OR)  \n6. The paper can be fed through a computer printer either by pressing the button on the printer (line feed) or by sending a signal from the computer.  \nPAPER FEED  \nWhich logic gate should be used for this operation?  \n7. The motor in a washing machine should not operate until a high signal is sent from the control program and the water level in the drum is high enough.  \nMOTOR  \nWhich logic gate should be used for this operation?  \n8. To avoid accidents at times of poor visibility, a warning indicator in a car operates if the light level is too low (logic level 0) and the headlamps are switched off.  \nWARNING INDICATOR  \nWhich logic gate should be used for this operation?  \n9. In the maternity unit of a hospital, the temperature and pulse rate of premature babies has to be continually monitored. A warning alarm should sound if either the temperature or the pulse rate of","cbCaicUTDYkQwEGP","https://ap.wps.com/l/cbCaicUTDYkQwEGP","pdf",1175556,32,"English","# Basic Logic Gates\n## NOT, AND, OR, NAND, NOR, XOR, XNOR\n## Truth Tables\n## Structure and Layout of Truth Tables\n## Assignments 1-3\n## Circuit Simulation Software (Yenka)\n## Truth Tables for Individual Logic Gates\n## Methods of Making Specific Gates from NANDs","[{\"question\":\"How is a truth table used to represent a logic gate’s behavior?\",\"answer\":\"A truth table lists all possible input combinations and the resulting output for each combination. It makes the gate’s behavior explicit for every input-state pair (or larger set).\"},{\"question\":\"What do logic levels 0 and 1 correspond to in digital circuits?\",\"answer\":\"A LOW signal is described as logic '0', and a HIGH signal is described as logic '1'. These levels are used when filling truth tables and interpreting outputs.\"},{\"question\":\"What is the purpose of using Yenka in this document?\",\"answer\":\"Yenka is used to investigate electric and electronic circuits and to determine truth tables for gates and NAND-gate networks. Assignments instruct learners to check results in Yenka.\"}]","Basic Logic Gates - Truth Tables and Assignments | PDF",1792961917,81,[147,151,155,159],{"page_no":8,"url":148,"width":149,"height":150},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/b36632e09239bf6128838bf11454d778.webp",983,1390,{"page_no":14,"url":152,"width":153,"height":154},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/bf654fea07dd12fb8a3c2ac06ecb48e3.webp",982,1388,{"page_no":81,"url":156,"width":157,"height":158},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/87e83564e5071bc27fcddce3b134876c.webp",981,1387,{"page_no":19,"url":160,"width":161,"height":162},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/92b9b1d2efd0d790158800985a126657.webp",980,1385,{"list":164,"token":66},[165,171,177,184,190,196,202,208,214,220],{"doc_id":166,"doc_title":167,"file_type":137,"home_preview_img_url":168,"slug":169,"view_count":24,"category_name":20,"create_tm":170},682431,"Universal Gates - Lesson 2.6 - NAND and NOR","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229999564389/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796175899&Signature=O15f8ZPkllUoRLBK%2F9MYZsTHGHQ%3D","universal-gates-lesson-26-nand-and-nor",1793970604,{"doc_id":172,"doc_title":173,"file_type":137,"home_preview_img_url":174,"slug":175,"view_count":39,"category_name":20,"create_tm":176},665564,"Assignment 1 - Solution 1 - CMOS NOR Gate Logic","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229983497316/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796175899&Signature=zJTRNMk%2FwjVqmHA1FtgETbDkPYc%3D","assignment-1-solution-1-cmos-nor-gate-logic",1793304980,{"doc_id":178,"doc_title":179,"file_type":137,"home_preview_img_url":180,"slug":181,"view_count":182,"category_name":20,"create_tm":183},690218,"Lab #1: Digital Logic Module","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230001992434/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796175899&Signature=dfB4Oy3%2FWL24pRCOPmcYRu%2F1P1Y%3D","lab-1-digital-logic-module",11,1794157222,{"doc_id":185,"doc_title":186,"file_type":137,"home_preview_img_url":187,"slug":188,"view_count":182,"category_name":20,"create_tm":189},655481,"LOGIC CIRCUITS I - Definition and Types of Logic Gates","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975082951/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796175899&Signature=AMQdri85Jeti2J%2FI2cYVRo5YssA%3D","logic-circuits-i-definition-and-types-of-logic-gates",1792961960,{"doc_id":191,"doc_title":192,"file_type":137,"home_preview_img_url":193,"slug":194,"view_count":44,"category_name":20,"create_tm":195},489179,"Practical Electronics - Part 1 - Attempt ALL questions","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229926977933/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796175899&Signature=jLgp5AEPFoTVsLx9qRL7X3OzgJA%3D","practical-electronics-part-1-attempt-all-questions",1790821051,{"doc_id":197,"doc_title":198,"file_type":137,"home_preview_img_url":199,"slug":200,"view_count":39,"category_name":20,"create_tm":201},489181,"N5 Practical Electronics - National Quali􀃛cations 2025","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229926977948/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796175899&Signature=lVEyrvo6JR2V5H2FywKsu8woVHM%3D","n5-practical-electronics-national-qualifications-2025",1790821054,{"doc_id":203,"doc_title":204,"file_type":137,"home_preview_img_url":205,"slug":206,"view_count":44,"category_name":20,"create_tm":207},411901,"Digital Design with CPLD Applications and VHDL - Instructor's Guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229921902997/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796175899&Signature=Nv90hf6Y8xj9F1k0Ttb%2BYD%2BWC8E%3D","digital-design-with-cpld-applications-and-vhdl-instructors-guide",1790589976,{"doc_id":209,"doc_title":210,"file_type":137,"home_preview_img_url":211,"slug":212,"view_count":81,"category_name":20,"create_tm":213},682428,"Logic Gate Worksheet - Logic Circuits Truth Table Practice","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229999564253/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796175899&Signature=4SSaJrdaA3e0Xgtj2c45XW7hyiA%3D","logic-gate-worksheet-logic-circuits-truth-table-practice",1793970597,{"doc_id":215,"doc_title":216,"file_type":137,"home_preview_img_url":217,"slug":218,"view_count":24,"category_name":20,"create_tm":219},689808,"E85: Digital Design and Computer Engineering - Problem Set 2","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230001403043/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796175899&Signature=b1lsn8kziRCblyReuTyZGHLTchc%3D","e85-digital-design-and-computer-engineering-problem-set-2",1794126938,{"doc_id":221,"doc_title":222,"file_type":137,"home_preview_img_url":223,"slug":224,"view_count":182,"category_name":20,"create_tm":225},497969,"AM Syllabus (2011) - Computing AM 07 - Syllabus Paper 1, Paper II, Paper III","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229930682701/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796175899&Signature=VSyDTho2DN%2BwsBs%2FOrKr8LAhPds%3D","am-syllabus-2011-computing-am-07-syllabus-paper-1-paper-ii-paper-iii",1790972584]