The correct answer is: B. Discrete switches
Analog computers use continuous variables, such as voltage or current, to represent physical quantities. Digital computers use discrete variables, such as bits, to represent physical quantities.
Logic gates are the basic building blocks of digital circuits. They perform simple logical operations on binary inputs, such as AND, OR, and NOT.
Discrete switches are devices that can be in one of two states: on or off. They are used to represent the binary digits 1 and 0 in digital circuits.
Boolean algebra is a branch of mathematics that deals with logic. It is used to design and analyze digital circuits.
Bayes’ theorem is a mathematical formula that is used to calculate the probability of an event occurring, given the probability of other events occurring. It is not used in digital circuits.
Here is a more detailed explanation of each option:
- Option A: Logic gates are the basic building blocks of digital circuits. They perform simple logical operations on binary inputs, such as AND, OR, and NOT. Logic gates are not used in analog computers.
- Option B: Discrete switches are devices that can be in one of two states: on or off. They are used to represent the binary digits 1 and 0 in digital circuits. Discrete switches are used in both analog and digital computers.
- Option C: Boolean algebra is a branch of mathematics that deals with logic. It is used to design and analyze digital circuits. Boolean algebra is not used in analog computers.
- Option D: Bayes’ theorem is a mathematical formula that is used to calculate the probability of an event occurring, given the probability of other events occurring. It is not used in digital circuits.
- Option E: None of the above is correct.