Why computer use binary logic (0,1) instead of use a ternary or something else?
Computers use binary logic because it is a simple and efficient way to represent and process information. Binary logic is based on just two symbols, 0 and 1, which can be easily represented by electrical signals in computer hardware.
In binary logic, 0 represents a low voltage signal and 1 represents a high voltage signal. These signals are used to represent the two states of a switch, which is the basic building block of all digital computers. By combining multiple switches, complex logical operations can be performed.
Binary logic allows for easier and more accurate data processing, as the two states of 0 and 1 can clearly represent on and off, true and false, or any other binary decision. It also allows for easier storage and transmission of data, as it can be represented by a series of 0s and 1s.
While binary logic is the most commonly used form of logic in computers, there are other alternatives such as ternary logic (using three symbols) and quantum logic (based on the principles of quantum mechanics). However, these are not as widely adopted due to the complexity and limitations in current technology.
Binary logic allows for faster and more efficient processing of data as it can be easily translated into electrical signals and manipulated by computer hardware. This allows for quicker decision making and data storage, making computers more efficient in performing tasks.