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.

Instructions:

 

Please read the following instructions carefully before submitting assignment. It should be clear that your assignment will not get any credit if:

 

  • The assignment is submitted after due date.
  • The submitted assignment does not open or file is corrupt.
  • You have not followed steps described in Detailed Instructions of the problem statement.
  • Assignment is copied (partial or full) from any source (websites, forums, students, etc.) Strict action will be taken in this regard.

 

Note: You have to upload only .doc or .docx file. Assignment in any other format (extension) will not be accepted and will be awarded with zero marks.

 

Objectives:

 

The objective of this assignment is to provide hands-on experience of System Programming concepts including:

 

  • Typematic Rate
  • Keyboard typing delay

 

 

 

For any assignment related query, contact at CS609@vu.edu.pk

Problem Statement:

 

Q: Write a C program that will change the typematic rate of keyboard with delay of 1/4 second and typematic rate of 3 characters per second by using the following information.

 

Best of Luck!

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

.

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

Replies to This Discussion

Problem Statement:

 

Q: Write a C program that will change the typematic rate of keyboard with delay of 1/4 second and typematic rate of 3 characters per second by using the following information.

 

Solution:

 

#include <dos.h> #include <conio.h> char st [80];

int SendKbdRate(unsigned char data , int maxtry)

{

unsigned char ch; do

{

do

{

ch=inport(0x64);

}while (ch&0x02); outport(0x60,data); do

{

ch = inport(0x64);

}while (ch&0x01); if (ch==0xfa)

{

puts("success\n"); break;

}

maxtry = maxtry - 1;

} while (maxtry != 0); if (maxtry==0)

return 1;

else

 

}

 

return 0;

void main ()

{

//clrscr(); SendKbdRate(0xf3,3); SendKbdRate(0x68,3); gets(st);

}

Ye tu handsout se copy paste kia h

file run karny pr itny error kyu aa rahy hai?

cs609 

c program 

main 

{

unsigned char ch; do

{

do

{

kabhi akthy use nahi ho skty because do  while loop main do ky baad while hi ata hy aor compiler yh error dy raha hy

Please Discuss here about this assignment.Thanks

Our main purpose here discussion not just Solution

Students having same subject can start discussion here to solve assignment, GDB & Quiz and can clear their concepts until solution is provided. 

 

P.S:    Please always try to add the discussion in proper format title like “CS101 Assignment / GDB No 01 Solution & Discussion Due Date: ___________”

Then copy Questions from assignment file and paste in Discussion.

 

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

http://bit.ly/papersvu (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)

CS609 Assignment#03 Solution Fall 2019

below link 

CS609_Assignmnet_03_Solution_Fall_2019_vustudents.ning.com.docx

is this right solution??

CS609 Assignment No.3
Problem Statement::

Question :
Write a C program that will change the typematic rate of keyboard with delay of 1/4 second and typematic rate of 3 characters per second by using the following information.

Answer
Solution

#include < dos.h /span>
#include < conio.h /span>
char st [80];
int SendKbdRate(unsigned char data , int maxtry)

{
unsigned char ch;
do
{
do
{
ch=inport(0x64);
}while (ch&0x02);
outport(0x60,data);
do
{
ch = inport(0x64);
}while (ch&0x01);
if (ch==0xfa)
{
puts("success\n");
break;
}
maxtry = maxtry - 1;
} while (maxtry != 0);
if (maxtry==0)
return 1;
else
return 0;
}
void main ()
{
//clrscr();
SendKbdRate(0xf3,3);
SendKbdRate(0x68,3);
gets(st);
}

RSS

Today Top Members 

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

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

.