(c) Consider an 8-bit data 11100010 along with its Single Error Correcting (SEC) code bits was sent across a communication channel and was received at the destination as 01100010. (You may assume that all the Single Error Correcting code bits that were sent were received correctly at the destination). Find out the SEC bits that were generated at the Source and at the destination of data. Show how these error correcting bits can be used to flag and correct the error in the received data.(2 Mark)
Ready assignment for IGNOU BCA student A platform to get Interacted with thier problems & Question .Any one can post any Question For further reference mail me at pksuman91@gmail.com pksuman91@yahoo.co.in
Feb 18, 2010
Feb 17, 2010
cs-64 COMPUTER ORGANIZATION
(b) Perform the following arithmetic operations using binary Signed 2’s complement notation. (Please note that all the numbers given in this question are in decimal notation). Use only 8 bit representation. Indicate the overflow, if any. (1 Mark)
(i) +35 – 75
(ii) –35 – 93
(iii) +35 – (–93)
(iv) +35 – 24
ANS:
–75 in 8 bit binary = 1 0110101 ( 2's complement of 75)
-------------------------------------------------
–40 in 8 bit binary = 1 1011000 ( 2,s complement of 40)
–35 = 1 1011101 (2' complement of 35)
–93 = 1 0100011 (2' complement of 93)
–128 = 11 0000000 (2' complement of 128)
–(–93) = 0 1011101
------------------------------
128 = 1 0000000
–24 = 1 1101000 ( 2's complement of 24)
-----------------------------
+11 = 10 0001011 ( 1 is excluded or is left)
(i) +35 – 75
(ii) –35 – 93
(iii) +35 – (–93)
(iv) +35 – 24
ANS:
i) +35 – 75 = (+35) +(–75)
+35 in 8 bit binary = 0 0100011–75 in 8 bit binary = 1 0110101 ( 2's complement of 75)
-------------------------------------------------
–40 in 8 bit binary = 1 1011000 ( 2,s complement of 40)
ii) –35 –93 = (–35) + (–93)
–35 = 1 1011101 (2' complement of 35)
–93 = 1 0100011 (2' complement of 93)
–128 = 11 0000000 (2' complement of 128)
iii) +35 - (-93) = +35 +93
+35 = 0 0100011–(–93) = 0 1011101
------------------------------
128 = 1 0000000
iv) +35 – 24 = +35 + (–24)
+35 = 0 0100011–24 = 1 1101000 ( 2's complement of 24)
-----------------------------
+11 = 10 0001011 ( 1 is excluded or is left)
cs-64 COMPUTER ORGANIZATION
Course Code : CS-64
Course Title : Introduction to Computer Organisation
Assignment Number : BCA (4)-64/Assignment/2010
Maximum Marks : 25
Last Date of Submission : 30th April, 2010 (For January Session)
here are three questions in this assignment. Answer all the questions. You may use illustrations and diagrams to enhance your explanations. You may use illustrations and diagrams to enhance the explanations. Please go through the guidelines regarding assignments given in the Programme Guide for the format of presentation. Answer to each part of the question should be confined to about 300 words.
Questions 1
(a) Convert the following decimal numbers to binary, octal and hexadecimal. (1 mark)
(i) 1259
(ii) 3500
(iii) 256
(iv) 1039
Ansi)1259
in binary =10011101011in octal =2353
in hexa decimal= 4EB
ii)3500
in binary = 110110101100
in octal=6654
in hexa decimal=DAC
iii)256
in binary = 100000000
in octal = 400
in hexa decimal = 100
iv)1039
in binary = 10000001111
in octal =2017
in hexa decimal =40F
Subscribe to:
Posts (Atom)