OnlineJudge

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

OnlineJudgeAndyKurniaa,*,AndrewLima,BrendaCheangbaDepartmentofComputerScience,NationalUniversityofSingapore,3ScienceDrive2,117543SingaporebI-OPT,5JalanBesar,OngBanHongLeongBldg,03-01A,208785SingaporeReceived7August2000;accepted13January2001AbstractThisreportdescribesandevaluatestheimplementationandapplicabilityofanautomaticprogrammingassignmentgradingsystemwenamedtheonlinejudge.Wecomparedthiswiththemanualgradingsystemthatiscurrentlybeingusedandshowedthattheautomaticgradingsystem,whenimplementedcarefully,ismoreconvenient,fairer,andmoresecurethantheformer.Wehavesuccessfullytestedthesystemontwocourses.However,furtherstudiesneedtobeconductedtoimprovetheeffectivenessoflearningthroughthissystem.#2001ElsevierScienceLtd.Allrightsreserved.Keywords:Automaticgradingsystem;Onlinejudge;Programmingassignments1.IntroductionProgrammingisoneofthemajorskillstaughtintheDepartmentofComputerScience.Vir-tuallyeveryComputerSciencemoduleinvolvessomeformofprogramming.Needlesstosay,someComputerSciencemodulesrequiremoreprogrammingthanothers.Programmingisaskillacquiredthroughpractice.Tohelpstudentsinthisrespect,program-mingassignmentsaregiventostudents.Thenumberofprogrammingassignmentsrevealshowmuchemphasisonprogrammingamodulehas.Mostofthehigher-levelmoduleswouldassumethatstudentsarealreadycomfortablewithprogramminginvirtuallyanyprogramminglanguage,andthushasonlyonemajorprogrammingprojectthatemphasizesonthetopicbeingcovered,suchasclient-servernetworkingandstatespacesearching.However,modulesthatemphasizeprogramming,suchasProgrammingMethodology,DataStructuresandAlgorithms,andCom-petitiveProgramming,aimtonurturestudentsinprogramming,andhavemanyprogrammingassignmentswithquestionsofvaryingdifficulties.0360-1315/01/$-seefrontmatter#2001ElsevierScienceLtd.Allrightsreserved.PII:S0360-1315(01)00018-5Computers&Education36(2001)299–315*Correspondingauthor.E-mailaddresses:andykurn@comp.nus.edu.sg(A.Kurnia),alim@comp.nus.edu.sg(A.Lim).Consideringhowanundergraduatestudentwouldapplytheeconomicprincipleofmaximizinggainwithminimumefforttobeeffective,programmingassignmentshavetobegradedasother-wisetheywouldnotevenbeattempted.Consequently,teachingstaffneedtogradethestudents’attemptsontheprogrammingassignments.Normally,gradingwouldinvolveseveralpaidgraderstomanuallygothroughallthesourcefilesthatstudentssubmit,eitherinprintedformorelectronically.Thegoinggetstougherasmorestudentstakethemoduleandasmoreprogrammingassignmentsarethrownintothemodule,becausethegradersgetmoreworktodo,possiblywithoutanincreaseintheirpayrate.Manualgrading,asillustratedinSection2,hasitsproblems.Assuch,itwouldbeaworthyandenrichingexperiencetotryanotherapproach.Naturally,theotherapproachtothisproblemwouldbetohavegradingdoneautomatically.Aprogramwouldtakeinanotherprogramandreportitsjudgement,whichwouldthenbetranslatedintonumericalgrades.Thisprogram,likeahumangrader,wouldhavetoknowtheprogrammingquestions.Interestinglyenough,programmingassignmentsforthesemodulesarealgorithmicinnature,andthereforedonotrequirespecialuserinterfaces.Theywouldnot,forexample,needtodelveintotheintricaciesofmachine-specificimplementationssuchasgraphicaluserinterface,mouseinput,prin-teroutput,audiooutput,andsoon.Mostprogramsthatarealgorithmicinnaturewouldonlyneedtotakesomeinputfromthestandardinputinsomeprescribedformat,justasifthisinputweretheoutputofanotherprogram.Theywouldthenprocesstheminmemory,andoutputtheresultsofthecomputationinsomeprescribedformat,readyforyetanotherprogramtoreadintheresultsandmakeuseofthecomputation.Inshort,theywouldactlikeafilter.Byhavingaprogramthatwouldpassintheinput,andanotherprogramthatwouldtakeintheoutputandverifythemforcorrect-ness,itbecomespossibletohavegradingofprogrammingassignmentsdoneautomatically.Whilemanualgradingcanonlybedoneoffline,automaticgradingenablesgradingtobedoneeitherofflineoronline.Beforethedeadline,anofflineautomaticgraderwouldtakeinsubmissions,butwouldotherwisebeidle.Whenthedeadlineisreached,itwouldstartcheckingallsubmissionsthathavebeenreceivedandproduceareportonitsjudgementsonthesesubmissions.Onthecontrary,beforethedeadline,anonlineautomaticgraderwouldtakeinsubmissionsandproduceitsjudgementimmediately,allowingthestudentstodecideiftheywouldliketohaveanotherattemptontheques-tiontoobtainabettermark.Anonlineautomaticgraderwouldonlybeidleafterthedeadline.Inthisproject,weareinvestigatinghowhavinganonlinejudgewouldhelpgrading.WeusedthismethodofgradinginJuly–November1999and2000forCS3233CompetitiveProgramming,inOctober1999forACMProgrammingContestselection,andinJanuary-April2000forCS1102DataStructuresandAlgorithms.C++wastheprogramminglanguageusedforthefirsttwo,andJavawasusedforthethird.Theuseofcomputertechnologiestohelpingradingassignmentsisnotnew.SomesuchworkshavebeenreportedinArnow(1995),ArnowandBradshaw(1999),Kay(1998),Kay,Scott,Isaacson,andReek(1994)andReek(1996).2.FlawsinmanualgradingTraditionally,gradinghasalwaysbeendonemanually.Thisrequiredthestudentstosubmittheirsourcefiles,beitelectronically,printed,orhandwritten.Afterthedeadline,gradingwould300A.K

1 / 17
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功