Ulla, oldy, a Uudi number Systems
Check Your Progress - 4.4 & 4.5
Fill in the Blanks
1. Decimal Equivalent for FF is Hexadecimal System is
2.Binary equivalent for 16 is ............
3.LSD is for
and MSD is for
4. The symbols used in octal are .......
5. Hexadecimal equivalent for 10110101100 is
Answers
LSD (least significant digit) method
let
bi = the least significant binary digit, i.e., i = 0
Divide the number N by 2; this produces a quotient Q and a remainder R.
Let R = bi.
Let Q replace N
If N = 0 then quit; otherwise increase i to i+1 and repeat steps 1-4.
The process is expressed as an algorithm. This is an orderly sequence of steps that can be used to complete the process. Computer processes are directed by algorithms like this one. As you can see, it is expressed as a generality: that is, it is intended to work with any given decimal number. (As a matter of fact, the base can be generalized and this procedure would work for any arbitrary base as well.) The algorithm is also expressed using repetition. This is a method for organizing algorithms.