Professional Documents
Culture Documents
A) Hexadecimal Number: TASK 1: "B01150019"
A) Hexadecimal Number: TASK 1: "B01150019"
TASK 1: B01150019
a) Hexadecimal number
= 1011 0000 0001 0001 0101 0000 0000 0001 100116
b) 16-bits sign-magnitude
Cannot be represented with 16 bits.
c) 32-bits sign-magnitude
Cannot be represented with 32 bits.
d) 16-bits 2s complement
Cannot be represented with 16 bits.
e) 32-bits 2s complement
Cannot be represented with 32 bits.
b) 16-bits sign-magnitude
Cannot be represented with 16 bits.
c) 32-bits sign-magnitude
Cannot be represented with 32 bits.
d) 16-bits 2s complement
Cannot be represented with 16 bits.
e) 32-bits 2s complement
Cannot be represented with 32 bits.
b) Binary-64
1011 0000 0001 0001 0101 0000 0000 0001 1001
1|011 0000 0001 | 0001 0101 0000 0000 0001 1001
s|
e
|
f
Sign bit (s)
: 1 = negative
Exponent
Fraction
Value
: 1.000101010000000000011001 * 2-254
:
Decimal
H
A
N
Z
I
L
B
D
spac
e
72
65
78
90
73
76
66
68
32
Binary
100
100
100
101
100
100
100
100
100
1000
0001
1110
1010
1001
1100
0010
0100
0000
Hexadeci
mal
48
41
4E
5A
49
4C
42
44
20
b) B01150019
Char
Decimal
B
A
N
Z
I
L
B
D
spac
e
72
65
78
90
73
76
66
68
32
Binary
100
100
100
101
100
100
100
100
100
1000
0001
1110
1010
1001
1100
0010
0100
0000
Hexadeci
mal
48
41
4E
5A
49
4C
42
44
20
APPENDIX
2s complement = 1011 0000 0001 0001 0101 0000 0000 0001 1001
[Signed ve]
= negate 1011 0000 0001 0001 0101 0000 0000 0001 1001
Binary