This assignment covers topics like data representation, digital logic, and logic diagrams. It includes questions on determining the value of base x, converting numbers into different bases, and simplifying logic diagrams.
Contribute Materials
Your contribution can guide someone’s learning journey. Share your
documents today.
Running head: DATA REPRESENTATION AND DIGITAL LOGIC Assignment 1: Data Representation and Digital Logic Subject Code: ITC544 Student Name Student ID Name of the University Author’s Note
Secure Best Marks with AI Grader
Need help grading? Try our AI Grader for instant feedback on your assignments.
1 DATA REPRESENTATION AND DIGITAL LOGIC Table of Contents Question 1:.......................................................................................................................................2 Question 2:.......................................................................................................................................5 Bibliography....................................................................................................................................8
2 DATA REPRESENTATION AND DIGITAL LOGIC Question 1: a. Determination of the value of base x from the following equation (152)x = (6A)16 => x2+ 5x + 2 * x = 6 * 16 +A => x2+ 5x + 2 * x = 6 * 16 +10 => 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 Therefore, x =8 or, -13 We would consider the positive value as the value of the base x = 8 b. Convert the followings i) 0xBED into 3-base representation => B * 16 * 16 + E * 16 + D => 2816 + 224 + 13 => (3053)10 33053
4 DATA REPRESENTATION AND DIGITAL LOGIC Thus, (162)10= (10100010)2 iii) 1235 into octal representation 81235 81543 8192 823 Therefore, (1235)10= (2323)8 iv) 21.218 into decimal representation =>21.218=(2 * 81) + (1 * 80) + (2 * 8-1) + (1 * 8-2) => 16 + 0.25 + 0.015625 => 17.26562510 c. i) 1's complement Lowest value = 100 Highest value = 011 ii) Two's complement Lowest value = 101 Highest value = 011
5 DATA REPRESENTATION AND DIGITAL LOGIC iii) Signed Magnitude Lowest value =111 Highest value = 011 Question 2: a. The expression obtained from the logic diagram = (a.b)’ Truth table for the expression aba.b(a.b)’ 0001 0101 1001 1110
6 DATA REPRESENTATION AND DIGITAL LOGIC The expression obtained from the logic diagram = a’ + b’ The truth table for the above expression aba’b’a’ + b’ 00111 01101 10011 11000 Therefore, 1stlogic diagram = 2ndLogic diagram b. The following expression is derived from the above diagram: A’. B’ + A.B = X It can be simplified XOR gate:
Secure Best Marks with AI Grader
Need help grading? Try our AI Grader for instant feedback on your assignments.
7 DATA REPRESENTATION AND DIGITAL LOGIC c. X’ + Y’ + XYZ’ => X’ + Y’ + (X’ + Y’ + Z)’ (With the application of De-Morgan’s Law) => (XY (X’ + Y’ + Z))’ (With the application of De-Morgan’s Law) => (XX’Y + XYY’ + XYZ) => (0 + 0 + XYZ) => (XYZ)’ => X’ + Y’ + Z’ (With the application of De-Morgan’s Law) Therefore, X’ + Y’ + XYZ’ = X’ + Y’ + Z’ [Proved]
8 DATA REPRESENTATION AND DIGITAL LOGIC Bibliography Comer, D. (2017).Essentials of computer architecture. CRC Press. Harris, S., & Harris, D. (2015).Digital Design and Computer Architecture: ARM Edition. Morgan Kaufmann. Tanenbaum, A. S. (2016).Structured computer organization. Pearson Education India. Wang, S., & ZHANG, C. (2016). Computer architecture.