Professional Documents
Culture Documents
Frebits Converter 03.graffle
Frebits Converter 03.graffle
Digital circuits operate in the binary number system, which means that all circuit variables must be either 1 or 0. The algebra used to solve problems and process information in
digital systems is called Boolean algebra; it deals with logic, rather than calculating actual numeric values. Boolean algebra is based on the idea that logical propositions are
either true or false, depending on the type of operation they describe and whether the variables are true or false. True corresponds to the digital value of 1, while false
corresponds to 0. These diagrams show various electronic switches, called gates, each of which performs a specific Boolean operation. There are three basic Boolean operations,
which may be used alone or in combination: logical multiplication (AND gate), logical addition (OR gate), and logical inversion (NOT gate). The accompanying tables, called
truth tables, map all of the potential input combinations against yielded outputs.
Encarta Encyclopedia
Microsoft Corporation. All Rights Reserved
Microsoft Encarta 2008. 1993-2007 Microsoft Corporation. All rights reserved.
A
B
C
D
E
F
G
H
I
J
0100
0100
0100
0100
0100
0100
0100
0100
0100
0100
0001
0010
0011
0100
0101
0110
0111
1000
1001
1010
Codes
A bit could only represent yes/no types of things, but
now that we have 256 possibilities, we can look for
things in our lives that are slightly more complicated.
One of the first things that might fit the bill is
written language. If you look in a book and see all of
the different types of symbols that are used to print
the book, you will see all 26 letters of the alphabet in
uppercase as well as lowercase. Then there are the
numbers 0 through 9, and there are punctuation marks
like periods, commas, quotes, question marks,
parentheses and several others. Then there are special
symbols like the at sign (@,) currency ($,) and more.
If you add these up, 52 letters, 10 numbers, a few dozen
for punctuation and symbols, you get something like 100
different symbols that may appear printed on the pages
of the average book.
From here on out, we will use the word character to
mean one of this sort of thing, one of the letters,
numbers, or other symbols that are used in written
language. A character can be either a letter, a number,
a punctuation mark or any other type of symbol.
The code has a name, it is the: American Standard Code
for Information Interchange. This is usually abbreviated
to ASCII, pronounced aass-key. We dont need to print
the whole code here, but heres a sample. These are 20
of the codes that they came up with, the first 10
letters of the alphabet in uppercase and lowercase:
a
b
c
d
e
f
g
h
I
j
0110
0110
0110
0110
0110
0110
0110
0110
0110
0110
0001
0010
0011
0100
0101
0110
0111
1000
1001
1010