Week 2 - Building Blocks Flashcards

1
Q

What is the basic function of a transistor in a computer?

A

A transistor acts as a switch that controls the flow of electrons, enabling the flow of electrical current in digital circuits.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are the two types of MOS transistors and how do they function?

A

n-type transistor: Conducts when the gate is supplied with a high voltage.
p-type transistor: Conducts when the gate is supplied with a low voltage (works opposite to n-type).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What does CMOS stand for, and why is it important in modern computers?

A

CMOS stands for Complementary Metal-Oxide-Semiconductor. It combines both n-type and p-type MOS transistors to build efficient logic gates that form the basis of most modern integrated circuits.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is a NOT gate and how does it function in a CMOS circuit?

A

A NOT gate, also called an inverter, outputs the opposite of its input. In a CMOS NOT gate, when the input is high, the output is low, and vice versa.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

How does a NAND gate function in CMOS technology?

A

A NAND gate outputs 0 only when all of its inputs are 1. Otherwise, it outputs 1. It is built using n-type and p-type transistors in CMOS circuits.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is the significance of the AND gate and how can it be created using CMOS technology?

A

An AND gate outputs 1 only when both inputs are 1. In CMOS, it can be created by combining a NAND gate with a NOT gate (inverter).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What are logic gates, and why are they fundamental to digital circuits?

A

Logic gates perform basic Boolean functions (AND, OR, NOT, etc.) and are the building blocks of digital circuits that process binary information in computers.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is a decoder and what is its function in combinational logic?

A

A decoder is a combinational circuit that converts binary input into a specific output line, turning on exactly one output based on the input pattern.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is a multiplexer (MUX) and how does it operate?

A

A multiplexer is a device that selects one of several input signals based on a control input and forwards it to a single output.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is the purpose of a full adder in digital circuits?

A

A full adder is a combinational circuit that adds two bits and a carry bit, producing a sum and a carry output.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

How can a 4-bit adder be constructed using full adders?

A

A 4-bit adder can be created by connecting four 1-bit full adders in series, where each adder’s carry-out is connected to the carry-in of the next adder.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is a Programmable Logic Array (PLA)?

A

A PLA is a programmable device used to implement various logic functions. It consists of an array of AND gates followed by an array of OR gates.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is the function of a PLA in digital circuits?

A

A PLA can be programmed to implement a variety of logic functions by connecting specific AND gates to OR gates to form desired outputs.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is the purpose of sequential logic in circuits?

A

Sequential logic circuits store information and produce outputs based on both current and past inputs, unlike combinational logic which depends only on current inputs.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is an R-S Latch, and how does it store information?

A

An R-S (Reset-Set) Latch is a basic memory element that stores a single bit. It has two inputs, S (Set) and R (Reset), which control whether the stored bit is 1 or 0.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is a Gated D Latch, and how does it improve upon the R-S Latch?

A

A Gated D Latch stores a bit of data based on the input D and only updates the stored value when the Write Enable (WE) signal is high. It ensures correct operation and prevents invalid states.

17
Q

How does a D flip-flop differ from a D latch?

A

A D flip-flop captures and stores data on a clock edge (synchronous), while a D latch allows data to pass through whenever the write enable is active (asynchronous).

18
Q

What is the role of registers in digital circuits?

A

Registers are storage devices composed of multiple D flip-flops or latches, used to store and access multiple bits of data in parallel.

19
Q

What is the difference between combinational logic and sequential logic?

A

Combinational logic: Output depends only on current inputs.
Sequential logic: Output depends on both current inputs and past inputs (has memory).

20
Q

What is the address decoder’s role in memory circuits?

A

The address decoder selects which memory location to access based on the input address.