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

+ M.Tariq Malik's 2 discussions were featured
12 seconds ago
+ M.Tariq Malik liked + M.Tariq Malik's discussion BIT710 Computer Network (Handouts) All Lectures Power Point Slides ( BIT710 All 45 lectures PPT slides)
18 seconds ago
+ M.Tariq Malik added a discussion to the group BIT710 Computer Network
1 minute ago
+!!mano stella + liked +!!mano stella +'s blog post Khuda Ki Mohabbat
11 minutes ago
+ M.Tariq Malik commented on +!!mano stella +'s blog post Khuda Ki Mohabbat
14 minutes ago
+ M.Tariq Malik liked +!!mano stella +'s blog post Khuda Ki Mohabbat
15 minutes ago
+!!mano stella + posted a blog post
15 minutes ago
Profile IconShahrukh, ZAINAB IJAZ, rimsha pervaiz and 2 more joined Virtual University of Pakistan
21 minutes ago
+ M.Tariq Malik replied to + Iuuoɔǝut+'s discussion islamic banking introduction and working
44 minutes ago
+ M.Tariq Malik liked + Iuuoɔǝut+'s discussion islamic banking introduction and working
44 minutes ago
+ M.Tariq Malik replied to + Iuuoɔǝut+'s discussion Tum Theak ja Rhe ho
45 minutes ago
+ M.Tariq Malik liked + Iuuoɔǝut+'s discussion Tum Theak ja Rhe ho
46 minutes ago
+ M.Tariq Malik replied to + Iuuoɔǝut+'s discussion Mohabbat ki manzil
46 minutes ago
+ M.Tariq Malik liked + Iuuoɔǝut+'s discussion Mohabbat ki manzil
46 minutes ago
+ M.Tariq Malik liked + Iuuoɔǝut+'s discussion Mohabat aur Shadi
47 minutes ago
Naser Javed (BBIT-6) updated their profile
47 minutes ago
ZAINAB IJAZ liked + M.Tariq Malik's group ENG502 Introduction to Linguistics
54 minutes ago
ZAINAB IJAZ liked + M.Tariq Malik's group ENG501 History of English Language
55 minutes ago
+ M.Tariq Malik liked + M.Tariq Malik's discussion Fall 2019 2nd Merit List of Candidates Eligible for Admission
1 hour ago
+ M.Tariq Malik posted discussions
1 hour ago

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

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