The distributed automatic program evaluation architecture provided a more effective, veracious and applicable mechanism to implement a program evaluation system. By using the Trojan technology in passive mode, the architecture ensured the security in communication and evaluation, and it didn't make the evaluation system use any CPU or memory resource when running the sample program. It kept the sample program running in the same environment in developing and evaluating. By using the rule database and the filter program, the flexibility and applicability were improved. The architecture is suitable for many kinds of sample program. An application system was also implemented for the computer programming examinations and programming contest. After many practices, it is proved to be more efective, secure and flexible.