MGMT 1000 Lecture Notes - Lecture 6: Binary Number

26 views2 pages
MGMT 1000 Lecture 6 Notes Studying the Table
Introduction
You should spend enough time studying this table until you understand every detail
thoroughly.
Note, too, that the steps that we have followed do not really depend on the number
base that we are using.
We simply go through a complete cycle, exhausting all possible different digits in the
base set, and then move to the left one place and count the cycles.
We repeat this process as necessary to represent the entire number.
In general, for any number base B, each digit position represents B to a power, where
the power is numbered from the rightmost digit, starting with B0.
B0, of course, is one (known as the units place) for any number base.
Thus, a simple way to determine the decimal equivalent for a number in any number
base is to multiply each digit by the weight in the given base that corresponds to the
position of the digit for that number.
Often it is useful to be able to estimate quickly the value of a binary number.
Since the weight of each place in a binary number doubles as we move to the left
We can generate a rough order-of-magnitude by considering only the weight for the
leftmost bit or two.
Starting from 1 and doubling for each bit in the number to get the weight, you can see
that the most significant bit in the previous example has a value of 256.
We can improve the estimate by adding half that again for the next most significant bit,
which gives the value of the number in the neighborhood of 384, plus a little more for
the additional bits.
With a little practice, it is easy to estimate the magnitudes of binary numbers almost
instantly.
This technique is often sufficient for checking the results of calculations when debugging
programs.
find more resources at oneclass.com
find more resources at oneclass.com
Unlock document

This preview shows half of the first page of the document.
Unlock all 2 pages and 3 million more documents.

Already have an account? Log in

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents