ITC544 Computer Organisation: Data Representation, Conversion, Logic

Verified

Added on  2023/06/13

|7
|601
|150
Homework Assignment
AI Summary
This assignment solution focuses on data representation and computer architecture principles. It includes converting numbers between different bases (decimal, binary, octal, hexadecimal), performing calculations with one's and two's complements, and simplifying boolean expressions using De-Morgan's Law. The solution demonstrates the equivalence of logical expressions and provides a minimized circuit diagram. Desklib offers a wealth of similar solved assignments and study materials for students.
Document Page
Running head: DATA REPRESENTATION
DATA REPRESENTATION
Name of Student-
Name of University-
Author’s Note-
tabler-icon-diamond-filled.svg

Paraphrase This Document

Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser
Document Page
1DATA REPRESENTATION
Question 1:
a) Given (152) x= (6A) 16
X2 + (5 * X1) + (2 * X0) = (6 * 161) + (10 * 160)
X2 + 5X + 2 = 106
X2 + 5X - 104 = 0
X2 + 13X - 8X – 104 = 0
X(X + 13) – 8(X + 13) = 0
(X - 8) (X + 13) = 0
X = 8 and X = -13
Therefore, X is 8.
(152)8= (6A) 16
b) i) BED = (B * 162) + (E * 161) + (D * 160)
= 2816 + 224 + 13
= (3053)10
(3053)10 =
Page 1 of 7
Document Page
2DATA REPRESENTATION
BED16 = (11012002)3
ii) (321)7 = (3 * 72) + (2 * 71) + (1 * 70)
= (162)10
Again, (162)10 =
(162)10 = (10100010)2
iii) Conversion
Page 2 of 7
Document Page
3DATA REPRESENTATION
Therefore, (1235)10 = (2323)8
iv) As per given question 21.218 = (2 * 81) + (1 * 80). (2 * 8-1) + (1 * 7=8-2)
= 17 + 0.25 + 0.015625
= 17.265625
(21.21)8 = 17.265625
c) i) Negative smallest number for one’s compliment = 100
Positive largest number for one’s compliment = 100
ii) Negative smallest number for two’s compliment = 101
Positive largest number for two’s compliment = 011
iii) Negative smallest number for signed magnitude = 111
Positive largest number for signed magnitude = 011
Page 3 of 7
tabler-icon-diamond-filled.svg

Paraphrase This Document

Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser
Document Page
4DATA REPRESENTATION
Question 2:
a) After generating the output from L.H.S.
A B C D
0 0 0 1
0 1 0 1
1 0 0 1
1 1 1 0
After generating the output from R.H.S.
A B C D E
0 0 1 1 1
0 1 1 0 1
1 0 0 1 1
1 1 0 0 0
So, L.H.S. is same as R.H.S.
Page 4 of 7
Document Page
5DATA REPRESENTATION
b) The two not gate and the and can be minimized as
Can be represented by
Therefore, finalized circuit is
c) X’ + Y’ + XYZ’
= X’ + Y’ + (X’ + Y’ + Z)’ [From De-Morgan’s Law]
= (XY (X’ + Y’ + Z))’ [From De-Morgan’s Law]
Page 5 of 7
Document Page
6DATA REPRESENTATION
= (XX’Y + XYY’ + XYZ)
= (0 + 0 + XYZ)
= (XYZ)’
= X’ + Y’ + Z’ [From De-Morgan’s Law]
= X’ + Y’ + XYZ’ = X’ + Y’ + Z’ [HENCE, PROVED]
Page 6 of 7
chevron_up_icon
1 out of 7
circle_padding
hide_on_mobile
zoom_out_icon
[object Object]