Solution of Assignment No. 02 |
Total Marks: 20
Due Date: 17/May/2013 |
|
Instructions: Please read the following instructions carefully before submitting assignment:
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. |
||
BEST OF LUCK |