loading...

CS609 VU Assignment No. 3 Spring 2012 Solution

Part a)  08 Marks

Refer to section Computer to Computer connectivity via PPI in your course handouts…You have studied in this course that using parallel port, we can transmit One Byte at once and thus it is faster than serial communication. You can also find the details of the procedure that describes how to achieve communication via parallel port between two computers. It is amazing to see that in this protocol, Byte is not transmitted as a whole; rather it is transmitted in the form of Nibbles. You are required to answer the following question.

Is it possible to transmit One Byte data at once via PPI between two computers? If yes then How and if not then why?

SOLUTION#1:

 Computer to computer connectivity:

In the computer to computer to computer connectivity through PPI we uses the parallel port . it is a faster communication. It is not possible in computer to computer connectivity via PPI to transfer the whole Byte.

Because 5 pins are attached to the next computer data pins. 5th pin is for hand shaking.

And vice versa.

4 pins transfer the nibble.

10, 11, 12, 13, 15   pins are used

 

In the LPT these are alike.

 

2 ————– 15

3__________  13

4______________  12

5 ______________ 10

6___________       11

 

 

Part b) 12 Marks

Represent the following given digital numbers in packed BCD format and also tell how much memory (Bytes) will be required for its storage. Give answers by filling the following table with desired information.

S.No.

Given Number

Required memory (Bytes) in ASCII

BCD representation in Hexadecimal format

Required memory (Bytes) in packed BCD

1. 0x123456 (in Hexadecimal)
2 123456     (in Decimal)

 Solution 2 Marks

Represent the following given digital numbers in packed BCD format and also tell how much memory (Bytes) will be required for its storage. Give answers by filling the following table with desired information.

S.No.

Given Number

Required memory (Bytes) in ASCII

BCD representation in Hexadecimal format

Required memory (Bytes) in packed BCD

1. 0x123456 (in Hexadecimal) 37 hex 0x123456 4 byte
2 123456     (in Decimal) 36 hex 0x1E240 3 byte
DOWNLOAD SOLUTION HERE
loading...