0 Members and 1 Guest are viewing this topic.

Basically these 1's and 0's are nothing but two voltage levels. 1 means high voltage 0 means low voltage. Whenever we have data like 101110 machines don't know what is 1 or 0 , so the corresponding voltage level has to be maintained. we use transistors to hold this data usually a transistor can hold one BIT (stands for binary digit) i.e. either 0 or 1 ( high voltage or low voltage) at any point of time.

Ah, right!So how do they add and subtract?

One of the largest early computers ENIAC used decimal.

Once yuo have coded the numbers as a set of "true and false" or 1 and 0 you can use logic to add them together.This explains it, but you might need an explanation of the explanation....sorry, you cannot view external links. To see them, please REGISTER or LOGIN)(BTW very few systems use BCD so I'm not sure why Tommya300 mentioned it.)

Quote from: syhprum on 21/06/2010 08:20:09One of the largest early computers ENIAC used decimal. wasn't that computer considered an anolog computer?

Quote from: tommya300 on 21/06/2010 19:36:09Quote from: syhprum on 21/06/2010 08:20:09One of the largest early computers ENIAC used decimal. wasn't that computer considered an anolog computer?No, ENIAC was digital. ENIAC, EDSAC and SOLIDAC were all digital machines.

I thought the UNIVAC was digital too....sorry, you cannot view external links. To see them, please REGISTER or LOGIN

Once yuo have coded the numbers as a set of "true and false" or 1 and 0 you can use logic to add them together.This explains it, but you might need an explanation of the explanation. newbielink:http://en.wikipedia.org/wiki/Adder_(electronics [nonactive])(BTW very few systems use BCD so I'm not sure why Tommya300 mentioned it.)

Quote from: Bored chemist on 21/06/2010 18:48:45Once yuo have coded the numbers as a set of "true and false" or 1 and 0 you can use logic to add them together.This explains it, but you might need an explanation of the explanation....sorry, you cannot view external links. To see them, please REGISTER or LOGIN)(BTW very few systems use BCD so I'm not sure why Tommya300 mentioned it.)Boolean Logic uses two values (True and False) and three operators (Not, And, and Or).F And F = FT And F = FF And T = FT And T = TF Or F = FF Or T = TT Or F = TT Or T = TNot F = TNot T = FThere is another operator, called Exclusive-Or, which is just a shortcut for "(A Or B) And (Not (A And B))". (I overused parens there to make the order of operations unambiguous. Standard precedence for Boolean algebra is Not, then And, then Or.)F Xor F = FF Xor T = TT Xor F = TT Xor T = FAnd, Or, and Not are operations that can be performed by circuitry incorporating transistors.Using Boolean Logic, you can assign numeric value to strings of Boolean values and do math with them, as follows:# D3 D2 D10 F F F1 F F T2 F T F3 F T T4 T F F5 T F T6 T T F7 T T TThe simplest example is addition of two single-digit binary numbers (call them A and B to produce a two-digit binary number result (call its digits D1 and D2, see the chart above)To perform addition of A + B, then D2 = A And B and D1 = A Xor B.Addition of longer binary numbers is more complex but not too hard to figure out from the basics given here.