Binary Logic

  • Thread starter ClubDogo
  • Start date
  • #1
9
0

Main Question or Discussion Point

Why computer use binary logic (0,1) instead of use a ternary or something else?
 

Answers and Replies

  • #2
194
0
In the early computing systems it was easier to use two hard states 0 and 1 rather than three or more discrete levels as it means that you can hard switch your devices. Once your programming schemes are based around binary and working well, why change to another system.
What would be the advantage of using a tri-state logic in the majority of applications? This needs to be considered both from speed of processing and ease of implimentation.
 
  • #3
218
0
it is not just easier to use, it is simplest possible logic (you can't really make a logic out of one value), but it is quite enough for everything, at the same time. suppose you have some 4-valued predicate F(x) that can be all the values v1, v2, v3 or v4. In terms of 2-valued predicates, that translates into two predicates P(x) and Q(x), that are defined like this:
  • P(x) = v1 iff F(x) = v1, or v2;
  • Q(x) = v1 iff F(x) = v1, or v3
 

Related Threads on Binary Logic

Replies
5
Views
682
Replies
2
Views
1K
  • Last Post
Replies
12
Views
3K
  • Last Post
Replies
17
Views
1K
  • Last Post
Replies
2
Views
2K
  • Last Post
Replies
3
Views
4K
  • Last Post
Replies
2
Views
499
  • Last Post
Replies
2
Views
682
  • Last Post
Replies
2
Views
637
  • Last Post
Replies
10
Views
1K
Top