CS609 Assignment02 Solution Spring 2013 File 1 Due Date: 17/May/2013

No Comments

Assignment No. 02
Semester: Spring 2013
System Programming-CS609

Total Marks: 20
Due Date: 17/May/2013


Instructions:
Please read the following instructions carefully before submitting assignment:

  • You will submit your assignment before or on due date on VU-LMS.
  • Assignment should be completed by your own efforts it should not be copied from internet, handouts or books.
  • You should submit your .doc File via assignment interface at VU-LMS.
  • Assignment sent via Email will not be replied and accepted/graded in any case.
  • If the submitted assignment does not open or file is corrupt, it will not be graded.
  • You will submit solution only in document (.doc or .docx) File.

Objectives:

To understand the use of PPI.

For any query about the assignment, contact at cs609@vu.edu.pk

Assignment Questions

Question 1:                                                                                                                               Marks 08     

Answer the following questions precisely. Do not include irrelevant data in your answers. (1 mark for each)
Q.1. Which type of communication is feasible for a large distance?
Q.2. Which signals performs Handshaking and Polling?
Q.3. Where the PPI exists?
Q.4. Which interrupt and its service used to initialize the printer?
Q.5. Why we initialize the printer when it is already in ready state?
Q.6. Which BIOS routine supports the LPT4 and how?
Q.7. If the printer is connected at LPT1, where and what value should you placed?

Question 2:                                                                                                                               Marks 12     

Write a program to print a file “abc.txt” located on D drive. Your program should perform the following checks before printing a character.  (12 marks)
     i.            Printer has not any communication error.
    ii.            Printer is not busy.
    iii.            Printer must be selected.


Next PostNewer Post Previous PostOlder Post Home

0 comments

Post a Comment