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

.

+ 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

+ ՏhehαrZααD + replied to + ! ! ! ! ! ! ! ! ! ! ! ! ! ! !'s discussion روح کے زخم
2 hours ago
+ ՏhehαrZααD + liked 彡JK彡 ❤️'s discussion ............. ایک تلخ حقیقت..........
2 hours ago
+ ! ✨ ░S░I░N░G░E░R replied to 彡JK彡 ❤️'s discussion ............. ایک تلخ حقیقت..........
3 hours ago
+ ! ✨ ░S░I░N░G░E░R replied to + ! ! ! ! ! ! ! ! ! ! ! ! ! ! !'s discussion روح کے زخم
3 hours ago
+ ! ✨ ░S░I░N░G░E░R liked + ! ! ! ! ! ! ! ! ! ! ! ! ! ! !'s discussion روح کے زخم
3 hours ago
+ ! ✨ ░S░I░N░G░E░R liked +¢αяєℓєѕѕ gιяℓ's discussion عزت وہ ہے جس میں ہمارا قلب مطمئن ہوتا ہے
3 hours ago
+ ! ✨ ░S░I░N░G░E░R replied to + sílєnzíσ's discussion If fb, google nd youtube would have been subjects..... !!!!!!!!!!!!
3 hours ago
+ ! ✨ ░S░I░N░G░E░R replied to 彡JK彡 ❤️'s discussion ............. ایک تلخ حقیقت..........
3 hours ago
+ ! ✨ ░S░I░N░G░E░R liked 彡JK彡 ❤️'s discussion ............. ایک تلخ حقیقت..........
3 hours ago
+ ! ✨ ░S░I░N░G░E░R replied to +++STUDENT+++'s discussion Bya namaz
3 hours ago
+ ! ✨ ░S░I░N░G░E░R liked ++!!! Drama Queen's discussion !!!!!!!!!!!!!! KOn hay GALAT.............??????
3 hours ago
saniya gul joined + M.Tariq Malik's group
6 hours ago
saniya gul joined + M.Tariq Malik's group
6 hours ago
saniya gul joined + M.Tariq Malik's group
6 hours ago
saniya gul joined + M.Tariq Malik's group
6 hours ago
saniya gul joined + M.Tariq Malik's group
6 hours ago
Mahim Ch replied to + M.Tariq Malik's discussion VU Students Reserves The Right to Delete Any Profile On the Site
7 hours ago
Hadi updated their profile
8 hours ago
彡JK彡 ❤️ liked +¢αяєℓєѕѕ gιяℓ's discussion عزت وہ ہے جس میں ہمارا قلب مطمئن ہوتا ہے
8 hours ago
+ M.Tariq Malik liked + M.Tariq Malik's discussion 111 Solved MCQs of Financial Management MGT201
8 hours ago

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

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