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

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.

BEST OF LUCK

+ Click Here To Join also Our facebook study Group.

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


See Your Saved Posts Timeline

Views: 5729

.

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

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

Attachments:

Replies to This Discussion

koi to discuss kr lo is assin ya mri trhan ye subjct kisi ko b ni ata.....

please disucss solution

Q.4. Which interrupt and its service used to initialize the printer?

      interrupt INT 17H 

        service number 01

Q.3. Where the PPI exists?

 it exist between CPU and parallel I/O devices ports.(not sure)

some Solved... Solution Idea

Best of luck

solved file

question #3 is right.....:) @abi

koe to idea dae day

google search kr k dekh li but unique quizes of VU,,,,

last tym bi google kam ne kr rahai thi....

kahan se mile ga idea

For Q#2

see book page 94

quite helpful :)

Q.1. Which type of communication is feasible for a large distance?

Serail communication.

Q.2. Which signals performs Handshaking and Polling?

r *d (data ready)

strobe signal

Q.3. Where the PPI exists?

PPI act  an interface  between I/O and CPU.

Q.4. Which interrupt and its service used to initialize the printer?

INt.17H/01H

Q.5. Why we initialize the printer when it is already in ready state?

to check the status of printer. i thnk...not cnfrmed yet

Q.6. Which BIOS routine supports the LPT4 and how?

Bios does not support LPT4. it just support LAPT1, LPT2, LPT3

Q.7. If the printer is connected at LPT1, where and what value should you placed?

At LPT1= DX register conatain value 0. 

AH register returns printer status. 

 




kashf

great thanks

it would be more helpful if you provide reference with each answer , as it will make easy for everyone to be sure about it.

RSS

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

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