Mathorio
Worksheet
Logic Gates
Name:
Class:
Date:
Show your work for each problem.
- 1.Which gate gives output 1 only when both inputs are 1?
- a)OR
- b)XOR
- c)NOR
- d)AND
- 2.An OR gate has the inputs and . What is the output? (Write 1 or 0.)
- 3.A NOR gate has the inputs and . What is the output? (Write 1 or 0.)
- 4.For the inputs , , , a gate gives the outputs . Which gate is it?
- a)XOR
- b)NAND
- c)AND
- d)OR
- 5.The inputs are and . Find the output of an AND, an OR and an XOR gate.
- 6.goes through a NOT gate, and its output and go into an OR gate: . Find for , .
- 7.and go into an OR gate, and its output goes through a NOT gate. Which expression describes the circuit?
- a)
- b)
- c)
- d)
- 8.In how many of the 4 input rows does a NAND gate give the output 1?
- 9.and go into an AND gate. and go into an OR gate. Both outputs go into an XOR gate, which gives . Find for , , .
- 10.A circuit computes . Find for , , .
- 11.In gate notation ( = AND, = OR, bar = NOT), find for , , .
- 12.Which inputs make a NOR gate give the output 1?
- a)A = 1, B = 1
- b)A = 1, B = 0
- c)A = 0, B = 0
- d)A = 0, B = 1
- 13.A half adder gets and . It outputs the sum digit and the carry digit . Find , and the value of the binary number .
- 14.A circuit computes . In how many of the 8 input combinations is ?
- 15.Both inputs of a NAND gate are connected to the same signal . Find the output for and for , and decide how many NAND gates you need to build one AND gate.
- 16.Which circuit gives the same output as an XOR gate for all inputs?
- a)
- b)
- c)
- d)
- 17.Three judges press a button (1) or not (0). A light shows . Find for , , , then count the input combinations with .
- 18.A circuit computes (bar = NOT, = OR, = AND). In how many of the 4 input rows is ?