Latest Activity In Study Groups

Join Your Study Groups

VU Past Papers, MCQs and More

We non-commercial site working hard since 2009 to facilitate learning Read More. We can't keep up without your support. Donate.



Question 1                                                                                                                                                                              (05 Marks)

Write Code of following in c.

1-      Connect interval timer to speaker and turned it on

2-      Turn off speaker by clearing least significant bits.


Question 2:                                                                                                                                            (10 Marks)


Write down a TSR program that disables the input of characters ‘b’ and ‘c’ from keyboard.

Scan codes of  'b' and 'c' are given below:

 ‘b’ = 0x30

‘c’ = 0x2E.



NOTE: Do not worry about the output and just concentrate on logic. There should be no error in your program. Do not put any query on MDB about this assignment, if you have any query then email at





Views: 6815


Replies to This Discussion

How to #Run First #BorlandC Progarm Using #Dosbox And #BorlandC #Path-settings #Helpful For #CS609 Students
Note: Watch HD For #Better Quality And Must give Your #Feedback

Please Discuss here about this assignment.Thanks

Our main purpose here discussion not just Solution

We are here with you hands in hands to facilitate your learning and do not appreciate the idea of copying or replicating solutions. Read More>>



For Important Helping Material related to this subject (Solved MCQs, Short Notes, Solved past Papers, E-Books, FAQ,Short Questions Answers & more). You must view all the featured Discussion in this subject group.

For how you can view all the Featured discussions click on the Back to Subject Name Discussions link below the title of this Discussion & then under featured Discussion corner click on the view all link.

Or visit this link 

Click Here For Detail.


.•°How to Download past papers from study groups°•.

How to #Run First #BorlandC Progarm Using #Dosbox And #BorlandC #Path-settings #Helpful For #CS609 Students

ye assignment kisi ko nhui ati kia?

it is the example of interval timer:

void timer_handler (int signum)
static int count = 0;
printf ("timer expired %d times\n", ++count);

int main ()
struct sigaction sa;
struct itimerval timer;

/* Install timer_handler as the signal handler for SIGVTALRM. */
memset (&sa, 0, sizeof (sa));
sa.sa_handler = &timer_handler;
sigaction (SIGVTALRM, &sa, NULL);

/* Configure the timer to expire after 250 msec... */
timer.it_value.tv_sec = 0;
timer.it_value.tv_usec = 250000;
/* ... and every 250 msec after that. */
timer.it_interval.tv_sec = 0;
timer.it_interval.tv_usec = 250000;
/* Start a virtual timer. It counts down whenever this process is
executing. */
setitimer (ITIMER_VIRTUAL, &timer, NULL);

/* Do busy work. */
while (1);

here is the least significant bit in c
bytes[0] = 0
bytes[1] = 1
bytes[2] = 1
bytes[3] = 0
bytes[4] = 0
bytes[5] = 0
bytes[6] = 0
bytes[7] = 1

Abdul is it corect solution...

abdual bahi given me idea of this assigment

Dear Students Don’t wait for solution post your problems here and discuss ... after discussion a perfect solution will come in a result. So, Start it now, replies here give your comments according to your knowledge and understandings....

Yarr I need ready file..

VU ID: Mc150201373
Raja Muzamal Shahzad


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

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