DLD
DLD
Review Questions
UNIT-II NUMBER SYSTEM
2.1 What is Number?
A number is a string of one or more digits which is used to count, quantify and
measure something. For example, there are 20 students in a class ; Here 20 is a
number.
2.2 What is Digit?
A digit is a single numerical symbol of a number or the smallest symbols of
numbers. Number consist of digits. All digits are numbers but all numbers are not
digit. For example, 243 is a number with three digits, which is consist of 2, 4 and 3
separate three digits. Each of them is a separate number.
The value of each digit in a number can be determined using −
The digit
The position of the digit in the number
The base of the number system
Each binary digit is also called a bit (binary digit). In any binary number, the
rightmost digit is called Least Significant Bit (LSB) and leftmost digit is called Most
Significant Bit (MSB).
The binary number system is mainly used in digital systems because digitals
systems use two state switching devices like diodes, transistors, etc.
Suppose 111.01 is a binary number whose structure is given below.
1×22 + 1×21 + 1×20 + 0×2-1 + 1×2-2
We can also write the number as below:
• The following figure shows the format of binary number. Four binary digits form
a nibble, eight binary digits form a byte, sixteen binary digits form a word and
thirty-two binary digits form a double-word.
What is number?
What is digit?
What is bit/byte?
What is number system?
What is positional number system?
What is Radix point?
What is positional value?
What is non-positional number system?
The rules for converting decimal numbers to any other number system are as
follows:
For Integer Part:
To convert a decimal integer to another base integer, follow these steps:
Step 1: Divide the decimal number by the desired base and keep the
quotient.
Step 2: Write down the remainder beside the quotient obtained in the first
step.
Step 3: Divide the quotient from the second step again by the base.
Step 4: Repeat the process of steps two and three until the quotient
becomes zero.
Step 5: Arrange the remainders obtained from step two to the last step in
reverse order to get the converted number.