Com - Unit 01

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 4

Com-1(Number System)

Evaluation: D
Q(1) What is a number system?
Ans:
Number System is a way to represent numbers in computer
architecture.

There are four different types of the number system, such as: Binary
number system (base 2), Decimal number system (base 10), Octal
number system (base 8), and Hexadecimal (base 16).

Q(2) Describe the different number system.


Ans:
The different number systems are as follows:

 Binary number system contains two digits: 0 and 1.


 Decimal number system contains 10 digits: 0 1 2 3 4 5 6 7 8 9.
 Octal number system contains 8 digits: 0 1 2 3 4 5 6 7.
 Hexadecimal number system contains 16 digits:
0123456789ABCDEF
****

Decimal, Octal and Hexadecimal numbers can each be represented by


using Binary numbers. This enables these number systems to be
represented on a computer by converting them into Binary number
system [0 or 1 (OFF represented by 0 and ON represented by 1)].

Q(3) Define the term ‘base’.


Ans:
Base is defined as the total number of digits in the number system.

Examples:

Binary number system has base of two values: 0 and 1.

Decimal number system has base of ten values: 0 1 2 3 4 5 6 7 8 9.

Q Why are subscripts used to convert numbers from binary to


decimal, or decimal to binary?
Ans:
When we convert numbers from binary to decimal, or decimal to
binary, subscripts are used to avoid errors. Converting binary to
decimal (base-2 to base-10) or decimal to binary numbers (base10 to
base-2) can be done in a number of different ways as shown above.
Q:(5) Which nuber system is used in digital computers?
Ans:
Generally, a binary number system is used in the digital computers. In
this number system, it carries only two digits, either 0 or 1.

***

ASCII— American Standard Code for Information Interchange.


Expanded form: The decimal number system is a positional value
system. We use the place system in Mathematics: units, tens,
hundreds, thousands, and so on. This method is known as expanded
form.

Example: If the number is 9703 then, 9 represents 9 thousand, 7


represents 7 hundreds, 0 represents 0 tens and 3 represents 3 units
and its value can be written as:

(9×-1000) + (7×100) + (0×10) + (3×1)

(9× 103) + (7×102) + (0×101) + (3×100)

9000 + 700 + 0 +3

9703.

LSD: The rightmost digit of a number has the lowest weight and
hence it is called List Significant Digit.

MSD: The leftmost digit of a number has the highest weight and
hence it is called Most Significant Digit.
Recap:
 Binary number system contains two digits: 0 and 1.
 Decimal number system contains 10 digits: 0 1 2 3 4 5 6 7 8 9.
 Octal number system contains 8 digits: 0 1 2 3 4 5 6 7.
 Hexadecimal number system contains 16 digits:
0123456789ABCDEF
 A binary system has only 0 level and 1 level giving a base of 2.
 The rightmost digit of a number has the lowest weight and hence
it is called List Significant Digit.
 The leftmost digit of a number has the highest weight and hence
it is called Most Significant Digit.
 A decimal number can be converted to a binary number by using
the repeated division-by-2 method.

You might also like