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

.

+ 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

Latest Activity

+ ! ! ! ! ! ! maho+++ liked + ! ! ! ! ! ! ! ! ! ! ! ! ! ! !'s discussion Hamesha sath rehne ki aadat kuch nahin hoti
21 minutes ago
+ ! ! ! ! ! ! maho+++ replied to + ! ! ! ! ! ! ! ! ! ! ! ! ! ! !'s discussion Hamesha sath rehne ki aadat kuch nahin hoti
22 minutes ago
+ ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! posted a discussion
34 minutes ago
abdul ghafoor replied to + M.Tariq Malik's discussion PSY101 Introduction to Psychology Assignment No 01 Fall 2019 Solution & Discussion in the group PSY101 Introduction to Psychology
38 minutes ago
+ ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! replied to ٹمبکٹو's discussion محبّت اور دل - عشق مجازی
41 minutes ago
+ Iuuoɔǝut + posted discussions
53 minutes ago
+ Iuuoɔǝut + replied to ٹمبکٹو's discussion محبّت اور دل - عشق مجازی
56 minutes ago
+ Iuuoɔǝut + replied to + "J ɨ y ą ⋆'s discussion Mohabat
1 hour ago
+ Iuuoɔǝut + replied to + "J ɨ y ą ⋆'s discussion Hona chahy tha.......
1 hour ago
+ ! ! ! ! ! MySterIouS replied to ٹمبکٹو's discussion محبّت اور دل - عشق مجازی
1 hour ago
+ "J ɨ y ą ⋆ replied to + M.Tariq Malik's discussion CS402 Assignment No 01 Fall 2019 Solution & Discussion Due Date: 15-11-2019 in the group CS402 Theory of Automata
2 hours ago
+ "J ɨ y ą ⋆ joined + M.Tariq Malik's group
2 hours ago
+ "J ɨ y ą ⋆ posted discussions
2 hours ago
+ "J ɨ y ą ⋆ liked + ! ! ! ! ! ! BLaiRe ! !+'s blog post ***NooR E KeyAnAT******HaPpy BiRtH DaY
2 hours ago
+ "J ɨ y ą ⋆ liked +¢αяєℓєѕѕ gιяℓ's blog post Now No One Can Break me.........!
2 hours ago
+ "J ɨ y ą ⋆ liked + ! ! ! ! ! ! maho+++'s blog post muhabat k nam pegham
2 hours ago
+ "J ɨ y ą ⋆ liked + ! ! ! ! ! ! ! Ayesha +++'s blog post some suggestions of Hazrat Muhammad (PBUH)
2 hours ago
+ "J ɨ y ą ⋆ liked + ! ! ! ! ! ! maho+++'s blog post Muhammad Mustafa Aye Bahar Andar Bahar Aaye
2 hours ago
+ "J ɨ y ą ⋆ liked + ! ! ! ! ! MySterIouS's blog post + Beginning +
2 hours ago
+ "J ɨ y ą ⋆ liked + ! ! ! ! ! MySterIouS's blog post + Attitude +
2 hours ago

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

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