We are here with you hands in hands to facilitate your learning & don't appreciate the idea of copying or replicating solutions. Read More>>


Looking For Something at vustudents.ning.com? Click Here to Search

CS609 System Programming Assignment No 3 Solution & Discussion Due Date:04-06-2012

Objective

The objective of this assignment is to enhance your knowledge about;

  • Parallel port Communication
  • Basic concepts BCD and ASCII.

 

Assignment                                                                  

 

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?

 

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)

 

 

 

 

 

Submission

You are required to submit a single MS word file through LMS containing:

  • Justify your answer with solid reasons while answering the question given in Part (a).

Give answers to the questions given in Part (b) in a tabular format.

+ Click Here To Join also Our facebook study Group.

..How to Join Subject Study Groups & Get Helping Material?..


See Your Saved Posts Timeline

Views: 467

.

+ http://bit.ly/vucodes (Link for Assignments, GDBs & Online Quizzes Solution)

+ http://bit.ly/papersvu (Link for Past Papers, Solved MCQs, Short Notes & More)

Replies to This Discussion

Please Discuss here about this assignment.Thanks

For complete assignment see the attached file 

Attachments:

plz anyone help about this assignment cs609 tomorrow is last date

please any one share the solution

plzzzzzzzzzzzzzz any one share solution.

Attachments:

thanks

thanks

Thanks alot

I dont think so that parallel port can communicate in nibble mode only. So, i have doubts on question 01 solution provided. For details of parallel port modes, read IEEE 1284 standards on Parallel port.

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)

SOLUTION#2:

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)

37 hex

0x123456

4 byte

2

123456     (in Decimal)

36 hex

0x1E240

3 byte

 

 

CS609 System Programming

Assignment No 3 Solution

Assignment                                                             

 

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:

 

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)

37 hex

0x123456

4 byte

2

123456     (in Decimal)

36 hex

0x1E240

3 byte

RSS

Latest Activity

© 2019   Created by + M.Tariq Malik.   Powered by

Promote Us  |  Report an Issue  |  Privacy Policy  |  Terms of Service