Sponsored Links


Results 1 to 2 of 2

Thread: CS609 System Programming Assignments No. 02 Fall 2014 Due Date Dec 15, 2014

  1. #1
    Administrator Vuhelper's Avatar
    Join Date
    Apr 2011
    Posts
    9,578

    CS609 System Programming Assignments No. 02 Fall 2014 Due Date Dec 15, 2014

    Sponsored Links1






    CS609 System Programming Assignments No. 02 Discussions and Solutions Fall 2014



    Question 1: [Marks = 10]



    Write a C language program that access the parallel port through BIOS functions and perform following tasks:



    If printer is not online for printing, print a message on screen that

    “Printer is not Ready for printing.”



    If printer is ready and online but busy in printing some job then print a message on screen that

    “Printer is Busy.”



    If printer is ready and free to assign print job but out of paper then print a message on screen that

    “Printer is Out of Paper.”



    If printer is ready to assign print job and have paper in tray too then print a message on screen that

    “Printer is Free to Use.”



    Hint: Use Direct Parallel programming ports registers to have printer status (Base+1)





    Question 2: [Marks = 10]



    Write a C++ program that generates a tune with 5 different pitches, gradually altered from low to high. A delay of half second should be there between each pitch of tune. Program should terminate whenever key ‘S’ is pressed from keyboard.

  2. #2
    Administrator Vuhelper's Avatar
    Join Date
    Apr 2011
    Posts
    9,578
    from page 78 for second question

    Sponsored Links

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. CS609 - System Programming Quiz No. 01 Solutio Spring 2014
    By vuassignments in forum MCQ's & Quiz Discussion
    Replies: 0
    Last Post: 05-21-2014, 04:23 PM
  2. CS609 System Programming Assignment No. 01 Last date 09 May 2014
    By vuassignments in forum Assignments & Solutions
    Replies: 1
    Last Post: 05-07-2014, 05:10 PM
  3. Replies: 2
    Last Post: 01-06-2013, 11:28 PM
  4. Replies: 0
    Last Post: 11-06-2012, 09:35 PM
  5. Replies: 0
    Last Post: 12-20-2011, 11:38 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
-: Vuhelp Disclaimer :-
None of the files shown here are hosted or transmitted by this server. The links are provided solely by this site's users. The administrator's or staff of Vuhelp.net cannot be held responsible for what its users post, or any other actions of its users. You may not use this site to distribute or download any material when you do not have the legal rights to do so. It is your own responsibility to adhere to these terms. If you have any doubts about legality of content or you have any suspicions, feel free to contact us.
Online Education | JhelumSoft