Digital Circuits - Logic Gates, Flip-Flops, and Memory Interfacing

Comprehensive test on digital circuits covering combinational and sequential logic, multiplexers, decoders, Boolean functions, K-maps, DACs, and memory interfacing for ECE students.

21 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

The number of product terms in the minimized sum-of-product expression obtained through the following K-map is (where “d” denotes don't care states)

  1. 2
  2. 3
  3. 4
  4. 5
Question 2 Multiple Choice (Single Answer)

What are the minimum number of 2 to 1 multiplexers required to generate a 2 input AND gate and a 2 input EX-OR gate?

  1. 1 and 2
  2. 1 and 3
  3. 1 and 1
  4. 2 and 2
Question 3 Multiple Choice (Single Answer)

The number of distinct Boolean expression of 4 variables is

  1. 16
  2. 256
  3. 1024
  4. 65536
Question 4 Multiple Choice (Single Answer)

The Boolean function realised by the logic circuit shown below is

  1. F =$\sum$m(0, 1, 3, 5, 9, 10, 14)
  2. F =$\sum$m(2, 3, 5, 7, 8, 12, 13)
  3. F =$\sum$m(1, 2, 4, 5, 11, 14, 15)
  4. F =$\sum$m(2, 3, 5, 7, 8, 9, 12)
Question 5 Multiple Choice (Single Answer)

For the circuit shown in the figure, D has a transition from 0 to 1 after CLK changes from 1 to 0. Assume gate delays to be negligible.
Which of the following statements is true?

  1. Q goes to 1 at the CLK transition and stays at 1.
  2. Q goes to 0 at the CLK transition and stays 0.
  3. Q goes to 1 at the CLK tradition and goes to 0 when D goes to 1.
  4. Q goes to 0 at the CLK transition and goes to 1 when D goes to 1.
Question 6 Multiple Choice (Single Answer)

What memory address range is NOT represented by chip #1 and chip #2 in figure? A0 to A15 in this figure are the address lines and CS means Chip Select.

  1. 0100 - 02FF
  2. 1500 - 16FF
  3. F900 - FAFF
  4. F800 - F9FF
Question 7 Multiple Choice (Single Answer)

For the output F to be 1 in the logic circuit shown, the input combination should be

  1. A = 1, B = 1, C = 0
  2. A = 1, B = 0, C = 0
  3. A = 0, B = 1, C = 0
  4. A = 0, B = 0, C = 1
Question 8 Multiple Choice (Single Answer)

In the digital -to- Analog converter circuit shown in the figure below, VR = 10 V and R = 10 k$\Omega$.

The Voltage V0 is

  1. - 0.781 V
  2. - 1.562 V
  3. - 3.125 V
  4. - 6.250 V
Question 9 Multiple Choice (Single Answer)

An I/O peripheral device shown in the figure below is to be interfaced to an 8085 microprocessor. To select the I/O device in the I/O address range D4 H - D7 H, its chip-select ($\overline {CS}$) should be connected to which output of the decoder?

  1. output 7
  2. output 5
  3. output 2
  4. output 0
Question 10 Multiple Choice (Single Answer)

The range of signed decimal numbers that can be represented by 6-bits 1`s complement number is

  1. - 31 to + 31
  2. - 63 to + 63
  3. - 64 to + 63
  4. - 32 to + 31
Question 11 Multiple Choice (Single Answer)

The circuit shown in figure is a 4-bit DAC The input bits 0 and 1 are represented by 0 and 5 V respectively. The OP AMP is ideal, but all the resistances and the 5V inputs have a tolerance of $\pm$10%. The specification (rounded to the nearest multiple of 5%) for the tolerance of the DAC is

  1. $\pm$35%
  2. $\pm$20%
  3. $\pm$10%
  4. $\pm$5%
Question 12 Multiple Choice (Single Answer)

In the circuit shown, the device connected to Y5 can have address in the range.

  1. 2000 - 20FF
  2. 2D00 - 2DFF
  3. 2E00 - 2EFF
  4. FD00 - FDFF
Question 13 Multiple Choice (Single Answer)

A Boolean function f of two variables x and y is defined as follows :
F(0,0) = f(0,1) = f(1,1) = 1; f(1,0)
Assuming complements of x and y are not available, a minimum cost solution for realizing f using only 2-
input NOR gates and 2- input OR gates (each having unit cost) would have a total cost of

  1. 1 unit
  2. 4 unit
  3. 3 unit
  4. 2 unit
Question 14 Multiple Choice (Single Answer)

Refer to the NAND and NOR latches shown in the figures. The inputs (P1, P2) for both latches are first made (0, 1) and then, after a few seconds, made (1, 1). The corresponding stable outputs (Q1, Q2) are

  1. NAND : first (0, 1) then (0, 1) NOR : first (1, 0) then (0, 0)
  2. NAND : first (1, 0) then (1, 0) NOR : first (1, 0) then (1, 0)
  3. NAND : first (1, 0) then (1, 0) NOR : first (0, 1) then race around
  4. NAND : first (1, 0) then (1, 1) NOR : first (0, 1) then (0, 1)
Question 15 Multiple Choice (Single Answer)

A digital system is required to amplify a binary-encoded audio signal. The user should be able to control the gain of the amplifier from minimum to a maximum in 100 increments. The minimum number of bits required to encode, in straight binary, is

  1. 8
  2. 6
  3. 5
  4. 7
Question 16 Multiple Choice (Single Answer)

Without any additional circuitry, an 8 : 1 MUX can be used to obtain

  1. some but not all Boolean functions of 3 variables
  2. all function of 3 variables but none of 4 variables
  3. all functions of 3 variables and some but not all of 4 variables
  4. all functions of 4 variables
Question 17 Multiple Choice (Single Answer)

In the circuit shown in Figure, A is a parallel in, parallel-out 4-bit register, which loads at the rising edge of the clock C. The input lines are connected to a 4-bit bus, W. Its output acts as the input to a 16$\times$4 ROM whose output is floating when the enable input E is 0. A partial table of the contents of the ROM is as follows:

$$
\begin{array}{c|c}
\ Address & 0 & 2 & 4 & 6 & 8 & 10 & 11 & 14 \\
Data & 0011 & 1111 & 0100 & 1010 & 1011 & 1000 & 0010 & 1000
\end{array}
$$

The clock to the register is shown, and the data on the W bus at time t1 is 0110.
The data on the bus at time t2 is

  1. 1111
  2. 1011
  3. 1000
  4. 0010
Question 18 Multiple Choice (Single Answer)

An 8255 chip is interfaced to an 8085 microprocessor system as an I/O mapped I/O as shown in the figure. The address lines A0 and A1 of the 8085 are used by the 8255 chip to decode internally its three ports and the Control register. The address lines A3 to A7 as well as the IO$\sqrt M$signal are used for address decoding. The range of addresses for which the 8255 chip would get selected is

  1. F8H - FBH
  2. F8H - FCH
  3. F8H - FFH
  4. F0H - F7H
Question 19 Multiple Choice (Single Answer)

For each of the positive edge-triggered J - K flip flop used in the following figure, the propagation delay is $\Delta$t.

Which of the following wave forms correctly represents the output at Q1?

Question 20 Multiple Choice (Single Answer)

The Boolean expression for the truth table shown is

A B C f
0 0 0 0
0 0 1 0
0 1 0 0
0 1 1 1
1 0 0 0
1 0 1 0
1 1 0 1
1 1 1 0
Find the value of f.
  1. $B(A + C)(\bar A + \bar C)$
  2. $B(A + \bar C)(\bar A + C)$
  3. $\bar B(A + \bar C)(\bar A + C)$
  4. $\bar B(A + \bar C)(\bar A + C)$