Self Studies

Digital Electronics Test 1

Result Self Studies

Digital Electronics Test 1
  • Score

    -

    out of -
  • Rank

    -

    out of -
TIME Taken - -
Self Studies

SHARING IS CARING

If our Website helped you a little, then kindly spread our voice using Social Networks. Spread our word to your readers, friends, teachers, students & all those close ones who deserve to know what you know now.

Self Studies Self Studies
Weekly Quiz Competition
  • Question 1
    2 / -0.33
    If the solutions to the quadratic equation x2 – 11x + 22 are x = 3 and x = 6, than the base of numbers is
    Solution

    Concept:

    A quadratic equation with factor α and β can be written as:

    x2 – (α + β) x + (αβ) = 0

    Application:

    Given the quadratic equation:

    x2 – 11x + 22 = 0         ---(1)

    Also, the solutions to the given quadratic equation are 3 and 6.

    ∴ We can write the quadratic equation as:

    x2 – (6 + 3) x + (6 × 3) = 0       ---(2)

    Comparing the two-equations, we can write:

    (6)b + (3)b = (11)b i.e. for some base ‘b’, this equation must hold true.

    Converting both the RHS and LHS to their respective decimal equivalent, we can write:

    (6 × b0) + (3 × b0) = (1 × b1 + 1 × b0)

    6 + 3 = b + 1

    b = 8

    ∴ The base of the number is 8 that satisfies the above quadratic equation.

  • Question 2
    2 / -0.33

    The minimum number of NAND gate required to implement the logic function given by  is

    Solution

  • Question 3
    2 / -0.33

    A delay line circuit is to be generated to create a delay of 0.32 ms between input and output. The number of flip-flops required in SISO register to produce the required delay?

    Given that clock frequency, fc = 1.25 MHz
    Solution

    Concept:

    Δt = NTc

    Where,

    Δt is the total delay required

    N is number of flip flops

    Tc is the clock time cycle

    Calculation:

    Given that,

    Δt = 0.32 ms

    Clock frequency, fc = 1.25 MHz

    \({T_c} = \frac{1}{{{f_c}}} = \frac{1}{{1.25\; \times \;{{10}^6}}} = 0.8\;\mu sec\) 

    \(N = \frac{{{\rm{\Delta }}t}}{{{T_c}}} = \frac{{0.32\; \times \;{{10}^{ - 3}}}}{{0.8\; \times\; {{10}^{ - 6}}}} = 400\)
  • Question 4
    2 / -0.33

    Consider the following logic circuit: What is the required input condition (A, B, C) to make the output X = 1, for the above logic circuit

    Solution

    Here, (0, 1, 1) gives the output X = 1

  • Question 5
    2 / -0.33

    The code where all successive numbers differ from their preceding number by single bit is __________

    Solution

    The numbers that differ by only a single bit from their preceding number are represented using the Gray code. Here is why Gray code is used:

    • Gray code ensures that only one bit changes at a time, reducing the chance of errors during transitions.
    • This property is important in systems where changes from one state to another should be smooth and error-free.
    • Commonly used in rotary encoders and digital communication to ensure data integrity.
  • Question 6
    2 / -0.33

    Which of the following logic gate follow both commutative and associate law?

    Solution

    The AND gate follows both the commutative and associative laws. Here's why:

    • The commutative law means that the order of inputs does not change the output. For an AND gate: A & B = B & A.
    • The associative law allows grouping of inputs without affecting the result. For an AND gate: (A & B) & C = A & (B & C).

    Therefore, the AND gate is the correct option as it satisfies both laws.

  • Question 7
    2 / -0.33
    What is a Latch?
    Solution

    latch is a type of digital storage device used to store one bit of data. It is a fundamental building block in digital electronics.

    • Latches are commonly used in circuits to maintain a state until changed by an input signal.
    • They differ from flip-flops, which are more complex and triggered by clock signals.
    • A D-type latch holds a value with a single data input and a control signal.

    Latches play a crucial role in memory devices and data storage operations in computing systems.

  • Question 8
    2 / -0.33
    In a dual slope ADC, the reference voltage is 100 mV and the first integration period is set as 50 msec. The input resistor of the integrator is 1 kΩ and the integrating capacitor 0.047 μF. For an input voltage of 120 mV, the second integration (de-integration) period will be
    Solution

    We know that,

    Vin T1 = Vref T2

    ⇒ 120 × 10-3 × 50 × 10-3 = 100 × 10-3 × T2

    ⇒ T2 = 60 ms
  • Question 9
    2 / -0.33
    The number of 1’s in the 8-bit representation of -127 in 2’s complement form is m and that in 1’s complement form is n. What is the value of m : n?
    Solution

    Concept:

    1’s complement representation of a binary number is obtained by toggling all the bits, i.e. replacing 1 with 0, and 0 with 1.

    2’s complement representation of a binary number is obtained by adding 1 to the 1’s complement representation.

    Application:

    (127)10 = (01111111)2

    1’s complement representation will be:

    1’s complement = 10000000

    Number of 1’s is the 1’s complement is, n = 1

    Now, the two (2’s) complement representation will be:

    2’s complement = 10000000 + 1

    = 10000001

    Number of 1’s in 2’s complement is, m = 2

    ∴ The required ratio is m : n = 2 : 1

  • Question 10
    2 / -0.33

    Consider the following Boolean expression:

    \(\left( {\bar A + \bar B} \right)\left[ {\overline {A\left( {B + C} \right)} } \right] + A\left( {\bar B + \bar C} \right)\)

    It can be represented by a single three-input logic gate. Identify the gate.
    Solution

    \(\begin{array}{l}\left( {\bar A + \bar B} \right)\left[ {\overline {A\left( {B + C} \right)} } \right] + A\left( {\bar B + \bar C} \right)\\= \left( {\bar A + \bar B} \right)\left[ {\bar A + \left( {\overline {B + C} } \right)} \right] + A\left( {\bar B + \bar C} \right)\end{array}\)

    \(\begin{array}{l}= \left( {\bar A + \bar B} \right)\left[ {\bar A + \bar B\bar C} \right] + A\bar B + A\bar C\\= \bar A + \bar A\bar B\bar C + \bar A\bar B + \bar B\bar C + A\bar B + A\bar C\end{array}\)

    \(\begin{array}{l}= \bar A\left( {1 + \bar B\bar C + \bar A\bar B} \right) + \bar B\bar C + A\bar B + A\bar C\\= \bar A + \bar B\bar C + A\bar B + A\bar C\end{array}\)

    \(\begin{array}{l}= \bar A + A\bar B + A\bar C\\= \bar A + A\left( {\bar B + \bar C} \right)\end{array}\)

    \(\begin{array}{l}= \bar A + \bar B + \bar C\\= \overline {ABC} \end{array}\)

    The given Boolean expression represents NAND gate.
  • Question 11
    2 / -0.33
    In an 8085 microprocessor, the accumulator contents are AA H. After executing the instruction “CPI99” in the microprocessor
    Solution

    Given, contents A = AA H

    CPI 99 H:

    Compares the data 99 H with contents of A, the compression is made by subtracting 99 H from contents of A (i.e. AA H). the contents of A remains unaffected but status of result is reflected by Flags.

    \(\begin{array}{*{20}{c}}{A;}&{10101010}\\{99\;H;}&{\begin{array}{*{20}{c}}{\underline {10011001} }\\{000010001}\end{array}}\end{array}\) 

    After comparison both zero flag and carry flag are reset.
  • Question 12
    2 / -0.33

    Consider the following program for 8085

    XRA A

    LXI B, 0007H

    \(\begin{array}{*{20}{c}} {{\rm{Loop}}:}&{{\rm{DCX\;B}}}\\ \;&{{\rm{JNZ\;Loop}}} \end{array}\)

    The loop will be executed
    Solution

    XRA A:

    The instruction XRA A performs ExOR operation on contents of A with contents of A only and stores the result in A. The instruction clears the contents of A. So, the zero flag is set by the instruction.

    LXI B, 0007H:

    Loads BC pair with 16-bit data 0007 H. So, contents of BC pair become 0007 H.

    LOOP: DCX B:

    Decrements the contents of BC pair by one.

    JNZ LOOP:

    Jumps the execution of a program to LOOP if zero flag is not set.

    In the above program zero flag is set when XRA A is executed and the status of zero flag remains unaffected by DCX B instruction as it does not affect the flags. So, the execution comes out of LOOP during first instance itself as Z flag is already set. So, the loop runs only once.
  • Question 13
    2 / -0.33

    Consider numbers represented in 4-bit gray code. Let h3h2h1h0 be the gray code representation of a number n and let g3g2g1g0 be the gray code of ((n + 1) modulo 16) value of the number.

    Which one of the following functions is correct?

    Solution

    The truth table is shown for the given information.

  • Question 14
    2 / -0.33

    For the logic diagram shown below, the output f is

    Solution

  • Question 15
    2 / -0.33

    The number of two input NAND gate required to implement an OR gate and an EX-NOR gate are respectively

    Solution

    Thus, we require 3 NAND gates for an OR gate while 5 NAND gates for an EX-NOR gate.

  • Question 16
    2 / -0.33

    Three set of simultaneous equations are given by

    The solution of the above three set of simultaneous equations will be

    Solution

  • Question 17
    2 / -0.33

    If one of the input to an EX-NOR gate is fixed to logic ‘1’, then output of this gate will be

    Solution

  • Question 18
    2 / -0.33

    An AND gate

    Solution

    Hence, the output y is equivalent to output of an AND gate having two inputs A and 6. Thus, an AND gate is equivalent to a series switching circuit.

  • Question 19
    2 / -0.33
    A certain 8-bit DAC has a full scale output of 2mA and full scale error of ± 0.5 % full scale reading. The maximum possible output current for an input of 10000000 is__________ μA.
    Solution

    Step size \(= \frac{{2mA}}{{{2^8} - 1}} = \frac{{2mA}}{{255}}\)

    = 7.84 μA.

    10000000 = 12810

    Ideal output = 128 × 7.84 μA

    = 1004 μA

    Error = ± 0.5% × 2mA

    = ± 10 μA

    Range of output = 1004μA ± 10 μA

    Maximum possible output : 1014 μA
  • Question 20
    2 / -0.33

    An XOR gate produces output 1 only when two inputs are

    Solution

  • Question 21
    2 / -0.33

    Consider the truth table shown below:

    The logic gate represented by the above truth table is

    Solution

    Observations:

    • The output is 1 when either A is 1 and B is 0 or when A is 0 and B is 1.
    • The output is 0 when both A and B are 1.

    This truth table corresponds to the XOR (Exclusive OR) gate.

    XOR Gate:

    • The XOR gate outputs 1 when the inputs are different, and 0 when the inputs are the same.

    Given the truth table:

    • When A=1 and B=0, output f=1
    • When A=0 and B=1, output f=1
    • When A=1 and B=1, output f=0

    Conclusion:

    The logic gate represented by the above truth table is the XOR gate.

  • Question 22
    2 / -0.33

    The output of a logic gate is ‘0’ when both its inputs are different. The gate is

    Solution

    Thus, the gate can be either an EX-NOR or a NOR gate.

  • Question 23
    2 / -0.33

    A circuit has three inputs and one output. The output is 1 if at least two of the three input variables are 1, otherwise it is zero. The minimum number of basic gates required to implement the output (Y) are

    Solution

    The truth table for the given condition is shown below:

    Thus, Y = AB + BC + CA which can be implemented using 3 AND gates and 1 OR gate (total 4 basic gates).

  • Question 24
    2 / -0.33

    A ROM is interfaced to an 8085 CPU as indicated in figure. The address range occupied by the ROM is

    Solution

    A13, A14, A15 are chip select lines. To select chip, the output of OR gate should be zero

    ⇒ A13 = A14 = A15 = 0

    A0 to A12 can be anything.

    Chip select lines

    Register select lines

    Range

    A15

    A14

    A13

    A12

    A11

    A10

    A9

    A8

    A7

    A6

    A5

    A4

    A3

    A2

    A1

    A0

    Address

    0

    0

    0

    0

    0

    0

    0

    0

    0

    1

    0

    1

    0

    1

    0

    1

    0

    1

    0

    1

    0

    1

    0

    1

    0

    1

    0

    1

    0

    1

    0

    1

    0000 H

    1FFF H

  • Question 25
    2 / -0.33

    The boolean expression for the output f of the digital circuit shown below is

    Solution

Self Studies
User
Question Analysis
  • Correct -

  • Wrong -

  • Skipped -

My Perfomance
  • Score

    -

    out of -
  • Rank

    -

    out of -
Re-Attempt Weekly Quiz Competition
Self Studies Get latest Exam Updates
& Study Material Alerts!
No, Thanks
Self Studies
Click on Allow to receive notifications
Allow Notification
Self Studies
Self Studies Self Studies
To enable notifications follow this 2 steps:
  • First Click on Secure Icon Self Studies
  • Second click on the toggle icon
Allow Notification
Get latest Exam Updates & FREE Study Material Alerts!
Self Studies ×
Open Now