Sponsored links

Tuesday 14 May 2013

CS609 System Programming Assignment 02 Solution Spring May 2013


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?
(a) communication through null modem is the best way for long 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.

No comments:

Post a Comment