Professional Documents
Culture Documents
BSCPE
Questions:
1. Based on your perspective, briefly discuss the structure of the different types
of binary codes. (Essay: 10 points)
2. What are the differences between asynchronous and synchronous sequential
logic circuit? Rationalize your answer. (Essay: 10 points)
3. Design a simple logic circuit for a Set/Reset (SR) Latch, based on any actual
application of latches. Describe your design using at least three (3)
sentences. (Logic Circuit Design: 15 points, Description: 5 points)
4. Give three (3) applications of Flip-flops and describe the process of each. (5
points x 3 items)
Answers:
1. The following is a list of weighted codes and their structures. In the 8421
Code/BCD Code, each decimal digit is represented by a 4-bit code with
weights of 8,4,2, and 1. There are also 10 to 15 decimal combinations that
are not used. The 2421 code is a four-bit number with weights of 2, 4, 2, and
1 with non-standard decimal combinations ranging from 5 to 10. A 5211
code is a four-bit number with weights of 5, 2, 1, and 1. With unusable
decimal combinations of 2, 4, 6, 9, 11, and 13, The Excess-3 Code is a non-
weighted code with non-used decimal combinations ranging from 0 to 4 and
13 to 15.
this circuit design R and S are the input and Q and Q’ as an output here’s the
truth table for this circuit design.
S R Q Q’
0 0 1 0
0 1
0 1 0 1
1 0 1 0
1 1 0 0
As we can see the first output when Q and Q’ are whether 1 or 0 it is
dependent on a previous state of the circuit while the last row below is an
invalid input because it commands the latch in a nor gate to give and input
of 1 and 0 simultaneously.
4. Data storage, data transfer, and counter are three applications of flip-flops.
Data storage is a flip-flops application because a flip-flop is a device that
saves a single bit of data, which is either 1 or 0. As a result, a 4-bit register
comprises four separate flip-flops. And data transfer, When a clock pulse is
delivered to a flip-flop, the data is transferred one bit at a time. The third use
of flip-flops that I will explain is Counter. Flip-flops are used to count pulses
or events using a series of flip-flops or a connection of flip-flops without the
usage of a logic gate.