RanaAyaz says:
Which Algorithm you use to find the accuracy ??
for above query i havent referred any algorithm i have just implemented my logic by referring below link
How to Calculate Typing Speed (WPM) and Accuracy
RanaAyaz says:
second thing how can i apply condition to it to check that the person who is typing is the same person ?
First Implement Login Functionality in your project once the user is login then open new form which is Typing Test once he is done with Test then save the records in database table and while logging In again then check whether the user is already attempted the test or not if attempted then raise a message that you have already attempted test and if not then redirect to testing form.
Refer below link for implementing login functionality.