We can use sequences of
bits to represent many kinds of data. Technical Data used in the field
explained in computer
courses in rawalpindi All we need to do is think of the right binary
questions for which the bits give answers that allow us to represent each
possible value. Next, we provide examples showing how bits can be used to
represent numbers, text, and pictures.
In the previous
section, we identified a number using a tree where each node asks a binary
question and the branches correspond to the “Yes” and “No” answers. A more
compact way of writing down our decisions following the tree is to use 0 to
encode a “No” answer, and 1 to encode a “Yes” answer and describe a path to a
leaf by a sequence of 0s and 1s—the “No”, “No”, “No” path to 0 is encoded as
000, and the “Yes”, “No”, “Yes” path to 5 is encoded as 101. This is known as
the binary number system. Whereas the decimal number system uses ten as its
base (there are ten decimal digits, and the positional values increase as
powers of ten), the binary system uses two as its base (there are two binary
digits, and the positional values increase as powers of two). Some more details
of computer
courses in rawalpindi are as under.
As in the decimal
number system, the value of each binary digit depends on its position. By using
more bits, we can represent larger numbers. With enough bits, we can represent
any natural number this way. The more bits we have, the larger the set of
possible numbers we can represent. As we saw with the binary decision trees, n
bits can be used to represent 2n different numbers. TSK Training for Skills and
Knowledge is the best institute in Rawalpindi Islamabad for Pakistani Students
who wants to join computer
courses in islamabad.

No comments:
Post a Comment