Self Studies
Selfstudy
Selfstudy

Digital Logic Test 2

Result Self Studies

Digital Logic Test 2
  • 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
    Consider a quadratic equation x2 – 13x + 36 = 0 with coefficients in a base b. The solutions of this equation in the same base b are x = 5 and x = 6. Then b = _______.
    Solution

    Formula:

    In quadratic equation, ax+ bx + c = 0

    Sum of root = \(- \frac{b}{a}\)

    Product of roots = \(\frac{c}{a}\)

    Calculation:

    Quadratic equation:  x2 – 13x + 36 = 0

    Given base is b.

    Roots of the equation with base b is 5 and 6

    \({5_{b\;}} + \;{6_b} = \;{\left( {13} \right)_b}\)

    \(11 = b + 3\)

    b = 8

    Also, by considering the product of roots,

    \({5_{b\;}} \times {6_b} = {\left( {36} \right)_b}\)

    30 = 3b + 6,

    24 = 3b, b = 8

    In both cases, base b = 8 

  • Question 2
    2 / -0.33

    A function (A, B, C) defined by three boolean variables A, B, and C when expressed as the sum of products is given by:

    F = A̅.B̅.C̅ + A̅.B.C̅ + A.B̅.C̅

    where, A̅, B̅, and C̅ are the complements of the respective variables. The product of sums (POS) form of the function F is

    Solution

    F = A̅.B̅.C̅ + A̅.B.C̅ + A.B̅.C̅

    In terms of minterms, this can be represented as:

    F = ∑m (0, 2, 4)

    The equivalent maxterm will contain the terms not present in the minterm representation, i.e.

    F = ∑m (0, 2, 4) = π(1, 3, 5, 6, 7) = M1. M3. M5. M6. M7

    ⇒ (A + B + C̅) (A + B̅ + C̅) (A̅ + B + C̅) (A̅ + B̅ + C) (A̅ + B̅ + C̅)
  • Question 3
    2 / -0.33

    What are the first eight bits of mantissa part and the decimal value stored in exponent if  (-28.375)10 is represented in single-precision IEEE 754 format?

    Solution

    Single precision IEEE 754 format

    Signed (S)

    Mantissa (M)

    Exponent (E)

    1 bit

    23 bits

    8 bits

    1 (negative)

    11000110

    131 (decimal)

    Since (-28.375)10 is negative therefore S = 1.

    (28.375)10 = (11100.0110)2

    (11101.011)2 = 1.11000110 × 24

    Mantissa = 11000110

    Since it is excess 127

    Exponent = 4 + 127 + 131

  • Question 4
    2 / -0.33

    In the following truth table, V = 1 if and only if the input is valid.

    Inputs

    Outputs

    D0

    D1

    D2

    D3

    X0

    X1

    V

    0

    0

    0

    0

    x

    x

    0

    1

    0

    0

    0

    0

    0

    1

    x

    1

    0

    0

    0

    1

    1

    x

    x

    1

    0

    1

    0

    1

    x

    x

    x

    1

    1

    1

    1

     

    What function does the truth table represent?

    Solution

    Concept:

    A multiplexer or MUX is a combination circuit that contains more than one input line, one output line and more than one selection line.

    Simple encoder takes 2n input bits and produces n output bits.

    Explanation:

    V = 1

    When input D3 = 1, then it does not care about the input D0, D1, and D2

    Output put will be 1, 1

    When input D3 = 0 and D2 = 1, then it does not care about the input D0, and D1

    Output put will be 1, 0

    When input D3 = 0, D2 = 0 and D1 = 1, then it does not care about the input D0,

    Output put will be 0, 1

    When input D3 = 0, D2 = 0, D1 = 0 and D0 = 1,

    Output put will be 0, 0

    Here priority has been assigned to input and hence it is a Priority encoder.

  • Question 5
    2 / -0.33

    The clock frequency of 12 MHz is applied to a cascaded counter of modulus-4 counter, modulus-5 counter and modulus-6 counter.

    Solution

    The overall modulus of the cascaded counter is the multiplication of the modulus of the individual counters.

    Overall modulus (N) = 4 × 5 × 6 = 120

    The clock frequency (fclk) = 12 MHz

    The lowest output frequency \(= \frac{{{f_{clk}}}}{N}\) 

    \(= \frac{{12 \times {{10}^6}}}{{120}} = 100\;kHz\)

  • Question 6
    2 / -0.33

    The simplified Sum of Product form of the following Boolean expression:

    \((P + \bar Q + \bar R )(P + Q+R)(P+Q+\bar R )\) is

    Solution

    \((P+\bar Q+ \bar R).(P+Q+R).(P+Q+\bar R)\)

    \((P+\bar Q+\bar R).(P+(Q+R)(Q+\bar R))\)

    \((P+\bar Q+\bar R).(P+Q)\)

    \((P+(\bar Q+\bar R)Q)\)

    \(P+Q\bar R\)

  • Question 7
    2 / -0.33

    Consider the unsigned 8-bit point binary number representation below:

    X7X6X5X4 .X3X2X1X0

    where the position of the binary point is between X4 and X3. X7 is the MSB. Which of the decimal numbers cannot be represented exactly in the above representation:

    (a) 14.1875

    (b) 16.125

    (c)  3.03125

    (d) 1.6875

    Solution

    (a) 14.1875 = 1110. 0011

    Therefore, it can be represented

    (b) 16.125 = 10000.0010

    Since 5 bits is consumed by 16 ∴ it cannot be executed

    (c) 3.03125 = 0011.00001

    Since 5 bits is consumed by 0.3125 ∴ it cannot be executed

    (d) 1.6875 = 0001.1011

    Therefore, it can be represented

    Hence (b) and (c) cannot be represented

  • Question 8
    2 / -0.33

    Consider the function F = A + B̅C, where F is a three-variable Boolean function in which A is MSB and C is LSB. Which of the following is/are false among the given options?

    Solution

    Concept:

    Sum of product (SOP) – The concept of sum of products mainly includes min-term. Min-term is a Boolean expression resulting in 1 for the output of a single cell and 0’s for all other cells in K-Map. Min-term is all the 1’s in the truth table.

    Product of sum (POS) – Product of sum mainly includes max term. Max term is a Boolean expression resulting in 0 for the output of a single cell and 1 for all other cells in K-Map. Maxterm is all the 0’s in the truth table.

    Explanation:

    Function: X = A + B̅C

    Construct the truth table for this function:

    A

    B

    C

    A + B̅C

    0

    0

    0

    0

    0

    0

    1

    1

    0

    1

    0

    0

    0

    1

    1

    0

    1

    0

    0

    1

    1

    0

    1

    1

    1

    1

    0

    1

    1

    1

    1

    1


    Here F = ∑ (1, 4, 5, 6, 7) means sum of product which is all the 1’s in output of truth table.

    F = ∏ (0, 2, 3) means product of sum which is all the 0’s in the output of truth table.

    Option 2 and 3 are false.

     

  • Question 9
    2 / -0.33

    Consider the 64-bit register which stops floating point number in IEEE Double precision format

    What is the value of the number if 64 bits are given below?

    1

    10000000111

    010111000…

    Solution

    In IEEE 64-bit format,

    signed(s)

    Exponent(E)

    Mantissa(M)

    1 bit

    11 bits

    52 bits

     

    (-1)s × 1.M × 2E – 1023

    (-1)1 × 1.010111 × 21031 – 1023

    (-1)1 × 1.010111 × 28

    -1×(1 + 2-2 + 2-4 + 2-5 + 2-6)×28

    -1(256 + 64 + 16 + 8 + 4) = -348

  • Question 10
    2 / -0.33
    P, Q, and R are the decimal integers corresponding to the 4-bit binary number 1100 considered in signed magnitude, 1’s complement, and 2’s complement representations, respectively. The 6-bit 2’s complement representation of (P + Q + R) is
    Solution

    Concept:

    1. Signed magnitude representation uses the most significant bit (MSB) a sign bit.

    • If the sign bit is ‘0’ then the number is positive.
    • If the sign bit is ‘1’ then the number is negative.

    The remaining bits represent the magnitude of the binary number.

    2. 1’s complement representation:

    It is a representation of a binary number obtained by toggling all bits in it i.e. transforming the 0 bit to 1 and the 1 bit to 0.

    3. 2’s complement representation:

    It is obtained by simply adding 1 to the 1’s complement of that binary number.

    Calculation:

    Given: 4-bit binary number = 1100

    Signed magnitude representation (P): - 4

    1’s complement representation (Q): - 3

    2’s complement representation (R): - 4

    So,

    P + Q + R = (-4) + (-3) + (-4) = -11

    (-11)10 is represented in 2’s complement as:

    -(11)10 = 10101

    Since the Options are in 6 bits so, we copy sign bit once towards left.

    So 6-bit representation of (-11)10 is 110101
  • Question 11
    2 / -0.33

    How many functions does f1.f2 and f1 + f2 represents respectively if the given function is

    \({\rm{f}}1{\left( {{\rm{a}},{\rm{b}},{\rm{c}}} \right)_{}} = \mathop \sum \nolimits_M \;\left( {0,{\rm{\;}}1,{\rm{\;}}4} \right) + {\rm{\;}}\mathop \sum \limits_\emptyset \left( {3,{\rm{\;}}5,{\rm{\;}}7} \right)\)

    \({\rm{f}}2\left( {{\rm{a}},{\rm{b}},{\rm{c}}} \right) = \mathop \sum \nolimits_M \;\left( {2,3} \right) + {\rm{\;}}\mathop \sum \limits_\emptyset \left( {1,{\rm{\;}}6,{\rm{\;}}7} \right)\)

    where ∑m represents sum of min-terms and ∑ϕ represents and don’t care
    Solution

    Given:

    \(f1.f2\left( {a,b,c} \right) = \mathop \sum \limits_\emptyset \left( {1,3,7} \right)\)

    \(f1 + f2\left( {a,b,c} \right) = \sum \left( {0,1,2,3,4} \right) + \mathop \sum \limits_\emptyset \left( {5,6,7} \right)\)

    It is given in min-term form with the don’t care.

    In table form it is represented as :

    a

    b

    c

    f1

    f2

    f1.f2

    f1+f2

    0

    0

    0

    1

    0

    0

    1

    0

    0

    1

    1

    Ø

    Ø

    1

    0

    1

    0

    0

    1

    0

    1

    0

    1

    1

    Ø

    1

    Ø

    1

    1

    0

    0

    1

    0

    0

    1

    1

    0

    1

    Ø

    0

    0

    Ø

    1

    1

    0

    0

    Ø

    0

    Ø

    1

    1

    1

    Ø

    Ø

    Ø

    Ø

     

    Now,

    \(f1\left( {a,b,c} \right) = \sum \left( {0,\;1,\;4} \right) + \;\mathop \sum \limits_\emptyset \left( {3,\;5,\;7} \right)\)

    \(f2\left( {a,b,c} \right) = \sum \left( {2,3} \right) + \;\mathop \sum \limits_\emptyset \left( {1,\;6,7} \right)\)

    As, in f1.f2(a ,b ,c), there are 3 don’t cares .So, number of functions possible in this are : 23 = 8

    Similarly, in f1 + f2(a, b, c), there are 3 don’t cares. So, number of functions possible are : 2= 8

  • Question 12
    2 / -0.33
    D input of a clocked D-flip-flop receives and input A ⊕ Qn where A is an external logic input and Qn is the output of the nth D-FF before the clock appears. The circuit works as
    Solution

    Characteristic equation of a D flip flop is, Q (n + 1) = D

    Characteristic equation of a T flip flop is, Q (n + 1) = T ⊕ Qn

    The input of the D flip flop = A ⊕ Qn

    The output of the D flip flop will be, Q (n + 1) = A ⊕ Qn

    It represents, the characteristic equation of T flip flop.

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