- Reasoning Test Preparation
- Reasoning - Home
- Reasoning - Overview
- Reasoning

The number which has base 2 is known as binary number. Binary number is made by 0’s and 1’s complements. So, coded binary number consists of two processes. One is conversion of binary to decimal and another is decimal to binary.

To know what **binary number** is, first we have to know about decimal numbers. So, decimal number consists of ten digits (i.e. 0,1,2,3,4,5,6,7,8,9). Any decimal system can be represented by using these numbers. For example, a sequence of digits is 2, 4, 6 and 8. We do it in the following manner −

2468 = 2 × 10^{3} + 4 × 10^{2} + 6 × 10^{1} + 8 × 10^{0}

= 2468

**Note** − We get the value of numbers in this case by multiplying different digits of sequence by powers of 10 and adding. Here this 10 is called base or radix. Therefore under a decimal system our base is 10.

We use ten digits to represent a **decimal number**; like that we use only two digits to represent binary number. Any number can be represented by using these two digits i.e. 0 and 1.

Example of a binary number is- 1101. Here 4 digits are present in the sequence of digits − 1, 1, 0, 1. We get the value in the following manner.

1101 = 1 × 2^{3} + 1 × 2^{2} + 0 × 2^{1} + 1 × 2^{0}

= 8 + 4 + 0 + 1 = 13

Thus, the binary number represents thirteen in decimal system. The value can be determined by **multiplying different digits** of sequence by powers of 2 and adding.

**Conventional method** − In the above example, we see that to get the value of any binary number, we use the following rule −

The first digit from right is multiplied by 2^{0} = 1

The second digit from right is multiplied by 2^{1} = 2

The third digit from right is multiplied by 2^{2} = 4

Similarly, n^{th} digit from right is multiplied by 2^{n−1}

Finally, all these are added.

**For Example** − Convert the following binary numbers into decimal numbers.

**A** - 1010

**B** - 1111

**C** - 100

**D** - 10000

**Solution** −

A - 1010 = 1 × 2^{3} + 0 × 2^{2} + 1 × 2^{1} + 0 × 2^{0}

B - 1111 = 1 × 2^{3} + 1 × 2^{2} + 1 × 2^{1} + 1 × 2^{0}

C - 100 = 1 × 2^{2} + 0 × 2^{1} + 0 × 2^{0}

D - 10000 = 1 × 2^{4} + 0 × 2^{3} + 0 × 2^{2} + 0 × 2^{1} + 0 × 2^{0}

**Step I** − Starting from right digit of given number, write 1, 2, 4, 8, 16, 32……. and so on below each digit as you proceed towards left.

**Step II** − Ignore the numbers below 0s. Add all numbers below 1s.

Let’s solve the example 1 by this method.

A - 1010

We will use 1,2,4,8 because here 4 digits are present.

We get,

4 and 1 fall below the zeroes. We ignore them and add the remaining. We get 8 + 2 = 10

Like this we can solve other numbers.

Decimal number can be converted to binary by the method of **successive divisions**. Each time of division, the dividend is divided by 2. The reminder is noted and quotient becomes the next dividend, which is again divided by 2. The process is repeated until no more division is possible.

For Example − convert 17 into binary number −

Divide 17 by 2 until no more division is possible.

So, the binary form of 17 is 10001.

**Direction (Q. 1-4) − Study the following question and give the answer.**

In a certain code, the symbol for 0 is + and for 1 is #. No number or symbol is greater than 1. The value of symbol for 1 doubles itself every time it shifts one place to the left.

‘0’ is depicted as +

‘1’ is depicted as #

‘2’ is depicted as #+

‘3’ is depicted as ##

‘4’ is depicted as #++ and so on

**1** - Which of the following will represent 11?

**Options** −

**A** - #+##

**B** - +##+

**C** - ##++

**D** - #+#++

**E** - none of these

**Answer** − Option A

**Explanation** − To get equivalent of 11, we use the method of successive division by 2.

So the binary form will be 10111. Replacing 1 and 0 by # and + we will get #+##.

**2** - Which of the following will represent 8?

**Options** −

**A** - ##++

**B** - +##+

**C** - ##++

**D** - ++##

**E** - none of these

**Answer** − Option E

**Explanation** − for 8, we have-

i.e. 1000 or #+++. Correct choice is 5.

**3** - Which of the following will be represented by ##+#?

**Options** −

**A** - 8

**B** - 11

**C** - 13

**D** - 12

**E** - none of these

**Answer** − Option E

**Explanation** − ##+# = 1101 = 1 × 2^{3} + 1 × 2^{2} + 0 × 2^{1} + 1 × 2^{0} = 15

**4** - Which of the following number will be represented by #+++#?

**Options** −

**A** - 22

**B** - 31

**C** - 14

**D** - 17

**E** - none of these

**Answer** − Option D

**Explanation** − # + + + # = 10001

= 1 × 2^{4} + 0 × 2^{3} + 0 × 2^{2} + 0 × 2^{1} + 1 × 2^{0}

= 16 + 1 = 17

Binary systems have base 2, a decimal system has base 10, and tertiary system has base 3, whereas octal system has base 8. In case of tertiary, we have three digits to represent numbers. These are 0, 1 and 2. In this case numbers will be converted to decimal by multiplying with appropriate powers of 3.

**For Example** −

(12012)_{3} = 1 × 3^{4} + 2 × 3^{3} + 0 × 3^{2} + 1 × 3^{1} + 2 × 3^{0} = (104)_{3}

reasoning_coded_binary_numbers.htm

Advertisements