Notice: Due to an ongoing migration of our storage and publishing system, material requested since last month will not be uploaded for the time being, and new requests are paused. All existing notes remain available.
Which logic gate produces a HIGH output only when all its inputs are HIGH?
Not quite. Try another option.
Answer: AND gate
An AND gate outputs only when every input is ; otherwise the output is .
Question 2 of 60 · Logic Gates · Easy
The output of a NOT gate is:
Not quite. Try another option.
Answer: The complement of the input
A NOT gate (inverter) reverses the input, so and .
Question 3 of 60 · Logic Gates · Easy
Which gate is known as the universal gate along with NOR?
Not quite. Try another option.
Answer: NAND gate
NAND and NOR are universal gates because any Boolean function can be built using only them.
Question 4 of 60 · Logic Gates · Easy
The XOR gate produces a HIGH output when:
Not quite. Try another option.
Answer: The inputs are different
An XOR gate outputs when its two inputs differ and when they are the same.
Question 5 of 60 · Truth Table · Easy
For a logic function with input variables, how many rows does its truth table have?
Not quite. Try another option.
Answer:
A truth table has rows, so for it has rows.
Question 6 of 60 · Truth Table · Easy
A truth table is used to:
Not quite. Try another option.
Answer: List all possible input combinations and their outputs
A truth table shows the output value for every possible combination of the input variables.
Question 7 of 60 · Boolean Algebra · Easy
According to Boolean algebra, the value of is:
Not quite. Try another option.
Answer:
By the OR identity law, ORing any variable with always gives .
Question 8 of 60 · Boolean Algebra · Easy
The Boolean expression equals:
Not quite. Try another option.
Answer:
ANDing any variable with always results in (null law).
Question 9 of 60 · Boolean Algebra · Easy
Which of the following correctly states De Morgan's first theorem?
Not quite. Try another option.
Answer:
De Morgan's first theorem states the complement of a sum equals the product of the complements.
Question 10 of 60 · Boolean Algebra · Easy
The Boolean expression simplifies to:
Not quite. Try another option.
Answer:
By the idempotent law, .
Question 11 of 60 · Canonical and Standard form Representation · Easy
A minterm is a product term that includes:
Not quite. Try another option.
Answer: All variables of the function, each once
A minterm is an AND term containing every variable exactly once, either true or complemented.
Question 12 of 60 · Canonical and Standard form Representation · Easy
A canonical Sum of Products (SOP) form is a sum of:
Not quite. Try another option.
Answer: Minterms
Canonical SOP expresses a function as the OR (sum) of its minterms.
Question 13 of 60 · Canonical and Standard form Representation · Easy
A maxterm is represented as a:
Not quite. Try another option.
Answer: Sum (OR) of all variables
A maxterm is an OR term containing every variable once, true or complemented.
Question 14 of 60 · SOP and POS Simplification · Easy
SOP stands for:
Not quite. Try another option.
Answer: Sum of Products
SOP means Sum of Products, where product (AND) terms are ORed together.
Question 15 of 60 · SOP and POS Simplification · Easy
In a POS (Product of Sums) expression, the sum terms are combined using the:
Not quite. Try another option.
Answer: AND operation
In POS form, individual OR (sum) terms are multiplied together using the AND operation.
Question 16 of 60 · Implementation of Boolean Functions · Easy
A Boolean function in SOP form can be directly implemented using:
Not quite. Try another option.
Answer: AND gates followed by an OR gate
SOP uses AND gates for the product terms whose outputs feed a final OR gate.
Question 17 of 60 · Implementation of Boolean Functions · Easy
Which two-level gate structure is used to implement a POS expression?
Not quite. Try another option.
Answer: OR-AND
POS is implemented with OR gates for the sum terms followed by an AND gate.
Question 18 of 60 · K-Map · Easy
A Karnaugh map (K-Map) is mainly used to:
Not quite. Try another option.
Answer: Simplify Boolean expressions
A K-Map is a graphical tool used to minimize Boolean functions easily.
Question 19 of 60 · K-Map · Easy
How many cells does a K-Map for variables contain?
Not quite. Try another option.
Answer:
A K-Map has cells, so for variables it has cells.
Question 20 of 60 · Don't Care · Easy
A don't care condition in a K-Map is usually denoted by:
Not quite. Try another option.
Answer:
Don't care conditions are marked with and can be treated as or to aid simplification.
Question 21 of 60 · Logic Gates · Medium
Which single logic gate can be used to implement any Boolean function, and is therefore called a universal gate, when its output equals ?
Not quite. Try another option.
Answer: NAND
The expression is the NAND function. NAND (and NOR) are universal gates because any Boolean function can be realized using only NAND gates.
Question 22 of 60 · Logic Gates · Medium
The output of a 2-input XNOR gate is HIGH when:
Not quite. Try another option.
Answer: Both inputs are equal
XNOR outputs when inputs match (both or both ), i.e. .
Question 23 of 60 · Truth Table · Medium
A truth table for a Boolean function has input variables. How many rows will the complete truth table contain?
Not quite. Try another option.
Answer:
Each of the variables can be or , giving distinct input combinations, hence rows.
Question 24 of 60 · Truth Table · Medium
A function outputs only for the rows and . Which function does this truth table represent?
Not quite. Try another option.
Answer:
Output is only when the inputs differ, which is the definition of the XOR function .
Question 25 of 60 · Boolean Algebra · Medium
Simplify the Boolean expression .
Not quite. Try another option.
Answer:
Using the absorption-type identity , since .
Question 26 of 60 · Boolean Algebra · Medium
According to De Morgan's theorem, is equal to:
Not quite. Try another option.
Answer:
De Morgan's theorem converts the complement of a sum into the product of complements: .
Question 27 of 60 · Boolean Algebra · Medium
Which of the following is the correct simplification of ?
Not quite. Try another option.
Answer:
; then . So the result is .
Question 28 of 60 · Canonical and Standard form Representation · Medium
A minterm of a Boolean function is a product term in which:
Not quite. Try another option.
Answer: Every variable appears exactly once, either complemented or uncomplemented
A minterm is an AND term containing all variables, each appearing once in true or complemented form; it evaluates to for exactly one input combination.
Question 29 of 60 · Canonical and Standard form Representation · Medium
For a 3-variable function, the minterm corresponds to which product term?
Not quite. Try another option.
Answer:
in binary is , so , giving the minterm .
Question 30 of 60 · Canonical and Standard form Representation · Medium
If a function is expressed as for variables , then in maxterm form the same function is:
Not quite. Try another option.
Answer:
The maxterm indices are the input combinations not listed as minterms. Since minterms are , the maxterms are the remaining .
Question 31 of 60 · SOP and POS Simplification · Medium
The Product of Sums (POS) form of a Boolean function is a logical:
Not quite. Try another option.
Answer: AND of OR terms
In POS, sum (OR) terms are combined using the product (AND) operation, i.e. an AND of OR terms such as .
Question 32 of 60 · SOP and POS Simplification · Medium
Convert the expression into its simplified SOP form.
Not quite. Try another option.
Answer:
By the distributive law , which is the well-known distributive identity.
Question 33 of 60 · SOP and POS Simplification · Medium
Which of the following statements about SOP and POS is correct?
Not quite. Try another option.
Answer: A canonical SOP uses minterms while a canonical POS uses maxterms
Canonical SOP is a sum of minterms (where ), while canonical POS is a product of maxterms (where ). Both represent the same function.
Question 34 of 60 · Implementation of Boolean Functions · Medium
To implement the function using only NAND gates, the minimum number of 2-input NAND gates required is:
Not quite. Try another option.
Answer: 3
Two NAND gates produce and ; a third NAND combining them gives . So gates suffice.
Question 35 of 60 · Implementation of Boolean Functions · Medium
A two-level AND-OR logic circuit can be directly converted to an equivalent two-level circuit using only:
Not quite. Try another option.
Answer: NAND gates
Any two-level AND-OR (SOP) circuit maps directly to an all-NAND two-level implementation by replacing every gate with a NAND, since NAND is functionally complete.
Question 36 of 60 · Implementation of Boolean Functions · Medium
A POS (OR-AND) implementation can be replaced by a two-level circuit using only which universal gate?
Not quite. Try another option.
Answer: NOR
An OR-AND (POS) structure maps directly to an all-NOR two-level circuit, just as AND-OR maps to all-NAND.
Question 37 of 60 · K-Map · Medium
In a 4-variable Karnaugh map, a group of 8 adjacent cells (an octet) eliminates how many variables from the resulting product term?
Not quite. Try another option.
Answer: 3
Grouping cells eliminates variables. An octet contains cells, so variables are eliminated, leaving one variable.
Question 38 of 60 · K-Map · Medium
Why must adjacent cells in a Karnaugh map differ in the value of exactly one variable when moving horizontally or vertically?
Not quite. Try another option.
Answer: Because the cells are arranged in Gray code order so that only one bit changes between neighbours, allowing valid grouping
K-map rows and columns follow Gray code, so adjacent cells differ in one variable. This adjacency lets a variable be eliminated when cells are grouped.
Question 39 of 60 · K-Map · Medium
A K-map grouping of 4 cells for a 3-variable function results in a product term containing how many literals?
Not quite. Try another option.
Answer: 1
For variables, a group of cells eliminates variables, leaving literal in the term.
Question 40 of 60 · Don't Care · Medium
Don't-care conditions in a Karnaugh map are useful because they:
Not quite. Try another option.
Answer: Can be treated as either 0 or 1 to form larger groups and achieve greater simplification
Don't-care terms () may be assigned or as convenient. Including them in groups when it helps forms larger groups and yields a simpler minimized expression.
Question 41 of 60 · Boolean Algebra · Hard
Simplify the Boolean expression to its minimal form.
Not quite. Try another option.
Answer:
First . Then .
Question 42 of 60 · K-Map · Hard
For , what is the minimal SOP expression using a K-map?
Not quite. Try another option.
Answer:
Grouping the eight cells with gives . Remaining minterms 8,12,14 combine as (m0,2,8,... ) is incorrect; careful grouping yields covering all minterms.
Question 43 of 60 · Don't Care · Hard
Given with don't cares , what is the simplest SOP?
Not quite. Try another option.
Answer:
Minterms 3,7,11,15 form group . Minterm 1 with don't cares 0,2,5 groups into , giving the minimal .
Question 44 of 60 · Logic Gates · Hard
A 2-input gate outputs only when both inputs differ, and its output is then inverted. Which single gate is functionally equivalent to this description?
Not quite. Try another option.
Answer: XNOR gate
Inputs differing gives XOR ; inverting XOR yields XNOR, which outputs when inputs are equal. The inverted 'differ' condition is exactly XNOR.
Question 45 of 60 · SOP and POS Simplification · Hard
Convert into its minimal SOP form for variables .
Not quite. Try another option.
Answer:
Maxterms 0,2,4,6 correspond to rows. So when , meaning when . Thus .
Question 46 of 60 · Canonical and Standard form Representation · Hard
The function is expressed as a product of maxterms. Which is correct?
Not quite. Try another option.
Answer:
The maxterms are the indices not present in the minterm list. Since minterms are 1,4,5,6,7, the missing indices 0,2,3 form the maxterm (POS) representation.
Question 47 of 60 · Implementation of Boolean Functions · Hard
What is the minimum number of two-input NAND gates required to implement ?
Not quite. Try another option.
Answer: 3
Using NAND-NAND logic: two NANDs produce and , and a third NAND combines them: . Total three gates.
Question 48 of 60 · K-Map · Hard
For a 4-variable K-map, a prime implicant that is the only cover for some minterm is called what?
Not quite. Try another option.
Answer: Essential prime implicant
An essential prime implicant is a prime implicant that covers at least one minterm not covered by any other prime implicant, so it must be included in the minimal expression.
Question 49 of 60 · Boolean Algebra · Hard
Using the consensus theorem, simplify .
Not quite. Try another option.
Answer:
The consensus term of and is , which is redundant and can be removed. Hence .
Question 50 of 60 · Truth Table · Hard
A 3-input function outputs when an odd number of inputs are . How many rows of its truth table have output ?
Not quite. Try another option.
Answer: 4
Odd-parity for 3 inputs is true for combinations with one or three 1s: and , totaling 4 rows.
Question 51 of 60 · SOP and POS Simplification · Hard
Minimize .
Not quite. Try another option.
Answer:
Grouping minterms 0,1 gives ; minterms 1,3 give ; minterms 6,7 give . Combined minimal SOP is .
Question 52 of 60 · Don't Care · Hard
For with , which minimal expression is valid?
Not quite. Try another option.
Answer:
Minterms 2,8,10 with don't cares 0 combine into ; don't cares 1,3 help form -type groups; minterm 15 needs . This yields a valid minimal cover.
Question 53 of 60 · Logic Gates · Hard
Which statement about the universality of NOR gates is correct?
Not quite. Try another option.
Answer: A NOR gate alone can realize AND, OR, and NOT functions
NOR is a universal gate. NOT is a NOR with tied inputs, OR is a NOR followed by NOR-inverter, and AND is realized by inverting inputs then NOR. Thus all basic functions are achievable.
Question 54 of 60 · Boolean Algebra · Hard
Apply DeMorgan's theorem to simplify .
Not quite. Try another option.
Answer:
using DeMorgan twice.
Question 55 of 60 · Implementation of Boolean Functions · Hard
To implement any arbitrary 3-variable Boolean function using a single multiplexer, how many selection lines and data inputs are needed?
Not quite. Try another option.
Answer: 3 selection lines and 8 data inputs
An MUX has 3 select lines carrying the 3 variables and 8 data inputs set to each minterm's output value, directly implementing any 3-variable function.
Question 56 of 60 · Canonical and Standard form Representation · Hard
The standard SOP form differs from the canonical SOP form in that standard SOP:
Not quite. Try another option.
Answer: Allows product terms that are not full minterms
Canonical SOP requires each term to be a minterm containing all variables. Standard (minimized) SOP allows product terms with fewer literals, i.e., not necessarily full minterms.
Question 57 of 60 · K-Map · Hard
In a 5-variable K-map, two mirrored cells across the axis of symmetry that hold the same value can be combined. What does such a combination eliminate?
Not quite. Try another option.
Answer: The variable distinguishing the two map halves
The 5-variable K-map is drawn as two 4-variable maps. Mirror-image cells differ only in the fifth (most significant) variable, so combining them eliminates that distinguishing variable.
Question 58 of 60 · Truth Table · Hard
A function of 4 variables has exactly 6 minterms set to . What is the number of maxterms in its POS canonical form?
Not quite. Try another option.
Answer: 10
A 4-variable function has rows. Maxterms correspond to rows where output is : maxterms.
Question 59 of 60 · SOP and POS Simplification · Hard
Which pair of expressions represents the same function, demonstrating SOP–POS duality?
Not quite. Try another option.
Answer: and for 2 variables
For a 2-variable function ( terms), the maxterm indices are those absent from the minterm list. Minterms leave index as the only maxterm, so .
Question 60 of 60 · Implementation of Boolean Functions · Hard
A function is to be implemented. What is the minimum number of 2-input gates (any type) after full simplification?
Not quite. Try another option.
Answer: needing 3 gates
(one XOR gate). Adding requires an AND gate plus an OR gate, giving with 3 gates total.
That's unit 2
Answer a few questions and your score shows up here.
Nearly through. Did unit 2 of ECE213 save you a night before the exam?
LPU Notes is free. A student pays for the servers.
Did unit 2 of ECE213 save you a night before the exam?
Then you can help keep it free for the next batch. Ads cover part of the server bill;
the rest comes out of a student's own pocket: the domain, the storage, and keeping
the site up through the weeks everyone needs it at once.
The payment button didn't load. An ad blocker or a filtered network is the usual reason.
to try again.