Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

CS 33: COMPUTER ORGANIZATION

Computer Science Department


University of California, Los Angeles
Dr. John A. Rohr
Fall 2007

NUMBER BASE CONVERSION EXERCISES


Convert the following binary numbers to decimal.
1.
2.
3.
4.
5.
6.
7.
8.

11
1000
1011
101
1111
10101
10011
10111

9.
10.
11.
12.
13.
14.
15.
16.

11011
100110
101101
100001
110110
110000
101000
111101

17.
18.
19.
20.
21.
22.
23.
24.

1010111
1000001
1001110
1001000
1
1111111
1100000
1101011

25.
26.
27.
28.
29.
30.
31.
32.

1000100
110101
1011110
1101101
1000000
11001
101010
100000

33.
11000000
34.
10101101
35.
10110100
36.
10000000
37.
101111011
38.
11111010
39. 1000000000001
40. 111111111111111

Convert the following octal numbers to decimal.


41.

42.

16

43.

345

44. 1752

45.

1800

49. 14FG

50.

BEAD

75.
76.
77.
78.
79.
80.
81.
82.

117
59
108
123
52
64
111
49

83.
84.
85.
86.
87.
88.
89.
90.

224
153
211
256
511
2049
8192
12288

94.

543

95.

1755

Convert the following hexadecimal numbers to decimal.


46.

47.

BE

48.

ABE

Convert the following decimal numbers to binary.


51.
52.
53.
54.
55.
56.
57.
58.

6
13
3
27
9
18
21
15

59.
60.
61.
62.
63.
64.
65.
66.

31
17
42
35
47
28
57
48

67.
68.
69.
70.
71.
72.
73.
74.

77
55
63
85
105
82
73
66

Convert the following dcimal numbers to octal.


91.

92.

15

93.

513

Convert the following decimal numbers to hexadecimal.


96.

13

97.

237

98. 3054

99. 7597

100.

57005

CS 33: COMPUTER ORGANIZATION


Computer Science Department
University of California, Los Angeles
Dr. John A. Rohr
Fall 2007

NUMBER BASE CONVERSION OPPOSITES


Convert the following decimal numbers to binary.
1.
2.
3.
4.
5.
6.
7.
8.

3
8
11
5
15
21
19
23

9.
10.
11.
12.
13.
14.
15.
16.

27
38
45
33
54
48
40
61

17.
18.
19.
20.
21.
22.
23.
24.

87
65
78
72
1
127
96
107

25.
26.
27.
28.
29.
30.
31.
32.

68
53
94
109
64
25
42
32

33.
34.
35.
36.
37.
38.
39.
40.

192
173
180
128
379
250
4097
16383

44. 1002

45.

Invalid

48813

Convert the following decimal numbers to octal.


41.

42.

14

43.

229

Convert the following decimal numbers to hexadecimal.


46.

10

47.

190

48. 2750

49.

Invalid

50.

75.
76.
77.
78.
79.
80.
81.
82.

1110101
111011
1101100
1111011
110100
1000000
1101111
110001

83.
11100000
84.
10011001
85.
11010011
86.
100000000
87.
111111111
88.
100000000001
89. 10000000000000
90. 11000000000000

94.

1037

95.

1DAD

100. DEAD

Convert the following binary numbers to decimal.


51.
110
52.
1101
53.
11
54. 11011
55.
1001
56. 10010
57. 10101
58.
1111

59.
60.
61.
62.
63.
64.
65.
66.

11111
10001
101010
100011
101111
11100
111001
110000

67.
68.
69.
70.
71.
72.
73.
74.

1001101
110111
111111
1010101
1101001
1010010
1001001
1000010

Convert the following octal numbers to decimal.


91.

92.

17

93.

1001

3333

Convert the following hexadecimal numbers to decimal.


96.

97.

ED

98.

BEE

99.

You might also like