Windows NT Systems Programming: Spring 1999
[ Home | Syllabus | Course Notes | Assignments | Search]
Assignment 5
REACTION TIME TESTER: This program
tests the users reaction time. When the program is started it will display a rectangle in
a random position on the screen. The user must click the mouse inside this rectangle. The
program will then move the rectangle to another randomly chosen place and the user will
again click the mouse in that window. The program will measure the reaction time between
the display and click as well as record any false clicks (clicks outside the rectangle).
It will display the average reaction time and number of total and false clicks.
Due: Feb 25.
FUNCTIONAL REQUIREMENTS:
- The user can choose the difficulty of the test which determines
the size of the rectangle. There should be at least three levels of difficulty (three
different sizes of the rectangle).
- There should be a start and stop button.
- Before starting the test, the user can type his/her name.
- After pressing the stop button, the program will display the final results along with
the user's name (e.g. "Congratulations Chris Wild, your accuracy was 100% and your
reaction time was .25 seconds")
IMPLEMENTATION REQUIREMENTS:
- Your program must use at least one CButton, CEdit and CStatic object.
- The user should not be able to type into the areas which display the results.
- The average reaction time and accuracy displays will be updated during the testing.
- Only one testing rectangle should appear at a time.
Copyright chris wild 1999.
For problems or questions regarding this web contact [Dr.
Wild].
Last updated: February 09, 1999.