0% found this document useful (0 votes)
3 views

Computer Number System

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
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views

Computer Number System

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
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 23

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.

You might also like