自动组卷系统开发 毕业论文.doc
南京林业大学本科毕业设计(论文)题目:自动组卷系统开发DevelopmentOfTestpaperAuto-productionSystem学院:信息科技学院专业:计算机科学与技术学号:学生姓名:指导教师:职称:二OO六年五月十八日南京林业大学本科毕业设计自动组卷系统开发i摘要本文首先分析了自动组卷系统在具体的教学活动过程中的实际需求,然后以C语言程序设计的教学为背景,设计与实现了一个实际通用的自动组卷系统,对其中的数据库结构设计以及各个主要模块的实现进行了详细的介绍。本系统可以从试题库中自动的查找和组织出一些不同题型、不同难度、不同章节范围内的试题来组成一份合理的试卷。它采用的是利用试卷的一组特征值,记录用户提供的试卷题目类型、章节分布、难易程度等条件,采用随机算法,借助于系统中的一系列数据文件,使具体课程的相关数据动态地抽象成逻辑数据,用以解决通用问题,线性的规划出一份约束满足的、合理的试卷。本系统的开发工具是powerbuilder9.0,使用的数据库为Access2003。系统分为题库编辑、自动组卷、试卷存储、试卷打印等功能。关键词:自动组卷题库管理数据库powerbuilder9.0南京林业大学本科毕业设计自动组卷系统开发iiAbstractThispaperanalysestheactualdemandofauto-productionfortestpapersysteminthecourseofconcreteteachingactivityatfirst.ThentakingteachingofClanguageprogramdesignasthebackground,itdesignsandrealizesaTestpaperauto-productionsystem.First,itExplainsthedesignforthedatabasestructure,thenintroducesthedetailedonetotherealizationofeachmainmoduleamongthem.Itcanautomaticallyfindandorganizeacertainnumberoftestquestionsinvarioustypeswithdifferentdegreesofdifficultyincertainscopeinthedatabasetoformareasonabletestpaper.Whatitadoptistomakeuseoftotryacharacteristicvalueofwinding,recordingthecustomertoprovideoftryatopictype,chaptertodistribute,difficulteasydegreeetc.condition,adoptionrandomcalculateway,askforhelpfromaseriesofdatadocumentwithinsystem,maketherelateddatadynamicstategroundoftheconcretecourseabstractthelogicdata,resolvetheingeneraluseprobleminorderto,lineprogramastipulationoftosatisfyof,trybookreasonablely.Thedevelopmenttoolofthissystemispowerbuilder9.0,thedatabaseofisAccess2003.Thesystemisdividedintodatabaseedit,testpaperauto-production,testpapersaving,testpaperprintingetc.function.Keywords:TestPaperAuto-production;DatabaseManagementofTestQuestions;Database;Powerbuilder9.0南京林业大学本科毕业设计自动组卷系统开发iii目录前言.1第一章系统分析.21.1系统目标.21.2系统需求分析.2第二章系统总体设计.4第三章开发工具及开发环境.63.1总体开发工具及环境.63.2开发工具简介.63.3数据库的选择.73.4SQL基础.83.5SQL语句.9第四章数据库的开发与设计.104.1数据库需求分析.104.2系统逻辑分析.114.3数据库的连接.134.3.1程序设计时与数据库的连接.144.3.2程序运行时与数据库的连接.14第五章组卷策略设计.165.1自动组卷系统.165.2自动组卷中随机数选取问题.165.3自动组卷的具体实现.175.4试卷难度的程序控制.18第六章在PB中创建WORD文档.206.1PB通过OLEOBJECT使用WORD.206.2创建模板文件.216.3编写程序.22第七章系统模块页面和代码设计.267.1应用程序对象设计.267.2系统登录模块.267.3主程序界面设计.277.4菜单的设计.287.5帐号管理模块.297.6题库管理模块.317.7自动组卷模块.347.8试卷管理模块.377.9关键技术.38