Notice: Due to an ongoing migration of our storage and publishing system, material requested since last month will not be uploaded for the time being, and new requests are paused. All existing notes remain available.

Unit 3 MCQs Logic Gates and Recurrence Relations

MTH136 — Discrete Structures 60 questions. Pick an option to check it.

Read the notes Subjective questions

0 of 60 answered 0 right 0 wrong , 60 left

  1. Question 1 of 60 introduction to logic gates Easy

    Which logic gate produces an output of only when all of its inputs are ?

  2. Question 2 of 60 introduction to logic gates Easy

    The output of an OR gate is only when:

  3. Question 3 of 60 introduction to logic gates Easy

    A NOT gate is also commonly known as a(n):

  4. Question 4 of 60 introduction to logic gates Easy

    The Boolean expression for a two-input AND gate with inputs and is:

  5. Question 5 of 60 introduction to logic gates Easy

    Which gate outputs when its two inputs are different?

  6. Question 6 of 60 combination of gates Easy

    A NAND gate is equivalent to which combination of gates?

  7. Question 7 of 60 combination of gates Easy

    A NOR gate is formed by combining which gates?

  8. Question 8 of 60 combination of gates Easy

    Which gate is called a universal gate because any circuit can be built using only it?

  9. Question 9 of 60 combination of gates Easy

    The Boolean expression for a NOR gate with inputs and is:

  10. Question 10 of 60 combination of gates Easy

    The output of a two-input XNOR gate is when:

  11. Question 11 of 60 implementation of logic gates to the switching circuits Easy

    In a switching circuit, two switches connected in series represent which logic operation?

  12. Question 12 of 60 implementation of logic gates to the switching circuits Easy

    In a switching circuit, two switches connected in parallel represent which logic operation?

  13. Question 13 of 60 implementation of logic gates to the switching circuits Easy

    In switching circuit notation, a closed switch (current flows) is usually represented by the value:

  14. Question 14 of 60 implementation of logic gates to the switching circuits Easy

    A switching circuit with a single switch whose state is the opposite of the input represents which gate?

  15. Question 15 of 60 introduction to recursion Easy

    A function that is defined in terms of itself is called a:

  16. Question 16 of 60 introduction to recursion Easy

    Every valid recursive definition must contain a:

  17. Question 17 of 60 recurrence relation Easy

    A recurrence relation defines each term of a sequence using:

  18. Question 18 of 60 recurrence relation Easy

    The Fibonacci sequence is defined by the recurrence:

  19. Question 19 of 60 solving recurrence relation Easy

    A closed-form solution of a recurrence relation gives the -th term:

  20. Question 20 of 60 linear homogenous recurrence relation with constant coefficient and their solution Easy

    For the linear homogeneous recurrence , the associated equation used to find the solution is called the:

  21. Question 21 of 60 introduction to logic gates Medium

    For inputs and , what is the output of a NAND gate?

  22. Question 22 of 60 introduction to logic gates Medium

    Which gate produces an output of only when its two inputs are different?

  23. Question 23 of 60 introduction to logic gates Medium

    A NOR gate output is HIGH () under which condition for inputs and ?

  24. Question 24 of 60 combination of gates Medium

    The Boolean expression is equivalent to which single gate?

  25. Question 25 of 60 combination of gates Medium

    Which combination of gates behaves as a universal gate, capable of implementing any Boolean function on its own?

  26. Question 26 of 60 combination of gates Medium

    How is a NOT gate constructed using only a single NOR gate?

  27. Question 27 of 60 combination of gates Medium

    The expression simplifies to which operation?

  28. Question 28 of 60 implementation of logic gates to the switching circuits Medium

    In a switching circuit, two switches connected in series represent which Boolean operation?

  29. Question 29 of 60 implementation of logic gates to the switching circuits Medium

    Two switches connected in parallel correspond to which logic gate?

  30. Question 30 of 60 implementation of logic gates to the switching circuits Medium

    A switching circuit has switch in series with a parallel combination of and . Which Boolean expression represents the circuit?

  31. Question 31 of 60 implementation of logic gates to the switching circuits Medium

    For the circuit expression , what is the minimal equivalent switching function?

  32. Question 32 of 60 introduction to recursion Medium

    For the recursive definition with , what is ?

  33. Question 33 of 60 introduction to recursion Medium

    Which component is essential in every recursive definition to prevent infinite recursion?

  34. Question 34 of 60 introduction to recursion Medium

    The factorial function is defined as with . What is the value of ?

  35. Question 35 of 60 recurrence relation Medium

    Which of the following is a recurrence relation of order ?

  36. Question 36 of 60 recurrence relation Medium

    Which recurrence relation is linear, homogeneous, and has constant coefficients?

  37. Question 37 of 60 solving recurrence relation Medium

    For the recurrence with , what is the closed-form solution?

  38. Question 38 of 60 solving recurrence relation Medium

    Using iteration, the solution to with is:

  39. Question 39 of 60 linear homogenous recurrence relation with constant coefficient and their solution Medium

    What is the characteristic equation of the recurrence ?

  40. Question 40 of 60 linear homogenous recurrence relation with constant coefficient and their solution Medium

    The characteristic roots of a recurrence are and . What is the general solution form?

  41. Question 41 of 60 introduction to logic gates Hard

    A logic gate produces output only when its two inputs are different. If this gate is fed with inputs and (the complement of ), what is the output for all values of ?

  42. Question 42 of 60 combination of gates Hard

    The Boolean expression is functionally equivalent to which single gate output?

  43. Question 43 of 60 combination of gates Hard

    How many 2-input NAND gates are minimally required to implement a 2-input XOR gate?

  44. Question 44 of 60 introduction to logic gates Hard

    Which of the following gates is a universal gate, meaning any Boolean function can be built using only copies of it?

  45. Question 45 of 60 implementation of logic gates to the switching circuits Hard

    In switching-circuit algebra, two switches connected in series correspond to which Boolean operation, and two in parallel to which?

  46. Question 46 of 60 implementation of logic gates to the switching circuits Hard

    A switching circuit realizes the function . Using Boolean simplification, the minimized form of is:

  47. Question 47 of 60 introduction to recursion Hard

    Consider the recursive function with and (the Lucas sequence). What is ?

  48. Question 48 of 60 introduction to recursion Hard

    A recursive procedure makes two recursive calls each of size plus work per call. Which closed-form time complexity does this recurrence yield?

  49. Question 49 of 60 recurrence relation Hard

    The number of moves required to solve the Tower of Hanoi with disks satisfies with . What is the closed form of ?

  50. Question 50 of 60 recurrence relation Hard

    Which of the following is a first-order linear non-homogeneous recurrence relation with constant coefficients?

  51. Question 51 of 60 solving recurrence relation Hard

    Solve the recurrence with . The general solution has characteristic roots:

  52. Question 52 of 60 solving recurrence relation Hard

    For the recurrence in the previous style, with , the explicit closed form is:

  53. Question 53 of 60 linear homogenous recurrence relation with constant coefficient and their solution Hard

    A linear homogeneous recurrence has characteristic equation . What is the correct general form of the solution?

  54. Question 54 of 60 linear homogenous recurrence relation with constant coefficient and their solution Hard

    The recurrence has characteristic equation with complex roots . The real general solution is:

  55. Question 55 of 60 linear homogenous recurrence relation with constant coefficient and their solution Hard

    A degree-3 homogeneous recurrence has characteristic roots . Which is the correct general solution?

  56. Question 56 of 60 solving recurrence relation Hard

    Solve with . The closed form is:

  57. Question 57 of 60 combination of gates Hard

    A circuit outputs . For how many of the four input combinations does ?

  58. Question 58 of 60 implementation of logic gates to the switching circuits Hard

    A lamp is controlled so that flipping either of two switches toggles the lamp state (a staircase switch). Which Boolean function of the two switch positions and describes the lamp?

  59. Question 59 of 60 recurrence relation Hard

    The recurrence is being solved. What is the correct form of the particular solution to try?

  60. Question 60 of 60 introduction to recursion Hard

    A recursive definition sets and for . What is the closed-form expression for ?

That's unit 3

Answer a few questions and your score shows up here.