Unit 3: Logic Gates and Recurrence Relations - Subjective Questions

MTH136 — Discrete Structures • Practice Questions with Detailed Answers

20 questions

1

Define a logic gate. Explain the three basic logic gates (AND, OR, NOT) along with their symbols, Boolean expressions, and truth tables.

2

Explain the universal gates (NAND and NOR). Why are they called universal gates? Show how a NOT gate can be implemented using a NAND gate.

3

Describe the XOR and XNOR gates. Provide their Boolean expressions, truth tables, and a real-world application of each.

4

What is meant by a combination of logic gates? Draw and explain the logic circuit for the Boolean expression and construct its truth table.

5

Explain how logic gates are implemented using switching circuits. Illustrate the switching circuit representation of AND and OR operations.

6

Design a switching circuit for the Boolean expression and simplify it if possible.

7

Verify De Morgan's theorems using truth tables and explain their significance in the implementation of logic gates.

8

Define recursion. Explain the essential components of a recursive definition with the example of the factorial function.

9

What is a recurrence relation? Explain its order and degree with suitable examples. Distinguish between linear and non-linear recurrence relations.

10

Distinguish between homogeneous and non-homogeneous recurrence relations. Give two examples of each.

11

Explain the general method to solve a linear homogeneous recurrence relation with constant coefficients using the characteristic equation. List all cases of roots.

12

Solve the recurrence relation with initial conditions and .

13

Solve the recurrence relation with and (repeated roots case).

14

Derive the closed-form solution of the Fibonacci sequence defined by with , (Binet's Formula).

15

Solve the recurrence relation with , (complex roots case).

16

Explain the iteration (substitution) method for solving recurrence relations. Use it to solve with .

17

Formulate and solve the recurrence relation for the Tower of Hanoi problem with disks. Find the closed-form expression for the minimum number of moves.

18

Solve the non-homogeneous recurrence relation with using the method of homogeneous and particular solutions.

19

Compare recursion and iteration as problem-solving techniques. Discuss their advantages and disadvantages.

20

Solve the recurrence relation with initial conditions and .