> > Number Systems

# Number Systems

The number system is a way to represent or express numbers. You have heard of various types of number systems such as the the real numbers. But in the context of computers, we define other types of number systems. They are:

• The decimal number system
• The binary number system
• The octal number system and
Let us discuss them in detail.

### Suggested Videos Coding Decoding Group of Words Coded as Numbers Coding Decoding Numbers Coded as Numbers Ranking II ### Decimal Number System (Base 10)

In this number system, the digits 0 to 9 represents numbers. As it uses 10 digits to represent a number, it is also called the base 10 number system. Each digit has a value based on its position called place value. The value of the position increases by 10 times as we move from right to left in the number.
For example, the value of 786 is
= 7 x 102 + 8 x 101 + 6 x 100
= 700 + 80 + 6

### Binary Number System (Base 2)

A computer can understand only the “on” and “off” state of a switch. These two states are represented by 1 and 0. The combination of 1 and 0 form binary numbers. These numbers represent various data. As two digits are used to represent numbers, it is called a binary or base 2 number system.
The binary number system uses positional notation. But in this case, each digit is multiplied by the appropriate power of two based on its position.
For example, (101101)2 in decimal is
= 1 x 25 + 0 x 24 + 1 x 23 + 1 x 22 + 0 x 21 + 1 x 20
= 1 x 32 + 0 x 16 + 1 x 8 + 1 x 4 + 0 x 2 + 1 x 1
= 32 + 8 + 4 + 1
= (45)10

Want to see how smart you are? Want to exercise your brain? Click here for a wonderfully explained and lucid section of Reasoning Ability.

### Units of measurement of data

Machine language is binary. And so it is necessary to discuss how to measure the data stored in a computer. Bit and Byte are the units to measure data.

### Bit

The term ‘bit’ is a contraction of the words ‘binary’ and ‘digit’. It is the smallest unit of memory or instruction that can be given or stored on a computer. A bit is either a 0 or a 1. The number in the above example is a 6-bit number as it has 6 binary digits (0s and 1s).

### Byte

A group of 8 bits like 01100001 is a byte. Combination of bytes comes with various names like the kilobyte. One kilobyte is a collection of 1000 bytes. A word or letter like ‘A’ or ‘G’ is worth 8 bits or one byte. One thousand bytes make up a kilobyte (one thousand letters approximately). 1024 kilobytes form a Megabyte (Mb) and so on. Learn the rules of converting number systems here.

### Octal Number System (Base 8)

This system uses digits 0 to 7 (i.e. 8 digits) to represent a number and the numbers are as a base of 8.
For example, (24)8 in decimal is
= 2×81+4×80
= (20)10

### Hexadecimal Number System (Base 16)

In this system, 16 digits used to represent a given number. Thus it is also known as the base 16 number system. Each digit position represents a power of 16. As the base is greater than 10, the number system is supplemented by letters. Following are the hexadecimal symbols: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F
To take A, B, C, D, E, and F as part of the number system is conventional and has no logical or deductive reason.

Having trouble with concepts like DBMS? Have an important exam soon? Click here and start your preparations now!

### Number System Chart

#### Example

Decimal 10 0,1,2,3,4,5,6,7,8,9 (2795)10
Binary 2 0,1 111000010
Octal 8 0,1,2,3,4,5,6,7 (1576)8

## Example For You

Q 1 A number system uses 10 as the base. The number is 654. What is the LSB and MSB of this number?
A) 6 and 4 B) 4 and 6 C) 0 and 1 D) 10 and 01.
Answer: MSB stands for the most significant Bit and the LSB stands for the Least Significant Bit. If you take a look at the number 654, we ought to represent it in a base 10 (Decimal number system).
So we can write it as 6×102 + 5×101 + 4 x100. Thus the number 6 is the most significant in the sense that it contains the bulk of the value of the number. And the number 4 is the least significant bit because it contains the least bulk of the value. Hence the answer is B that is 4 and 6. We can say that in the decimal representation, the number to the left is the MSB and the number to the right is the LSB.

Preparing for a job exam and can’t find the complete coverage of topics? No worries we are here to help!

Find all the topics of Reasoning Ability here!

We have the most complete syllabus of quantitative aptitude in one place for you! Click here

## Practice Questions

Q 1: How would you represent 10111 in the decimal number system?

A) 23

B) 24

C) 25

D) 22

Ans: A) 23

Q 2: The LSB and MSB in the following number are: 1220

A) 1 & 0

B) 0 & 1

C) 10

D) 01

Ans: A) 0 & 1

Share with friends

## Customize your course in 30 seconds

##### Which class are you in?
5th
6th
7th
8th
9th
10th
11th
12th
Get ready for all-new Live Classes!
Now learn Live with India's best teachers. Join courses with the best schedule and enjoy fun and interactive classes. Ashhar Firdausi
IIT Roorkee
Biology Dr. Nazma Shaik
VTU
Chemistry Gaurav Tiwari
APJAKTU
Physics
Get Started 1 Followers

Most reacted comment
1 Comment authors Recent comment authors
Subscribe
Notify of Guest

THANKS ,THIS IS THE VERY USEFUL KNOWLEDGE Guest
anonymous creature

yes it is Guest
Imtiyaz Hussain Baba

Hi Guest
Rajendra Tupvihire

good article and explain very well

## Question Mark?

Have a doubt at 3 am? Our experts are available 24x7. Connect with a tutor instantly and get your concepts cleared in less than 3 steps.
{"ft_lang_label":"__label__en","ft_lang_prob":0.7464127,"math_prob":0.9770284,"size":2178,"snap":"2020-45-2020-50","text_gpt3_token_len":600,"char_repetition_ratio":0.14075437,"word_repetition_ratio":0.0,"special_character_ratio":0.27134988,"punctuation_ratio":0.13004485,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.98743725,"pos_list":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52],"im_url_duplicate_count":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,4,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2020-11-26T07:33:09Z\",\"WARC-Record-ID\":\"<urn:uuid:9e3a4be8-93e6-45a7-b60e-83a929d2c64c>\",\"Content-Length\":\"204762\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:6aab133d-cc34-4046-bf75-69c349e4973e>\",\"WARC-Concurrent-To\":\"<urn:uuid:ffceb1e7-6e35-4306-9805-e058ac4716ba>\",\"WARC-IP-Address\":\"104.20.83.29\",\"WARC-Target-URI\":\"https://www.toppr.com/guides/computer-aptitude-and-knowledge/basics-of-computers/number-systems/\",\"WARC-Payload-Digest\":\"sha1:IWY7ZGCRJO5OWLQS6MQHG5SY24LIMVJH\",\"WARC-Block-Digest\":\"sha1:H372X74IFN2MO3AVT5TMWZC74QUFPWLS\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2020/CC-MAIN-2020-50/CC-MAIN-2020-50_segments_1606141186761.30_warc_CC-MAIN-20201126055652-20201126085652-00386.warc.gz\"}"}