wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Quiz: Boolean Algebra, Functions and Implementation

Total questions: 48

Worksheet time: 24mins

Name
Class
Date
1.

A city traffic controller uses a 3-input logic set: P (pedestrian request), V (vehicle sensor), N (night mode). The controller must give WALK signal when a pedestrian has requested and it is safe: either (a) vehicle sensor is OFF, or (b) it is night mode (which uses reduced vehicle flow). The WALK output should not activate if there is an active emergency override E (active = 1) that forces STOP regardless. Boolean expression for WALK (ignore E) that is true when P=1 and (V=0 or N=1) is:

a)

A. P(V̅ + N)

b)

B. PV' + PN'

c)

C. P(V + N)

d)

D. P(V + N)

2.

A city traffic controller uses a 3-input logic set: P (pedestrian request), V (vehicle sensor), N (night mode). The controller must give WALK signal when a pedestrian has requested and it is safe: either (a) vehicle sensor is OFF, or (b) it is night mode (which uses reduced vehicle flow). The WALK output should not activate if there is an active emergency override E (active = 1) that forces STOP regardless. If emergency override E must force WALK = 0 (i.e., inhibit walk when E=1), the combined expression is:

a)

A. P(V̅ + N) + E'

b)

B. P(V̅ + N) . E̅

c)

C. P(V̅ + N) + E

d)

D. P(V̅ + N) ⊕ E

3.

Which Boolean theorem justifies factoring P(V̅ + N) into sum-of-products for K-map minimization?

a)

A. De Morgan’s theorem

b)

B. Distributive law

c)

C. Consensus theorem

d)

D. Absorption law

4.

Convert F=PV̅+PN to a minimal SOP using algebraic simplification — what is minimal?

a)

P(V̅ + N) (already minimal)

b)

P

c)

P(V̅N)

d)

V̅ + N

5.

A city traffic controller uses a 3-input logic set: P (pedestrian request), V (vehicle sensor), N (night mode). The controller must give WALK signal when a pedestrian has requested and it is safe: either (a) vehicle sensor is OFF, or (b) it is night mode (which uses reduced vehicle flow). The WALK output should not activate if there is an active emergency override E (active = 1) that forces STOP regardless. Suppose you must implement F=PV̅+PN using only NAND gates. The minimal number of two-input NAND gates required to realize the function (without using multi-input NANDs) is:

(a)  

6.

If P=1, V=1, N=0, E=0 what is WALK?

a)

1

b)

0

c)

Undefined

d)

Oscillating

7.

An elevator has card reader (C), overload sensor (O), and floor selector valid (F). Door unlock U only when C=1 AND F=1 AND O=0.

a)

CF'O

b)

C + F + O'

c)

(C + F)O'

d)

C(F + O')

8.

An elevator has card reader (C), overload sensor (O), and floor selector valid (F). Door unlock U only when C=1 AND F=1 AND O=0. Using De Morgan, express U̅:

a)

C̅ + F̅ + O

b)

C̅ · F̅ · O

c)

C'F'O'

d)

(CF) + O̅

9.

An elevator has card reader (C), overload sensor (O), and floor selector valid (F). Door unlock U only when C=1 AND F=1 AND O=0. 9. The designer wants a fail-safe using NAND only; tying inputs appropriately, a NAND that receives C and F and O' (inverter on O) yields U directly. True or false?

a)

True — single NAND with O inverted works

b)

False — NAND produces complement, extra inversion needed

c)

True only if C and F are tied together first

d)

False unless using three-input NAND

10.

An elevator has card reader (C), overload sensor (O), and floor selector valid (F). Door unlock U only when C=1 AND F=1 AND O=0. If the minimization yields U=CF O̅, the canonical minterm form (three variables) is:

a)

Σ(7) (where minterm numbers assume order C,F,O)

b)

Σ(3, 5)

c)

Σ(4, 5, 6, 7)

d)

Σ(2, 3, 6, 7)

11.

An elevator has card reader (C), overload sensor (O), and floor selector valid (F). Door unlock U only when C=1 AND F=1 AND O=0. A K-map for CFO̅ would show how many minterms?

a)

1

b)

2

c)

4

d)

8

12.

Which Boolean identity is X+XY=XX + XY = XX+XY=X?

a)

Distributive law

b)

Absorption law

c)

Complement law

d)

Associative law

13.

The consensus theorem states: XY+X'Z+YZ=XY+X'Z. The term YZ is called:

a)

Absorbed term

b)

Consensus term

c)

Redundant term

d)

Essential prime implicant

14.

Using Boolean algebra, simplify AB'+A'B+AB to simplest form:

a)

A. A+B

b)

B. A⊕B

c)

C. A+B'

d)

D. AB'+A'B

15.

The dual of expression A+BCA + BCA+BC is:

a)

A. A · (B + C)

b)

B. A · (B · C)

c)

C. A · (B + C)'

d)

D. A(B + C)

16.

Which Boolean theorem is used to convert sum-of-products into product-of-sums?

a)

A. De Morgan’s theorem and distributive law

b)

B. Consensus theorem

c)

C. Absorption law

d)

D. Commutative law

17.

Which of the following functions is self-dual (i.e., f'=f(x̅) )?

a)

A

b)

A⊕1

c)

A⊕B (XOR)

d)

No single-variable function is self-dual

18.

(A+B)(A+B̅) simplifies to:

a)

AAA

b)

A+BB̅

c)

A+B

d)

AB̅

19.

Convert F(A,B)=A+B to canonical POS (product of maxterms) for two variables:

a)

(A+B)(A'+B')

b)

(A+B')(A'+B')

c)

(A+B)(A'+B)

d)

(A+B')(A'+B)

20.

21. F(A,B,C)=Σ(1,3,5,7) is equivalent to which simple expression?

a)

A. A⊕B⊕C

b)

B. C⊕B

c)

C. A+C

d)

D. B

21.

If a boolean function’s minterms are 2,3,6,7 (for 3 variables A,B,C with binary order 0..7), the canonical SOP includes how many product terms?

a)

2

b)

3

c)

4

d)

6

22.

Convert the function F(A,B,C)=ABC+A'BC+AB'C into canonical SOP (list minterm indices):

a)

Σ(6,7)

b)

Σ(3,6,7)

c)

Σ(4,6,7)

d)

Σ(3,5,6,7)

23.

The standard POS form is useful when:

a)

Simplifying via K-map SOP groupings

b)

You want to implement circuit with NANDs only

c)

The function has many 0 outputs and few 1s

d)

The function is monotonic

24.

Express F(A,B)=AB'+A'B in canonical POS:

a)

(A+B)(A'+B')

b)

(A+B')(A'+B)

c)

(A+B')(A'+B')

d)

(A'+B')(A+B)

25.

Which statement about prime implicants is TRUE?

a)

Prime implicants are always essential

b)

Every prime implicant must appear in minimal SOP

c)

Essential prime implicants cover minterms not covered by other implicants

d)

Prime implicants are single literals only

26.

The difference between canonical SOP and minimal SOP is:

a)

Canonical uses all variables in each term; minimal uses simplified implicants

b)

Minimal is less general; canonical is minimal

c)

There is no difference

d)

Canonical contains fewer terms

27.

A 3-variable K-map grouping can combine how many adjacent 1s at maximum for a single group?

(a)  

28.

For function F(A,B,C,D) with minterms Σ(0,1,2,3,8,9,10,11), the minimal SOP by K-map will produce which simplified structure?

a)

Two 4-term groups producing two implicants each covering half the map

b)

Four 2-term groups only

c)

Single 8-term implicant

d)

No simplification possible

29.

Using K-map, the function F(A,B,C)=Σ(1,2,5,6) simplifies to:

a)

A. A⊕B

b)

B. C⊕A

c)

C. B⊕C

d)

D. A'B'+AB'

30.

A K-map shows isolated 1s that cannot be grouped with others: those implicants are:

a)

Essential prime implicants always

b)

Don’t-care terms

c)

Single-minterm prime implicants (must be covered individually)

d)

Redundant terms

31.

Identify the correct K-map adjacency property: cell 0 is adjacent to:

a)

cell 1 only

b)

cell 8 only (for 4-variable map)

c)

cells 1,2,4,8 depending on dimension

d)

cells 1 and 8 (wraparound adjacency)

32.

If a K-map has don't-care cells at minterms 3 and 5, how can they be used?

a)

They must be assigned 0 always

b)

They can be treated as 1 or 0 to maximize grouping for simplification

c)

They are illegal minterms

d)

They replace prime implicants

33.

A 4-variable K-map grouping of 4 adjacent ones reduces the product term by how many literals?

a)

Removes 1 literal

b)

Removes 2 literals

c)

Removes 3 literals

d)

Removes 4 literals

34.

A K-map simplification yields two equal minimal solutions; which tie-breaking rule is best?

a)

Choose any — both minimal are OK

b)

Choose the one with fewer literals per implicant (overall literal count minimal)

c)

Choose the lexicographically first implicant set

d)

Choose the one with more implicants

35.

For the function F=Σ(0,2,5,7) using a 3-var K-map, the minimal SOP is:

a)

A. A'C'+AB'C

b)

B. B'C'+A'B'C'

c)

C. C'A'+BC'

d)

D. A'B'+AC

36.

In K-map, a group of 2 covering cells differing by one variable eliminates that variable. Which law explains this?

a)

De Morgan’s theorem

b)

Consensus theorem

c)

Distributive law

d)

Combining law

37.

Which gates are called universal?

a)

AND and OR

b)

NAND and NOR

c)

XOR and XNOR

d)

NOT and BUFFER

38.

Implement Y=A+B using only NAND gates (two-input NANDs). Minimal gate count is:

a)

2

b)

3

c)

4

d)

5

39.

Implement Y=A·B·C̅ using 2-input NAND gates only. The minimal number of NAND gates (counting required input fan-ins realized by cascades) is:

a)

1 (if multi-input NAND available)

b)

2

c)

3

d)

4

40.

A NOR-only implementation of F=AB+C requires how many two-input NOR gates minimally (including necessary inverters realized via NOR)?

a)

2

b)

3

c)

4

d)

5

41.

Using NAND implementations, an inverter can be made by:

a)

A NAND with tied inputs to the same signal

b)

A NAND followed by a NOT gate

c)

A NAND with an input tied to logic 1

d)

A NAND with inputs cross-connected

42.

Implement F=(A+B)·C using NAND gates. Which approach is minimal?

a)

Realize OR via NANDs, then NAND with C, then NAND invert — total 4 NAND gates

b)

Convert to (A+C)(B+C) and implement – fewer gates

c)

Use NAND to create A+B and feed directly with C into a 3-input NAND — 2 gates

d)

Impossible with only NANDs

43.

A design requires both NAND and NOR implementations side-by-side. The primary design reason to prefer NAND over NOR in CMOS is:

a)

NAND has fewer transistors than NOR for same fan-in

b)

NAND offers better pull-down network and speed balancing in CMOS (faster)

44.

Using only NOR gates, implement F=A'B'. This function is equivalent to:

a)

(A'+B')

b)

A'+B'

c)

AB

d)

A+B

45.

Given F(A,B,C,D)=Σ(0,1,2,5,6,7,8,9,14) and don't-care d(3,4,11,13), what is a minimal SOP (expressed with literals)?

a)

A. A'C'+BD'+CD'

b)

B. A'B'+C'D'+AB

c)

C. C'+BD'

d)

D. A'D'+BC'

46.

For G=AB+AB'C+A'BC, which simplification is correct?

a)

AB+BC

b)

AB+C

c)

B(A+A'C)

d)

AB+AC

47.

A boolean network has hazard risk for static-1 (output should stay 1 during single input changes but may glitch). Which practice eliminates static-1 hazard?

a)

Add consensus terms to cover adjacent minterm transitions

b)

Remove redundant terms to reduce logic levels

c)

Insert inverters at outputs

d)

Reduce fan-out

48.

Given H=(A+B)(A+C)(B+C). Which expression is equivalent after expansion and simplification?

a)

AB+AC+BC

b)

A+B+C

c)

(A+B+C)(AB+AC+BC)

d)

ABC