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


Dear Students! Share your Assignments / GDBs / Quizzes files as you receive in your LMS, So it can be discussed/solved timely. Add Discussion

How to Add New Discussion in Study Group ? Step By Step Guide Click Here.

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

.

+ 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

koi Borland softwer ka link he share kar do to thek wala version ho 

C language ka best software kn sa ha 

  us ka link be share kar do

i facw same prob ... code error de rha ha ???

plzz koe solution bta dy is assignment ka......

Connect interval timer to speaker and turned it on

Solution

#include
#include
voide main()
{
outportb (0x43,0xB4);
outportb (0x42,0xFF);
outportb (0x43,0x21);
outportb (0x61,inportb(0x61)| 3);
getch();
outportb (0x61,inportb(0x61)& 0xFC);
}

is it right ????

any one tell me

yae ap nay run kar k dakha hai?

idea of question no 02:

#include

int main()
{
char line[150];
int i, j;
printf("Enter a string: ");
gets(line);

for(i = 0; line[i] != '\0'; ++i)
{
while (!( (line[i] == 'b' && line[i] == 'c') || (line[i] == 'B' && line[i] == 'C') || line[i] == '\0') )
{
for(j = i; line[j] != '\0'; ++j)
{
line[j] = line[j+1];
}
line[j] = '\0';
}
}
printf("Output String: ");
puts(line);
return 0;
}

plz koi tu c me ans load kr dy plzzzzzzzzz

mujy tu yae nh maloom k header files konsi use karni hain

Attachments:

8 error arahy hain

RSS

Today Top Members 

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

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

.