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

www.bit.ly/vucodes

+ Link For Assignments, GDBs & Online Quizzes Solution

www.bit.ly/papersvu

+ Link For Past Papers, Solved MCQs, Short Notes & More

Assignment

 

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 cs609@vu.edu.pk.

 

 

 

 

+ How to Follow the New Added Discussions at Your Mail Address?

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

+ How to become Top Reputation, Angels, Intellectual, Featured Members & Moderators?

+ VU Students Reserves The Right to Delete Your Profile, If?


See Your Saved Posts Timeline

Views: 6550

.

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

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

+ Click Here to Search (Looking For something at vustudents.ning.com?)

+ Click Here To Join (Our facebook study Group)

Attachments:

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>>

 

Note:-

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°•. 

https://youtu.be/iuw6x1KHLBo?list=PLqhTpPTXj7kfeHjqKALoQzL2aNlWv8D4g

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:
#include
#include
#include
#include

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
a=0d97
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

RSS

Latest Activity

+ ! ! ! ! ᎠixieᎠuຮt꧂ liked + ! ! ! ! ! !blaire's blog post Lets Make .....................Tasbeeh
3 hours ago
+ ! ! ! ! ᎠixieᎠuຮt꧂ liked +!!mano stella +'s blog post Khuda Ki Mohabbat
3 hours ago
+ ! ! ! ! ᎠixieᎠuຮt꧂ liked Biya's blog post Naik Biwi....
3 hours ago
+ ! ! ! ! ᎠixieᎠuຮt꧂ liked Biya's blog post Totay Bhe Jo Tara Toh Zamee p Nahi Girta.....
3 hours ago
+ ! ! ! ! ᎠixieᎠuຮt꧂ liked Biya's blog post Or Tera Raab Bholny wala NAhi. . . .
3 hours ago
+ ! ! ! ! ᎠixieᎠuຮt꧂ liked Biya's blog post Mera Yaqeen HAi. . .. .
3 hours ago
+ ! ! ! ! ᎠixieᎠuຮt꧂ liked + ! ! ! ! ! !blaire's blog post غار سجدہ
3 hours ago
+ ! ! ! ! ! !Aaima Ansari ❤️ replied to + sílєnzíσ's discussion If fb, google nd youtube would have been subjects..... !!!!!!!!!!!!
3 hours ago
彡JK彡 ❤️ replied to +"Certified Gangster"++'s discussion Hosla
5 hours ago
彡JK彡 ❤️ replied to +++Mahoo+++'s discussion apko chun lia jata ha
5 hours ago
Shine--Ex-VUStudent liked + sílєnzíσ's discussion If fb, google nd youtube would have been subjects..... !!!!!!!!!!!!
5 hours ago
Biya replied to Biya's discussion Ehsaas...
5 hours ago
彡JK彡 ❤️ replied to + ! ❤INNOCENT❤'s discussion Akhri Salam Smjh kr
5 hours ago
彡JK彡 ❤️ replied to + !! SARAH's discussion + i dnt knw where it could fit into ur story but it is......!!
5 hours ago
彡JK彡 ❤️ replied to + !! SARAH's discussion + i dnt knw where it could fit into ur story but it is......!!
5 hours ago
彡JK彡 ❤️ replied to Biya's discussion Ehsaas...
5 hours ago
彡JK彡 ❤️ replied to +¢αяєℓєѕѕ gιяℓ's discussion True.....
5 hours ago
彡JK彡 ❤️ replied to + ! ! ! ! Noor E Kayenat's discussion Please Raise Ur Hand !!
5 hours ago
彡JK彡 ❤️ replied to Biya's discussion Aurat Bari Piyari Cheez Hai.. :D
5 hours ago
彡JK彡 ❤️ replied to + Iuuoɔǝut+'s discussion koi asa shaks hua kare ....
6 hours ago

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

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