0% found this document useful (0 votes)
32 views23 pages

Number System Conversion Questions

The document contains a series of questions and answers related to number systems, including decimal, octal, binary, and hexadecimal systems. It covers topics such as base representation, conversions between different number systems, and provides examples of calculations. Additionally, it includes fill-in-the-blank questions and case-study based questions to reinforce understanding of the concepts.

Uploaded by

RABIN TIKADER
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
32 views23 pages

Number System Conversion Questions

The document contains a series of questions and answers related to number systems, including decimal, octal, binary, and hexadecimal systems. It covers topics such as base representation, conversions between different number systems, and provides examples of calculations. Additionally, it includes fill-in-the-blank questions and case-study based questions to reinforce understanding of the concepts.

Uploaded by

RABIN TIKADER
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Choose the correct option

Question 1

In a decimal number system, the base of a number is represented by

1. 2
2. 10
3. 16
4. All of them

Answer

10

Reason — The decimal number system uses 10 digits (from 0 to 9) hence its has a
base of 10.

Question 2

The base of an octal number is represented by:

1. 2
2. 8
3. 7
4. None

Answer

Reason — The octal number system uses 8 digits (from 0 to 7) hence its has a base
of 8.

Question 3

To convert an octal number to its binary equivalent, each octal digit is expressed as

1. 3 bits form
2. 4 bits form
3. 8 bits form
4. All of them

Answer

3 bits form
Reason — Since the digits from 0 to 7 need a maximum of 3 bits to be represented
in binary form hence in Octal to Binary conversion each octal digit is expressed as 3
bits form.

Question 4

Sixteen raised to the power zero (16⁰) is equivalent to

1. 0
2. 1
3. 0 and 1
4. None

Answer

Reason — Any number raised to the power of 0 is 1.

Question 5

An octal number system uses the digits from

1. 0 to 8
2. 1 to 8
3. 0 to 7
4. All of them

Answer

0 to 7

Reason — The octal number system is a base 8 number system as it uses the digits
from 0 to 7.

Question 6

The base of a hexa-decimal number is represented by

1. H16
2. 16
3. 15
4. None

Answer

16
Reason — The hexa-decimal number system uses 16 digits (from 0 to 15) hence its
has a base of 16.

Question 7

In a hexa-decimal number system, 'B' represents the digit

1. 11
2. 12
3. 14
4. 13

Answer

11

Reason — In hexa-decimal number system, the digits 0 to 15 are represented by the


letters A to F.

Question 8

To express a hexa-decimal number to its binary equivalent, each hexa-decimal digit


is expressed as

1. 2 bits form
2. 3 bits form
3. 4 bits form
4. None

Answer

4 bits form

Reason — Since the digits from 0 to 15 need a maximum of 4 bits to be represented


in binary form hence in Hexa-decimal to Binary conversion each hexa-decimal digit
is expressed as 4 bits form.

Question 9

The binary equivalent of a hexa-decimal digit 12(C) is represented by

1. 1010
2. 1011
3. 1101
4. 1100

Answer
1100

Reason — The hexa-decimal digit 12(C) is represented as 1100.

Question 10

The hexa-decimal equivalent digit of 1011 (4 bits form) is

1. 14
2. 15
3. 11
4. 12

Answer

11

Reason — The hexa-decimal equivalent digit of 1011 (4 bits form) is 11.

Fill in the blanks

Question 1

The binary system consists of two digits 0 and 1.

Question 2

A decimal number system uses the digits from 0 to 9.

Question 3

The base in the decimal number system is written as 10.

Question 4

A binary number system is written with 2 as the base.

Question 5

In a decimal to binary conversion, the first remainder is known as Least Significant


Bit (LSB) and the last remainder is Most Significant Bit (MSB).

Question 6

20 = 1
Complete the following tables

Octal Binary
Digit Equivalent

Hexadecimal Binary
Digit Equivalent

11

15

Answer

Octal Binary
Digit Equivalent

5 101

7 111

1 001
Octal Binary
Digit Equivalent

6 110

3 011

Hexadecimal Binary
Digit Equivalent

8 1000

11 1011

4 0100

15 1111

9 1001

Case-Study Based Questions

Question 1

Your teacher has assigned you a task to give a presentation on conversion of octal
numbers into binary numbers and vice-versa. You are asked to create some aids to
support your presentation. You have created two tables, Table 1 and Table 2, to
demonstrate some examples.

Octal Number Binary Equivalent

1 001

5 .......

3 010

6 110
Binary Number Octal Equivalent

100 .......

111 7

011 2

001110 16

In the above tables, some entries have either been missed or incorrect. Answer the
following questions based on the above case:

(a) What will be filled in the blank space of Table 1?

(b) Find and rectify the incorrect binary equivalent in Table 1.

(c) Fill the appropriate octal equivalent in the blank space of Table 2.

(d) Find and rectify the incorrect octal equivalent in Table 2.

Answer

(a) 101

(b) In Table 1, the binary equivalent of octal number 3 is incorrect. The correct value
is 011.

(c) 4

(d) In Table 2, the octal equivalent of binary number 011 is incorrect. The correct
value is 3.

Convert the following to their binary equivalents

Question 1

(78)10

Answer

2 Quotient Remainder

2 78 0 (LSB)
2 Quotient Remainder

2 39 1

2 19 1

2 9 1

2 4 0

2 2 0

2 1 1 (MSB)

Therefore, (78)10 = (1001110)2

Question 2

(99)10

Answer

2 Quotient Remainder

2 99 1 (LSB)

2 49 1

2 24 0

2 12 0

2 6 0

2 3 1

2 1 1 (MSB)
2 Quotient Remainder

Therefore, (99)10 = (1100011)2

Question 3

(141)10

Answer

2 Quotient Remainder

2 141 1 (LSB)

2 70 0

2 35 1

2 17 1

2 8 0

2 4 0

2 2 0

2 1 1 (MSB)

Therefore, (141)10 = (10001101)2

Question 4

(123)10

Answer
2 Quotient Remainder

2 123 1 (LSB)

2 61 1

2 30 0

2 15 1

2 7 1

2 3 1

2 1 1 (MSB)

Therefore, (123)10 = (1111011)2

Convert the following to their decimal equivalents

Question 1

(10101)2

Answer

Binary
Power Value Result
No

1 (LSB) 20 1 1x1=1

0 21 2 0x2=0

1 22 4 1x4=4

0 23 8 0x8=0
Binary
Power Value Result
No

1 (MSB) 24 16 1x16=16

Equivalent decimal number = 1 + 4 + 16 = 21

Therefore, (10101)2 = (21)10

Question 2

(10000)2

Answer

Binary
Power Value Result
No

0 (LSB) 20 1 0x1=0

0 21 2 0x2=0

0 22 4 1x4=4

0 23 8 0x8=0

1 (MSB) 24 16 1x16=16

Equivalent decimal number = 16

Therefore, (10000)2 = (16)10

Question 3

(11001)2

Answer

Binary
Power Value Result
No

1 (LSB) 20 1 1x1=1
Binary
Power Value Result
No

0 21 2 0x2=0

0 22 4 0x4=0

1 23 8 1x8=8

1 (MSB) 24 16 1x16=16

Equivalent decimal number = 1 + 8 + 16 = 25

Therefore, (11001)2 = (25)10

Question 4

(101010)2

Answer

Binary
Power Value Result
No

0 (LSB) 20 1 0x1=0

1 21 2 1x2=2

0 22 4 0x4=0

1 23 8 1x8=8

0 24 16 0x16=0

1 (MSB) 25 32 1x32=32

Equivalent decimal number = 2 + 8 + 32 = 42

Therefore, (101010)2 = (42)10


Convert the following to Decimal numbers

Question 1

(510)8

Answer

Octal
Power Value Result
No

0 (LSB) 80 1 0x1=0

1 81 8 1x8=8

5 (MSB) 82 64 5x64=320

Equivalent decimal number = 8 + 320 = 328

Therefore, (510)8 = (328)10

Question 2

(ABC)16

Answer

Hexadecimal
Power Value Result
Number

C (12) 160 1 12x1=12

B (11) 161 16 11x16=176

A (10) 162 256 10x256=2560

Equivalent decimal number = 12 + 176 + 2560 = 2748

Therefore, (ABC)16 = (2748)10

Question 3

(1001011)2

Answer
Binary
Power Value Result
No

1 (LSB) 20 1 1x1=1

1 21 2 1x2=2

0 22 4 0x4=0

1 23 8 1x8=8

0 24 16 0x16=0

0 25 32 0x32=0

1 (MSB) 26 64 1x64=64

Equivalent decimal number = 1 + 2 + 8 + 64 = 75

Therefore, (1001011)2 = (75)10

Question 4

(CD7)16

Answer

Hexadecimal
Power Value Result
Number

7 160 1 7x1=7

D (13) 161 16 13x16=208

C (12) 162 256 12x256=3072

Equivalent decimal number = 7 + 208 + 3072 = 3287

Therefore, (CD7)16 = (3287)10

Question 5
(101001)2

Answer

Binary
Power Value Result
No

1 (LSB) 20 1 1x1=1

0 21 2 0x2=0

0 22 4 0x4=0

1 23 8 1x8=8

0 24 16 0x16=0

1 (MSB) 25 32 1x32=32

Equivalent decimal number = 1 + 8 + 32 = 41

Therefore, (101001)2 = (41)10

Question 6

(1100111)2

Answer

Binary
Power Value Result
No

1 (LSB) 20 1 1x1=1

1 21 2 1x2=2

1 22 4 1x4=4

0 23 8 0x8=0

0 24 16 0x16=0
Binary
Power Value Result
No

1 25 32 1x32=32

1 (MSB) 26 64 1x64=64

Equivalent decimal number = 1 + 2 + 4 + 32 + 64 = 103

Therefore, (1100111)2 = (103)10

Convert the following to binary numbers

Question 1

(342)8

Answer

Octal Binary
Number Equivalent

2 010

4 100

3 011

Therefore, (342)8 = (011undefined 100undefined 010undefined011100010)2

Question 2

(203)8

Answer

Octal Binary
Number Equivalent

3 011

0 000
Octal Binary
Number Equivalent

2 010

Therefore, (203)8 = (010undefined 000undefined 011undefined010000011)2

Question 3

(9AD)16

Answer

Hexadecimal Binary
Number Equivalent

D (13) 1101

A (10) 1010

9 1001

Therefore, (9AD)16 = (1001undefined 1010undefined 1101undefined100110101101


)2

Question 4

(157)8

Answer

Octal Binary
Number Equivalent

7 111

5 101

1 001

Therefore, (157)8 = (001undefined 101undefined 111undefined001101111)2

Question 5
(ABC)16

Answer

Hexadecimal Binary
Number Equivalent

C (12) 1100

B (11) 1011

A (10) 1010

Therefore, (ABC)16 = (1010undefined 1011undefined 1100undefined101010111100


)2

Question 6

(DE)16

Answer

Hexadecimal Binary
Number Equivalent

E (14) 1110

D (13) 1101

Therefore, (DE)16 = (1101undefined 1110undefined11011110)2

Convert the following to their hexa-decimal equivalent

Question 1

(110011101111)2

Answer

Grouping in bits of 4:

1100undefined110011101111
Binary Equivalent
Number Hexadecimal

1111 F (15)

1110 E (14)

1100 C (12)

Therefore, (110011101111)2 = (CEF)16

Question 2

(11010111100)2

Answer

Grouping in bits of 4:

0110undefined011010111100

Binary Equivalent
Number Hexadecimal

1100 C (12)

1011 B (11)

0110 6

Therefore, (11010111100)2 = (6BC)16

Question 3

(89392)10

Answer

16 Quotient Remainder

16 89392 0
16 Quotient Remainder

16 5587 3

16 349 D (13)

16 21 5

16 1 1

Therefore, (89392)10 = (15D30)16

Question 4

(100101101110)2

Answer

Grouping in bits of 4:

1001undefined100101101110

Binary Equivalent
Number Hexadecimal

1110 E (14)

0110 6

1001 9

Therefore, (100101101110)2 = (96E)16

Question 5

(9894)10

Answer
16 Quotient Remainder

16 9894 6

16 618 A (10)

16 38 6

16 2 2

Therefore, (9894)10 = (26A6)16

Question 6

(4966)10

Answer

16 Quotient Remainder

16 4966 6

16 310 6

16 19 3

16 1 1

Therefore, (4966)10 = (1366)16

Short Answer Questions

Question 1

What are the different types of number systems that a computer deals with?

Answer
The different types of number systems are:

1. Binary Number System


2. Octal Number System
3. Decimal Number System
4. Hexadecimal Number System

Question 2

What is meant by the following terms? Give an example of each.

(a) An octal number


(b) A hexa-decimal number

Answer

(a) An Octal number — An octal number uses 8 types of digits — 0, 1, 2, 3, 4, 5, 6,


7. It is represented with base 8.

(b) A hexa-decimal number — A Hexa-decimal number uses 16 types of digits (0 to


15). To represent digits from 10 to 15 it uses letters from A to F respectively. It is
represented with base 16.

Question 3a

Give two differences between Binary number and Decimal number

Answer

Binary number Decimal number

It uses 2 digits — 0 and 1. It uses 10 digits — 0 to 9.

It uses base 2. It uses base 10.

Question 3b

Give two differences between Octal number and Binary number

Answer

Octal number Binary number

It uses 8 digits — 0 to 7. It uses 2 digits — 0 and 1.


Octal number Binary number

It uses base 8. It uses base 2.

Common questions

Powered by AI

The four different number systems used by computers are: 1. Binary Number System: It uses two digits, 0 and 1, and has a base of 2. 2. Octal Number System: It uses digits from 0 to 7, with a base of 8 . 3. Decimal Number System: It uses digits from 0 to 9 and has a base of 10 . 4. Hexadecimal Number System: It uses 16 distinct symbols (0 to 9 and A to F, where A to F represent numbers 10 to 15) and has a base of 16 .

Errors in binary conversion can lead to significant misinterpretation, as each bit carries specific positional value. For example, if '10101' is misconverted as '10001', the decimal equivalency changes from 21 to 17, potentially altering calculations or decisions based on the number .

When converting decimal numbers to binary, remainders are recorded starting with the Least Significant Bit (LSB) up to the Most Significant Bit (MSB). This systematic approach ensures each binary digit is placed correctly, reflecting the power of 2 at its respective position in the binary number .

Grouping binary digits in sets of four is crucial when converting to hexadecimal because each 4-bit binary group directly corresponds to a single hexadecimal digit. This makes conversion straightforward and minimizes the potential for error. For instance, the binary number '110011101111' is grouped into '1100', '1101', '1111', which converts to 'C', 'D', 'F' in hexadecimal .

Octal and hexadecimal numbers are preferred because they significantly compact the representation of binary code, reducing error likelihood and improving readability. They group binary digits into threes or fours, respectively, consolidating lengthy binary streams into fewer digits without loss of information .

Numbers in the octal system can be converted to their binary equivalents by expressing each octal digit as a 3-bit binary number. For instance, the octal number '3' is converted to binary as '011', and '6' as '110'. This is because octal digits range from 0 to 7, and each can be represented with 3 bits .

Conversion between number systems is vital in computing for data interpretation, processing, and memory allocation. It ensures compatibility across systems with distinct bases, aids in low-level programming, and facilitates communication between hardware and applications by aligning with machine-preferrable formats .

Bases determine the number of unique digits in a number system and how place values change. For example, the decimal system (base 10) uses digits 0-9, binary (base 2) uses 0 and 1, octal (base 8) includes 0-7, and hexadecimal (base 16) encompasses 0-9 and A-F. Each system's base dictates digit value and numeric expression .

The hexadecimal number system is useful in computing because it allows compact representation of binary codes. Each hexadecimal digit corresponds to a 4-bit binary sequence, thereby reducing the length of binary strings and making it easier for humans to read. For example, the binary sequence '1101' can be compactly represented as 'D' in hexadecimal .

Converting decimal to binary involves iteratively dividing the number by 2, recording remainders, and arranging them from LSB to MSB. For instance, converting 78: divide by 2 to get remainders: 0, 1, 1, 1, 0, 0. These remainders are read in reverse as '1001110' in binary .

You might also like