Docsity

Computer science -Number System assignment, Assignments of Computer science

Toggle sidebar
bg1
ASSIGNMENT 1
1. Explain BCD to Decimal Decoder. (IC7447)
• BCD to decimal decoder is a nothing but circuit of Demux.
• It has FOUR select line ABCD and 10 OUTPUTS.
Logic Diagram:
Working:
• When BCD input is ABCD = 0000 the first AND gate will be enabled and
produce Y0 = 1
• When BCD input is ABCD = 0001the second AND gate will be enabled
and produce Y1 = 1
• Same as above all outputs are selected. When BCD input is ABCD =
1001 the nineth AND gate will be enabled and produce Y9 = 1
D C B A
pf3
pf4
pf5
pf8
pf9
pfa

Partial preview of the text

Download Computer science -Number System assignment and more Assignments Computer science in PDF only on Docsity!

ASSIGNMENT 1

  1. Explain BCD to Decimal Decoder. (IC7447)
  • BCD to decimal decoder is a nothing but circuit of Demux.
  • It has FOUR select line ABCD and 10 OUTPUTS. Logic Diagram: Working:
  • When BCD input is ABCD = 0000 the first AND gate will be enabled and produce Y0 = 1
  • When BCD input is ABCD = 0001the second AND gate will be enabled and produce Y1 = 1
  • Same as above all outputs are selected. When BCD input is ABCD = 1001 the nineth AND gate will be enabled and produce Y9 = 1 D C B A

IC:7447: 0 = LOW ; 1 = HIGH

  1. Explain clock D flip flop with truth table.
  • D flip flop needs a single data input ‘D’.
  • D flip flops can be either synchronous or asynchronous.
  • The clock signal is required for the synchronous version of D flip flops
  • The D flip flop has two inputs, data and clock input which controls the flip flop
  1. Explain J-K flip flop in detail.
  2. J = 0, K = 0 (No Change): Here, the output Q(n+1) stays the same. This means the next state (Q(n+1)) is just like the current one (Qn).
  3. J = 0, K = 1 (Reset State): In this case, the next state is reset to 0 (Q(n+1) = 0), no matter what the current state is (Qn).
  4. J = 1, K = 0 (Set State): Now, the next state gets set to 1 (Q(n+1) = 1), again, no matter what’s happening in the current state (Qn).
  5. J = 1, K = 1 (Toggle State): In this state, the output Q(n+1) toggles. So if the current state is set (Qn = 1), it will change to 0 (Q(n+1) = 0). If it’s reset (Qn = 0), then it flips to 1 (Q(n+1) = 1).
  6. Explain 4-bit Binary Counter.
  • A 4-bit asynchronous counter, also called CALLED ripple counter
  • IT uses four flip-flops connected in series to count from 0 to 15 in binary, with each flip-flop toggling based on the previous flip-flop’s output.

d. None of these

  1. Which gate is known as the universal gate? a. NAND b. OR c. AND d. None
  2. Which of the following is not a logic gate? a. AND b. OR c. IF d. NOT
  3. Which of the following signifies a NOT gate? a. 1 (input)- 0 (output) b. 1,0 (input)- 1 (output) c. 0,0 (input)- 0 (output) d. None
  4. What is the Boolean operation performed by an OR gate? a. Equivalent of addition b. Equivalent of multiplication c. Equivalent of deficit d. Equivalent of subtraction
  5. If both inputs of NOR gate is high then Y= a. 0 b. 1
  6. The NOR gate is equivalent to bubbled…… gate a. Ex-OR b. OR c. AND d. None of these
  7. Which of the following are universal gate. a. NAND b. NOR c. Both a & b d. NOT
  8. Which of the following are Derived gates. a. NOR b. NAND

c. EX-OR d. ALL of these 10.Half adder adds…... bit a. 4 b. 3 c. 2 d. 1 11.If we give input 0 to EX-OR inverter with control signal 1 what is the value of output a. 0 b. 1 12.How many NAND gates are required to form AND gate a. 1 b. 2 c. 3 d. 4 13.To design 4:1 MUX how many select lines are required a. 1 b. 2 c. 3 d. 4

  1. In 4:1 MUX no of inputs are a. 1 b. 2 c. 3 d. 4 15.In D flip flop if D=0, clk=H then Q= a. Last state b. 0 c. 1 d. 2 16.In 2m=n, m stands for……... a. Input line b. Output line c. Select line d. None of these 17.In 2m=n, n stands for……...

c. 16 d. 32 25.In JK flip flop when J=1 and K=1 the output is……. a. Race b. N/C c. Toggled d. high