Please use this identifier to cite or link to this item: https://cuir.car.chula.ac.th/handle/123456789/16141
Title: ตัวควบคุมและคลาสอรรถประโยชน์สำหรับตัวตรวจโปรแกรมอัตโนมัติ
Other Titles: Controller and utility class for automatic program checker
Authors: เฉลิมวุฒิ น้อยอุ่นแสน
Advisors: สมชาย ประสิทธิ์จูตระกูล
Other author: จุฬาลงกรณ์มหาวิทยาลัย. คณะวิศวกรรมศาสตร์
Advisor's Email: Somchai.P@Chula.ac.th
Subjects: จาวา (ภาษาคอมพิวเตอร์)
Issue Date: 2552
Publisher: จุฬาลงกรณ์มหาวิทยาลัย
Abstract: วิทยานิพนธ์ฉบับนี้นำ เสนอตัวควบคุมการตรวจและคลาสอรรถประโยชน์ ที่อำนวยความสะดวกในการพัฒนาตัวตรวจโปรแกรมภาษาจาวา ตัวควบคุมอาศัยกลไกต่าง ๆ ที่มีอยู่ในระบบจาวา เช่น การใช้ตัวจัดการความมั่นคงระบบของจาวาเพื่อป้องกันไม่ให้มีการทำงานที่ไม่ได้รับอนุญาต การสั่งตัวตรวจทำงานแบบแยกหน่วยประมวลย่อยเพื่อควบคุมเวลาการทำงานไม่ให้เกินเวลาที่จำกัดไว้ การใช้ annotation ของจาวาเพื่อกำหนดลักษณะกำกับการตรวจของตัวตรวจ การใช้แฟ้มข้อมูลทดสอบ การห้ามใช้คลาสมาตรฐานที่มีอยู่ในจาวา เป็นต้น นอกจากนี้ยังมีคลาสอรรถประโยชน์ให้บริการ เช่น การจัดเตรียมข้อมูลขาเข้าและอ่านผลจากจอภาพ การเปรียบเทียบผลลัพธ์ทั้งแบบประมาณแบบแม่นตรง การทดสอบการสุ่มคำตอบหรือการคงคำตอบเดี่ยวของเมท็อดแบบบูลีน การทำสำเนาอ็อบเจกต์และการตรวจสอบการเปลี่ยนแปลงสถานะของอ็อบเจกต์ การอ่านค่าและเปลี่ยนค่าภายในอ็อบเจกต์ เป็นต้น โปรแกรมนี้มีขนาดไม่ถึง 91 กิโลไบต์ สามารถแนบไปกับชุดแบบฝึกหัดแต่ละข้อพร้อมตัวตรวจเพื่อให้ผู้เรียนเขียนโปรแกรมได้ฝึกปฏิบัติจริง และตรวจทราบผลของโปรแกรมที่เขียนได้ทันทีทันใด
Other Abstract: This paper presents a controller and a utility class, named JTest101, which facilitates tester developments for assessing Java programs. The test controller uses existing Java platform mechanisms such as using a security manager to protect system resources, limiting tested program's execution time by running the tested program in another thread, using annotation feature to specify testing behaviors. Moreover, prohibit use standard class java, read input and output from file, the system provides frequently used services such as input data preparations, readoutput, compare output for exact match and approximate match, testing random and fixed value of boolean methods, compare state of object, get and set field of object. JTest101's size is only 91KB which can be embedded into each exercise package so that students can practice programmings and instantaneously get assessment feedback
Description: วิทยานิพนธ์ (วท.ม.)--จุฬาลงกรณ์มหาวิทยาลัย, 2552
Degree Name: วิทยาศาสตรมหาบัณฑิต
Degree Level: ปริญญาโท
Degree Discipline: วิทยาศาสตร์คอมพิวเตอร์
URI: http://cuir.car.chula.ac.th/handle/123456789/16141
URI: http://doi.org/10.14457/CU.the.2009.1172
metadata.dc.identifier.DOI: 10.14457/CU.the.2009.1172
Type: Thesis
Appears in Collections:Eng - Theses

Files in This Item:
File Description SizeFormat 
chaluemwut_no.pdf1.02 MBAdobe PDFView/Open


Items in DSpace are protected by copyright, with all rights reserved, unless otherwise indicated.