Computer Awareness - Computer Awareness-6
Computer Awareness - Computer Awareness-6
Computer Awareness - Computer Awareness-6
COMPUTER AWARENESS-6
Number System
Note: Octal System is a 3-bit representation of the digits used i.e. 23=8; Hexadecimal
system is a 4-bit representation of the digits used i.e. 24=16.
Fixed Point:
Floating point: A number, which has both an integer part and a fractional part, is called a
real or a floating point number. These numbers can be either positive or negative.
The numbers are representing in scientific form.
Fixed Point: Decimal point has to be place by the user himself to the correct result. It
does not make any distinction between positive / negative number.
Floating point: Automatically keeps track of the position of the binary or decimal point.
If the number us negative it indicates as the result has 1 at the extreme left of the word.
a) (10101010)2 (?) 10
1
Sreedhar’s CCE
1x27+0x26+1x25+0x24+1x23+0x22+1x21+0x20
128+0+32+0+8+0+2+0 170
b) (10110.101)2 (?) 10
1x24+0x23+1x22+1x21+0x20+1x2-1+1x2-2+1x2-3
16+0+4+2+1/2+0/2+1/8
22+0.50+0.125 22.625
c) (1011010)2 (?) 10
1x26+0x25+1x24+1x23+0x22+1x21+0x20
64+0+16+8+0+2+0 90
d) (101.011)2 (?) 10
1x22+0x21+1x20+0x2-1+1x2-2+1x2-3
4+0+2+0/2+1/4+1/8
5+.25+.125 5.375
a) (123)10 (?) 2
2 123
2 61 1
2 30 1
2 15 0
2 7 1
2 3 1
1 1
2
Sreedhar’s CCE
b) (344.25)10 (?) 2
2 344
2 172 0
2 86 0 .25 x 2
2 43 0 0 .50 x 2
2 21 1 1 .00
2 10 1
2 5 0
2 2 1
1 0
c) (423.25)10 (?) 2
2 423
2 211 1 .25 x2
2 105 1 0 .50x2
2 52 1 1 .00
2 26 0
2 13 0
2 6 1 01
2 3 0
1 1
8 786 .5x8
8 98 2 .40
8 12 2
1 4
4
Ans (786.5)10 (1422.4) 8
b) (1489)10 (?) 8
8 1489
8 186 1
8 23 2
2 7
3
Sreedhar’s CCE
c) (572)10 (?) 8
8 572
8 71 4
8 8 7
1 0
d) (2508)10 (?) 8
8 2508
8 313 4
8 39 1
4 7
a) (4567)8 (?)10
4x83+5x82+6x81+7x80
4x512+5x64+6x8+7x1
2048+320+48+7
2423
b) (0.34)8 (?)10
0x80+3x8-1+4x8-2
0+3/8+4/64
0+0.375+0.0625
0.4375
c) (426.40)8 (?)10
8 426 Reminder
8 53 2
8 6 5
0 6
.40 x 8=5
4
Sreedhar’s CCE
a) (BABA) 16 (?)10
11x163+10x162+11x161+10x160
11x4096+10x256+11x16+10x1
45056+2560+176+10
47802
b) (ABCD) 16 (?)10
10x163+11x162+12x161+13x160
10x4096+11x256+12x16+13x1
40960+2816+192+13
43981
a) (1011.1011)2 (?)8
To convert the given number from binary to octal we will combine the digit in
groups of three adding leading of trailing Zeros wherever required.
13.54
b) (10110111.1)2 (?)8
a) (56.35)8 (?)2
56.35 5 6 . 3 5
101 110 . 011 101
101110.011101
b) (256)8 (?)2
2 5 6
010 101 110
5
Sreedhar’s CCE
010101110
a) (1011.1011)2 (?)16
To convert the given number from binary to octal we will combine the digit in
groups of four adding leading of trailing Zeros wherever required.
1011 . 1011
11 11
11.11
b) (10110111.1)2 (?)16
a) (AD5)16 (?)2
A D 5
1100 1101 0101
b) (A29B) 16 (?)2
A29B A 2 9 B
1010 0010 1001 1011
c) (EF92)16 (?)2
E F 9 2
1110 1111 1001 0010
a) (605)8 (?)16
6
Sreedhar’s CCE
First Method
6x82+0x81+5x80
384+5
(389)10
(389)10 (?)16
16 389
16 24 5
1 8
Second Method
(605)8 (?)2
6 0 5
110 000 101
(110000101)2
(110000101)2 (?)16
a) (6B.3A) 16 (?)8
7
Sreedhar’s CCE
Step 1. 6x161+11x160+3x16-1+10x16-2
6x16+11x1+3/16+10/256
96+11+0.1875+0.0390625
(107.2265625)10