Beginner's Programming Tutorial in QBasic

(Kiana) #1
9897

99

(^100101)
102
(^103104)
105
(^106107)
(^108109)
(^110111)
112
(^113114)
(^115).


..


In base 10, as explained above, we multiply ten for each time a digit goes to the left.
10 = 10 100 = 10 10
1000 = 10
10 10
10000 = 10
10 10 10.
.
.


But in binary, we multiply by two.
10 100 = 2 (2) = 2 2 (4)
100001000 = 2
2 2 (8) = 2 2 2 2 (16)
.
..


So, since 10 is 2 and 100 is 4, the number 110 is six.
110 = ( 10 + 100 ) = (2 + 4) = 6


(To download a number converter, click here.)

Free download pdf