Section A of the given exam paper:
Q1. NAND gate is known as a universal gate. Realize the basic gates from this universal gate.
Explanation:
- A NAND gate can perform all the basic logic gate operations: AND, OR, and NOT, making it a universal gate.
- Realization of Basic Gates:
-
NOT Gate using NAND:
- Connect both inputs of the NAND gate together. This configuration negates the input.
- Truth Table:
Input (A) Output (Y = NOT A) 0 1 1 0
-
AND Gate using NAND:
- First, use a NAND gate with inputs A and B to get .
- Then, connect the output to another NAND gate configured as a NOT gate.
- Output: .
-
OR Gate using NAND:
- Use NOT gates (via NAND) to negate the inputs and , then pass them through a NAND gate.
- Output: .
-
Q2. Differentiate between synchronous and asynchronous counters.
Explanation:
-
Synchronous Counters:
- All flip-flops are triggered by the same clock pulse.
- No propagation delay as all bits are updated simultaneously.
- More complex design but faster.
-
Asynchronous Counters:
- Flip-flops are triggered by different clock pulses (output of one acts as the clock for the next).
- Slower due to propagation delay between flip-flops.
- Simpler design but less efficient for high-speed operations.
Q3. Describe SR Latch. Draw its logic circuit and its truth table.
Explanation:
- The SR Latch is a basic flip-flop made of two cross-coupled NOR or NAND gates.
- It has two inputs: Set (S) and Reset (R), and two outputs: Q and .
Logic Circuit:
- Using NOR gates:
- Connect the output of one NOR gate to the input of the other.
- Inputs and control the latch.
Truth Table:
| S | R | Q | |
|---|---|---|---|
| 0 | 0 | No Change | No Change |
| 0 | 1 | 0 | 1 |
| 1 | 0 | 1 | 0 |
| 1 | 1 | Invalid | Invalid |
Q4. Differentiate between static memory, dynamic memory, and auxiliary memory.
Explanation:
-
Static Memory (SRAM):
- Uses flip-flops to store data.
- Retains data as long as power is supplied.
- Faster but expensive and requires more space.
-
Dynamic Memory (DRAM):
- Uses capacitors to store data.
- Needs periodic refreshing to retain data.
- Slower but cheaper and more compact than SRAM.
-
Auxiliary Memory:
- Non-volatile storage used for long-term data storage (e.g., hard disks, SSDs).
- High capacity but slower than main memory.
Q5. In computer memory, write down the different units for memory. A memory can store 1024 words, each having 8 bits. Represent this memory in K (Kilo).
Explanation:
-
Memory Calculation:
- 1 word = 8 bits → .
- Convert bits to bytes: .
- Convert bytes to kilobytes: .
-
Different Units of Memory:
- Bit (b)
- Byte (B) = 8 bits
- Kilobyte (KB) =
- Megabyte (MB) =
- Gigabyte (GB) =
Thus, the given memory is 1 KB.
Section B of the exam paper:
Q6. Minimize the following Boolean function using K-map:
F(A, B, C, D) = Σ(0, 3, 6, 7, 9, 13, 14, 15)
Explanation:
-
Steps to Minimize Using K-map:
- A 4-variable K-map is used as the function has variables .
- The minterms (Σ) are placed in the corresponding cells of the K-map.
-
K-map Setup:
AB \ CD 00 01 11 10 00 0 3 7 6 01 9 13 15 14 11 10 - Place 1s in cells corresponding to the minterms .
-
Grouping of 1s:
- Identify and group 1s into pairs, quads, or octets based on adjacency.
- Derive simplified expressions for each group.
-
Final Simplified Expression:
- The minimized Boolean expression for is derived.
(I can create a detailed K-map layout for this if needed.)
Q7. An AND gate has four inputs A, B, C, D and an output Y.
(i) Write the Boolean expression and sequential diagram.
Boolean Expression:
Sequential Diagram:
- Connect four inputs to an AND gate.
- The output is high () only if all inputs are high.
(ii) When does the above gate give high output? Draw the truth table.
Explanation:
- An AND gate gives a high output only when all inputs are 1.
Truth Table:
| A | B | C | D | Y = |
|---|---|---|---|---|
| 0 | 0 | 0 | 0 | 0 |
| 0 | 0 | 0 | 1 | 0 |
| 0 | 0 | 1 | 0 | 0 |
| 0 | 0 | 1 | 1 | 0 |
| ... | ... | ... | ... | ... |
| 1 | 1 | 1 | 1 | 1 |
(iii) For , write the Boolean expression and sequential diagram.
This is already answered in part (i).
Q8. Describe Demultiplexer and design a 1:4 Demultiplexer using gates.
Explanation:
- A Demultiplexer takes one input and routes it to one of multiple outputs based on select lines.
- A 1:4 Demultiplexer has:
- 1 data input (D).
- 2 select lines (S1, S0).
- 4 outputs (Y0, Y1, Y2, Y3).
Truth Table:
| S1 | S0 | Output Y0 | Output Y1 | Output Y2 | Output Y3 |
|---|---|---|---|---|---|
| 0 | 0 | 1 | 0 | 0 | 0 |
| 0 | 1 | 0 | 1 | 0 | 0 |
| 1 | 0 | 0 | 0 | 1 | 0 |
| 1 | 1 | 0 | 0 | 0 | 1 |
Circuit Design:
- Use 4 AND gates and 2 NOT gates:
- The NOT gates invert select lines and as needed.
- Each AND gate is connected to and a unique combination of and .
Section C of the exam paper:
Q9 (a). Draw the logic circuit for the Boolean equation .
Step-by-Step Simplification:
-
Given Expression:
-
Simplify Step-by-Step:
- Expand :
- Now, include the second term:
- Distribute across the terms:
- Since :
-
Logic Circuit:
- Use AND gates to implement terms , , and .
- Use OR gates to sum these terms.
- Include NOT gate for .
Q9 (b). Simplify the expression and draw the logic circuit for the simplified expression.
Simplified Expression:
From the expanded terms:
Since :
Logic Circuit for Simplified Expression:
- Use an AND gate with inputs and .
Q10. Draw the circuit of a serial-in parallel-out shift register. Draw and explain its working.
Explanation:
-
Definition:
- A Serial-In Parallel-Out (SIPO) Shift Register takes data serially (bit-by-bit) at its input and outputs data in parallel after shifting.
-
Working:
- The register consists of D flip-flops connected in series.
- A clock signal controls the shifting process:
- Input bit enters the first flip-flop.
- On every clock pulse, data shifts from one flip-flop to the next.
- After clock pulses (where is the number of flip-flops), all bits are available at the output.
-
Circuit Diagram:
- Include D flip-flops in series.
- Input data is connected to the first flip-flop.
- Clock signal connects to all flip-flops.
Q11. Draw the memory hierarchy in a digital computer. Explain each memory in terms of capacity, size, access time, implementation, and managed by whom.
Memory Hierarchy:
The memory hierarchy is structured as follows:
-
Registers:
- Capacity: Smallest.
- Size: Few bytes.
- Access Time: Fastest.
- Managed by: CPU.
- Implementation: Built into the CPU.
-
Cache Memory:
- Capacity: Small.
- Size: A few MBs.
- Access Time: Faster than RAM but slower than registers.
- Managed by: Hardware.
- Implementation: High-speed SRAM.
-
Main Memory (RAM):
- Capacity: Medium.
- Size: A few GBs.
- Access Time: Slower than cache.
- Managed by: Operating System.
- Implementation: DRAM.
-
Secondary Storage:
- Capacity: Large.
- Size: Hundreds of GBs or TBs.
- Access Time: Slow.
- Managed by: File System/OS.
- Implementation: HDDs, SSDs.
-
Tertiary/Backup Storage:
- Capacity: Very large.
- Access Time: Slowest.
- Managed by: User/Backup software.
- Implementation: Optical disks, tapes.
Diagram:
- Draw a pyramid showing registers at the top and tertiary storage at the base.
Q12. Draw the circuits of a full adder and discuss its working. Draw its truth table also.
Explanation:
-
Definition:
- A Full Adder adds three binary inputs: , , and , and produces two outputs:
- Sum ().
- Carry ().
- A Full Adder adds three binary inputs: , , and , and produces two outputs:
-
Expressions:
- Sum: .
- Carry: .
-
Circuit:
- Use two XOR gates for the Sum ().
- Use AND and OR gates for Carry ().
-
Truth Table:
A B Sum () Carry () 0 0 0 0 0 0 0 1 1 0 0 1 0 1 0 0 1 1 0 1 1 0 0 1 0 1 0 1 0 1 1 1 0 0 1 1 1 1 1 1
Q13. A memory has a capacity of 32K × 8. Find:
(a) The number of words in memory.
- .
- The number of words = .
(b) The number of bits in each word.
- Each word has 8 bits.
(c) The total number of bits in the memory.
- Total bits = Number of words × Bits per word:
(d) The total number of memory cells in the memory.
- Each bit is stored in one memory cell.
- Total memory cells = Total number of bits:
(e) Data input and data output lines.
- Since each word is 8 bits, the memory has:
- 8 Data Input Lines.
- 8 Data Output Lines.

Comments
Post a Comment