Professional Documents
Culture Documents
159 Individual Assesment - 2022843798
159 Individual Assesment - 2022843798
ASSIGNMENT
LENNUAL Student Name
Firzad Haziqi bin Jamaludin 2022843798 A4CDCS1102B
Student ID Class Declaration Signature
1.
ii. 4166,0 -> hexadec
i. 5521,0 ->
octal ii. 503 is ->
binary
5521:8=690.125 0.125x8 1
=
503:2 = 251.51
Ra 4166:16 =260.3750.375x16:69 *
260 16 16.250.25x16:4
=
125 2 62.5
10.750.7548 6
=
86
=
8 0.0625x16 1
=
=
0.0625
:
1 16
=
=
62 2 3/0
=
10 =
8 = 1.25 0.2548 =2
31 =
2 15.5 1
104616
= =
1 =
8 0.125
= 0.12548=1
15 =
2 7.5
=
7 =
2 3.5
=
1262/8 3 =2 1.5 I
= =
1 2
=
0.5
= I
= 11 / 110 (1/2
38I'gO
2
100100re ⑧
(5,51615
40965126481
x X ↳/ 409625616/
+2
+
28 2 2
2
6712
+
10
1219
256 128 16 2
+
+
+ =
40210
8192 3072 448 8 4/40/10
2:11722,0 40960 256 176 9
+ + + + + +
+
=
842/
vii.331678 base viii. FAIO ix. 10 11 101101 01-octal
- 2
B16 ->
binary
15 11
10
101iollo
7 F A 2 ② B
33/6
1111 1010
= 011011081 110 (1/2 = 00100000 10
112
↑ 1
135538
=
11 + 12
23 -
16
11
iii) iv)
I
2.5,31337 9 A 1 / B is
+ 0100
10
0 1 1 /
500235910
33866410
B164
2 ↳
+
10810 1 10 1 5341023,0 0 1 10 I / I I
362768 2
14 26
12
+
=
vi)
-
6553.
544728
vii)
-
1320a19 viii)3sgsatooneed
85
ix)
+
BI/DE3 is
5A/(416
X)8885s
1155) 38305/3,5 B6BFA7 2 15710
86986
4.Sa.p.30,- binarand
ii) 41.06452510 ->
binary
3.750.75x2
1.51
=
41 2 20.5
= =
19 0.064525x2 0.12905 =
0
0.5 I I
3:2715t
20 =2 10 = ⑨ 0.12905 2
x = 0.258/ ②
11 5 2 2.5 0.5162x2
=
1.0324/
=
2 =
2 =
1 ⑧ 0.0324x2
11.1/ 0.0648 ②
=
1 =
2 = 0.51 0.064842 0.1296
=
Ou
101001,000100
8421
iii) 110110100.0011101101, -octal iv) 41A. D361-binary v) 743.3540 -> nexadeci
et
-
664.16648 = 0100 0001 10 10.11010011 01102
②
1E3.76016
5.
1) 759,0-951,0, in word ii) 7900-4416, in byte iii) 3900,-6541, word
↓
at mr 10i |
(
↓
Id it, bo' 1100
1,,117.7
00000010 11 11 0 111 00000010 1111 0 111 I 0000 1111 0011 1100
1111 (1000100 1001 * 1101 010 0 1111 110101110010
/ +
0
+
110100 1 /
1111/1000100
1000
11010100-end
+ +
-
2nd =0000 1100 1010 (II02
(11/ (1000100 1001
95
e
5
=001000112
= 1(11 ((( 1 010000002
iv) 970-10410, byte v) 0110 0100,- 0101 1001, vi) 011100110110 11102 -0010 1101 1100 10012
# I's * I's
ondtoos ↓ 0110000 /
remand
11010010 0011
oooo....
0118
01101000
+
1001 1000 +
·2nd
Is 1/11 100 ( 1101 0010 0011 0 11 1 /
10016ii
↓
1
+ 1010 "bii, soil did illo
+ 1 =
1111 100k f 1101 0010 0O1 0 111,
10100101
10011000d
01000101
=
*
:
:
5. vii)(240,.-2356.., word vii)53,0-2810, byte i) 0010 0l0K -0011 1101
↓
↓ "100
↓ is
0100 (101 1000 00110101 11000010
100
didi. 0001
100100110100 2nd
0001,1100
0000
-
Is 1/10 0100
+
ools
#
+
100,
1100 00 112
↓(11101101100 11100011 0001 100 1 2510
=
=
2nd * 1/1010002
010'62nd
+ =
-
(11) 0110 1100, 100
110
#
00000100 (10/1000
= (( ( 1 0110 (100 1100
diio 10
111,
"11101000010101
0000 1011
0.16_2nd
+
0000010110000100L
14/210x
=
6. 18
-
i) -
27.5234375,0 ii) 10
27:2 13.51
13 2 6.51
=
=
0.5234375x2:1.046875
0.046875x2 =
0.09375
· -
4.875
0.09375x2 =
0.1875 ⑧
6 =2 3
=
o 0.875x2 =
1.75
3 0.1875x2 =
0.375 0
=
2 1.5
=
0.75x2 1.5
=
= 0.375x2 = 0.75 o
1 2 0.5 / 0.5x 2 1
=
=
0.75 x 2 1.5
"
=
( 1.00111x102
(* 1.1011, 1000011 x2 *
exponent:2
127 +2 179 =
10000001
exponent:4
=
=- ve
mantissa 10111000011000000000000
=
0000001, 10010000,00000000000
7
I 1000001110111000011000000000000
1100
1
!
c,0,9,00,000
1,00,000 1100(11001001,000000000000
>,1,b,c,31010 ! · = 20900000 IEEE
= CID(3000
IEEE
:
7. i) 42D4F0001 ->
10
a 2 D4 = 0 0 0
1100001010101001111000000000000
biased exponent
= 10000101 133
= -
127 6 =
1.1010.18.01111 106 x
118, 1010.0111 (
110 1010
6543210 0.01,
+2
+
+25 2+
2 +
2/ #
64 + 32 8 2 + +
= 0.46875
= 106 +
=
106.46875
8421
ii) BF3600001 - 10
BF36000
↓011 1111001101100000000000000000
biased mantissa
sign
- Ve 1 011110 01101100000000000000000
0 11 11 10 126-127 =-1(exp)
=
-
1
1. 0110 11 x 10
=
0.10 1 1 011
+
ij b 1++is +
0.7109375
= -
0.710937510