Excel操作题自动阅卷系统的设计与实现

合集下载

Excel自动阅卷系统的设计与实现

Excel自动阅卷系统的设计与实现

Excel自动阅卷系统的设计与实现作者:陈子轩来源:《科技资讯》2018年第19期摘要:如今随着现代科技的发展,信息自动化程度的提高,大量的传统手工阅卷方式渐渐走向计算机自动阅卷方式。

采用自动化阅卷,可以大量节约时间成本,并有效提高准确性、公平性、及时性,并在阅卷完成后,可以方便进行各项指标数据分析。

本文基于Excel设计标准化试卷的自动阅卷系统,解决无纸化考试问题,提高了阅卷的效率与公平。

关键词:Excel 函数自动阅卷中图分类号:TP311 文献标识码:A 文章编号:1672-3791(2018)07(a)-0015-02Excel具有丰富的函数处理及强大的数据链接功能,可以通过函数调用实现从一个工作表中链接到另一个工作表的固定单元格内数据。

基于这一功能,可以设计自动阅卷系统。

所谓自动阅卷系统,是指学生采用无纸化Excel试卷进行答题,上传答案后直接由Excel进行答案标准对比,并统计、打印成绩。

采用无纸化答题,可以大量节约物质成本。

1 系统结构及功能设计本系统建立在标准化试卷上,即只有选择题或判断题。

(1)系统分为学生端、教师端。

教师通过网络向学生发放Excel试卷。

学生在试卷规定的位置进行答卷,答卷完成后以自己身份信息(如学号)为文件名进行保存,再提交回给教师。

(2)教师将所有收上来的Excel试卷统一保存在一个文件夹中(以D:\试卷为例),并在标准答案Excel中进行答案比对及分数统计。

通过函数实现在很短的时间内阅出大量试卷成绩。

后续可以给出成绩分布及其他指标分析。

2 具体实现2.1 学生端(1)将所有题目输入到试卷Excel中的Sheet 1工作表中。

(2)在选择项位置设置为下拉菜单形式。

以Excel 2013版为例,操作:数据—数据验证—序列,如图1所示。

(3)进行选择编辑区保护。

为防止学生误删考试题目或进行其他错误修改,需要对非答题区域进行保护。

以 Excel 2013版为例,操作:审阅—保护工作表—设置区域密码,如图2所示。

excel自动阅卷考试系统

excel自动阅卷考试系统

Excel 自动阅卷考试系统一、设计背景考试是学校重要的一个环节,考试的复杂性,谁都知道。

由此,产生了自动阅卷系统,而网上众多的阅卷系统,操作复杂,不是要互联网,就是要安装服务器,连接数据库等,而且制作电子试卷入题库也很复杂、繁琐。

本软件设计简单,易操作,无需互联网,也无需架设服务器、数据库等,是基于Excel软件而设计开发的。

教师只需要将全部word试题复制到Excel模板题库中,接着分发给学生做,然后收卷,最后由本软件自动批阅试卷,统计分数,形成Excel 表格。

方便快捷,无需编程基础,只要您会使用鼠标单击,打开文件即可,其余的交给软件自动完成。

二、使用说明1、试卷制作(制作部分)存在两种方式,由用户灵活选择。

①第一种类型——方便易操作采用的是word试卷与答题卡分开。

(1)对于word试卷,没有任何要求,上面有题目内容,有选项即可。

(2)对于答题卡,必须使用本软件设计的标准答题卡三、使用截图(具体见 VB自动阅卷考试系统)(英文版)Two regulations promulgated for implementation is in the party in power for a long time and the rule of law conditions, the implementation of comprehensive strictly strategic plan, implementation in accordance with the rules and discipline to manage the party, strengthen inner-party supervision of major initiatives. The two regulations supporting each other, the < code > adhere to a positive advocate, focusing on morality is of Party members and Party leading cadres can see, enough to get a high standard; < rule > around the party discipline, disciplinary ruler requirements, listed as "negative list, focusing on vertical gauge, draw the party organizations and Party members do not touch the" bottom line ". Here, the main from four square face two party rules of interpretation: the first part introduces two party Revised regulations the necessity and the revision process; the second part is the interpretation of the two fundamental principles of the revision of laws and regulations in the party; the third part introduces two party regulations modified the main changes and needs to grasp several key problems; the fourth part on how to grasp the implementation of the two regulations of the party. < code > and < Regulations > revised the necessity and revised history of the CPC Central Committee the amendment to the Chinese Communist Party members and leading cadres honest politics several guidelines > and < Chinese Communist Party discipline and Punishment Regulations > column 1 by 2015 to strengthenparty laws and regulations focus. Two party regulations revision work lasted a Y ears, pooling the wisdom of the whole party, ideological consensus, draw historical experience, respect for the wisdom of our predecessors, which reflects the unity of inheritance and innovation; follow the correct direction, grasp the limited goals, adhere to the party's leadership, to solve the masses of the people reflect a focus on the problem. The new revision of the < code > and < rule >, reflects the party's 18 and the eighth session of the third, the spirit of the fourth plenary session, reflecting the experience of studying and implementing the General Secretary Xi Jinping series of important speech, reflects the party's eighteen years comprehensive strictly practice. (a) revised two regulations of the party need of < the ICAC guidelines > in < in 1997 Leaders as members of the Communist Party of China clean politics certain criteria (Trial) > based on revised, the promulgation and implementation of January 2010, to strengthen the construction of the contingent of leading cadres play an important role. But with the party to manage the party strictly administering the deepening, has not been able to fully meet the actual needs. Content is too complicated, "eight prohibition, 52 are not allowed to" hard to remember, and also difficult to put into practice; the second is concisely positive advocated by the lack of prohibited provisions excessive, no autonomy requirements; the third is banned terms and discipline law, both with the party discipline, disciplinary regulationsrepeat and Criminal law and other laws and regulations repeat; the fourth is to "clean" the theme is not prominent, not for the existing problems, and is narrow, only needle of county-level leading cadres above. < rule > is in 1997 < Chinese Communist Party disciplinary cases (Trial) > based on revision, in December 2003 the promulgation and implementation, to strengthen the construction of the party play very important role. Along with the development of the situation, which many provisions have been unable to fully meet the comprehensive strictly administering the practice needs. One is Ji law, more than half of the provisions and criminal law and other countries laws and regulations Repetition; two is the political discipline regulations is not prominent, not specific, for violation of the party constitution, damage the authority of Party Constitution of misconduct lack necessary and serious responsibility to pursue; third is the main discipline for the leading cadres, does not cover all Party members. Based on the above situation, need to < the criterion of a clean and honest administration > and < rule > the two is likely to be more relevant regulations first amendment. By revising, really put the authority of Party discipline, the seriousness in the party tree and call up the majority of Party members and cadres of the party constitution of party compasses party consciousness. (II) two party regulations revision process the Central Committee of the Communist Party of China attaches great importance to two regulations revision . Xi Jinping, general books recorded in the FifthPlenary Session of the eighth session of the Central Commission for Discipline Inspection, on the revised regulations < > made clear instructions. According to the central deployment, the Central Commission for Discipline Inspection from 2014 under six months begin study two regulations revision. The Standing Committee of the Central Commission for Discipline Inspection 4 review revised. Comrade Wang Qishan 14 times held a special meeting to study two regulations revision, amendment clarifies the direction, major issues of principle, path and target, respectively held a forum will listen to part of the province (area) secretary of the Party committee, Secretary of the Discipline Inspection Commission, part of the central ministries and state organs DepartmentThe first party committee is mainly responsible for people, views of experts and scholars and grassroots party organizations and Party members. Approved by the Central Committee of the Communist Party of China, on 7 September 2015, the general office of the Central Committee of the Party issued a notice to solicit the provinces (autonomous regions, municipalities) Party, the central ministries and commissions, state ministries and commissions of the Party (party), the General Political Department of the military, every 3 people organization of Party of two regulations revision opinion. Central Commission for Discipline Inspection of extensive solicitation of opinions, careful study, attracting, formed a revised sent reviewers. In October 8 and October 12, Central Committee PoliticalBureau Standing Committee and the Political Bureau of the Central Committee After consideration of the two regulations revised draft. On October 18, the Central Committee of the Communist Party of China formally issued two regulations. Can say, two laws amendment concentrated the wisdom of the whole party, embodies the party. Second, < code > and < Regulations > revision of the basic principles of two party regulations revision work and implement the party's eighteen, ten eight plenary, the spirit of the Fourth Plenary Session of the Eleventh Central Committee and General Secretary Xi Jinping important instructions on the revised < low political criterion > and < Regulations >, highlighting the ruling party characteristics, serious discipline, the discipline quite in front of the law, based on the current, a long-term, advance as a whole, with Bu Xiuding independent < rule > and < rule >. Main principle is: first, adhere to the party constitution to follow. The constitution about discipline and self-discipline required specific, awaken the party constitution of party compasses party consciousness, maintaining the authority of the constitution. General Secretary Xi Jinping pointed out that "no rules, no side round. Party constitution is the fundamental law, the party must follow the general rules. In early 2015 held the eighth session of the Central Commission for Discipline Inspection Fifth Plenary Session of the 16th Central Committee, Xi Jinping again pointed out that constitution is the party must follow the general rules, but also the general rules." the revisionof the < code > and < rule > is Method in adhere to the regulations established for the purpose of combining rule of virtue is to adhere to the party constitution as a fundamental to follow, the constitution authority set up, wake up the party constitution and party rules the sense of discipline, the party constitution about discipline and self-discipline specific requirements. 4 second is to adhere to in accordance with the regulations governing the party and the party. The Party of rule of virtue "de", mainly refers to the party's ideals and beliefs, excellent traditional style. The revised the < code > closely linked to the "self-discipline", insisting on the positive initiative, for all members, highlight the "vital few", emphasized self-discipline, focusing on the morality, and the majority of Party members and the ideological and moral standards. The revised < > Ji method separately, Ji, Ji Y an to Method, as a "negative list", emphasizing the heteronomy, focusing on vertical gauge. Is this one high and one low, a positive reaction, the strict party discipline and practice results transformation for the integration of the whole party to observe moral and discipline requirements, for the majority of Party members and cadres provides benchmarking and ruler. Third, insist on to. In view of the problems existing in the party at the present stage, the main problems of Party members and cadres in the aspect of self-discipline and abide by the discipline to make clearly defined, especially the party's eighteen years strict political discipline and political rules, organization and discipline andto implement the central eight provisions of the spirit against the four winds and other requirements into Disciplinary provisions. Not one pace reachs the designated position, focusing on in line with reality, pragmatic and effective. After the revision of major changes, major changes in the < code > and < rule > modified and needs to grasp several key problems (a) < code > < code > adhere to according to regulations governing the party and party with morals in combination, for at the present stage, the leadership of the party members and cadres and Party members in existing main problems of self-discipline, put forward principles, requirements and specifications, showing Communists noble moral pursuit, reflected at all times and in all over the world ethics from high from low 5 common requirements. One is closely linked to the "self-discipline", removal and no direct relation to the provisions of . the second is adhere to a positive advocate, "eight prohibition" 52 are not allowed to "about the content of the" negative list moved into synchronization amendment < cases >. Three is for all the party members, will apply object from the leadership of the party members and cadres to expand to all Party members, fully embodies the comprehensive strictly required. The fourth is prominent key minority, seize the leadership of the party members and cadres is the key, and put forward higher requirements than the ordinary Party members. Five is to simplify, and strive to achieve concise, easy to understand, easy to remember. The revised < code > is the ruling Party since the first insists ona positive advocate forAll Party members and the self-discipline norms, moral declaration issued to all members of the party and the National People's solemn commitment. > < criterion of a clean and honest administration consists of 4 parts, 18, more than 3600 words. After the revision of the < code >, a total of eight, 281 words, including lead, specification and Party member cadre clean fingered self-discipline norms, etc. Part 3 members low-cost clean and self-discipline, the main contents can be summarized as "four must" "eight code". Lead part, reiterated on ideal and faith, fundamental purpose, the fine traditions and work style, noble sentiments, such as "four must" the principle of requirements, strong tone of self-discipline, The higher request for 6 and supervised tenet, the foothold in permanent Bao the party's advanced nature and purity, to reflect the revised standards requirements. Members of self-discipline norms around the party members how to correctly treat and deal with the "public and private", "cheap and rot" thrifty and extravagance "bitter music", put forward the "four norms". Party leader cadre clean fingered self-discipline norms for the leadership of the party members and cadres of the "vital few", around the "clean politics", from civil servant of the color, the exercise of power, moral integrity, a good family tradition and other aspects of the leadership of the party members and cadres of the "four norms" < > < norm norm. "The Party member's self-discipline norms" and "party members and leading cadre clean fingered self-discipline norms," atotal of eight, collectively referred to as the "eight". "Four must" and "eight" of the content from the party constitution and Party's several generation of leaders, especially Xi Jinping, general secretary of the important discussion, refer to the "three discipline and eight points for attention" statements, and reference some embody the Chinese nation excellent traditional culture essence of epigrams. (2) the revised regulations, the main changes in the revised Regulations > to fully adapt to the strictly requirements, reflects the according to the regulations governing the law of recognition of deepening, the realization of the discipline construction and Jin Ju. < rule > is party a ruler, members of the basic line and follow. And the majority of Party members and cadres of Party organizations at all levels should adhere to the bottom line of thinking, fear discipline, hold the bottom line, as a preventive measure, to keep the party's advanced nature and purity. 1, respect for the constitution, refinement and discipline. Revised < rule > from comprehensive comb physical constitution began, the party constitution and other regulations of the Party of Party organizations and Party discipline requirements refinement, clearly defined in violation of the party constitution will be in accordance with regulations to give the corresponding disciplinary action. The original 10 categories of misconduct, integration specification for political discipline, discipline, honesty and discipline masses Ji Law and discipline and discipline and other six categories, the content of < rule >real return to Party discipline, for the majority of Party members and listed a "negative list. 7 2, highlighting the political discipline and political rules. > < Regulations according to the stage of the discipline of outstanding performance, emphasizing political discipline and political rules, organization and discipline, in opposition to the party's leadership and the party's basic theory, basic line, basic program and basic experience, the basic requirement of behavior made prescribed punishment, increase the cliques, against the organization such as violation of the provisions, to ensure that the central government decrees and the Party of centralized and unified. 3, adhere to strict discipline in the law and discipline In front, Ji separated. Revised < Regulations > adhere to the problem oriented, do Ji separated. Any national law existing content, will not repeat the provisions, the total removal of 79 and criminal law, repeat the content of the public security management punishment law, and other laws and regulations. In the general reiterated that party organizations and Party members must conscientiously accept the party's discipline, die van comply with national laws and regulations; at the same time, to investigate violations of Party members and even criminal behavior of Party discipline and responsibility, > < Regulations distinguish five different conditions, with special provisions were made provisions, so as to realize the connection of Party discipline and state law. 4, reflect Wind building and anti-corruption struggle of the latest achievements. < rule > the party's eighteen yearsimplement the spirit of the central provisions of the eight, against the requirements of the "four winds" and transformation for disciplinary provisions, reflecting the style construction is always on the road, not a gust of wind. In the fight against corruption out of new problems, increase the trading rights, the use of authority relatives profit and other disciplinary terms. Prominent discipline of the masses, the new against the interests of the masses and ignore the demands of the masses and other disciplinary terms and make provisions of the disposition and the destruction of the party's close ties with the masses.Discipline to protect the party's purpose. 8 of these regulations, a total of three series, Chapter 15, 178, more than 24000 words, after the revision of the regulations a total of 3 series, Chapter 11, 133, 17000 words, divided into "general" and "special provisions" and "Supplementary Provisions" Part 3. Among them, add, delete, modify the provisions of the proportion of up to nearly 90%. 1, the general general is divided into five chapters. The first chapter to the regulations of the guiding ideology, principles and scope of application of the provisions, highlight the strengthening of the party constitution consciousness, maintenance the authority of Party Constitution, increase the party organizations and Party members must abide by the party constitution, Y an Centralized centralized, would examine at all levels of the amended provisions implementing and maintaining Party discipline, and consciously accept the party discipline,exemplary compliance with national laws and regulations. The second chapter of discipline concept, disciplinary action types and effects of the regulations, will be a serious warning from the original a year for a year and a half; increase the Party Congress representative, by leaving the party above (including leave probation) punishment, the party organization should be terminated its representative qualification provisions. The third chapter of the disciplinary rules of use prescribed in the discipline rectifying process, non convergence, not close hand classified as severely or heavier punishment. "Discipline straighten "At least eighteen years of five years, these five years is to pay close attention to the provisions of the central eight implementation and anti -" four winds ". The fourth chapter on suspicion of illegal party disciplinary distinguish five different conditions, with special provisions were made provisions, to achieve effective convergence of Party and country 9 method. < rule > the provisions of Article 27, Party organizations in the disciplinary review found that party members have committed embezzlement, bribery, dereliction of duty dereliction of duty and other criminal law act is suspected of committing a crime shall give cancel party posts, probation or expelled from the party. The second is < Regulations > Article 28 the provisions of Party organizations in the disciplinary review But found that party members are stipulated in the criminal law, although not involved in a crime shall be investigated for Party discipline and responsibility shouldbe depending on the specific circumstances shall be given a warning until expelled punishment. This situation and a difference is that the former regulation behavior has been suspected of a crime, the feeling is quite strict, and the latter for the behavior not involving crime, only the objective performance of the provisions of the criminal code of behavior, but the plot is a crime to slightly. < Regulations > the 29 provisions, Party organizations in the discipline review found that party members and other illegal behavior, affect the party's image, the damage to the party, the state and the people's interests, we should depend on the situation Seriousness given disciplinary action. The loss of Party members, seriously damaging the party's image of behavior, should be given expelled from the party. At this article is party member is in violation of the criminal law outside the other illegal acts, such as violates the public security administration punishment law, customs law, financial laws and regulations behavior. The fourth is < cases > Article 32 stipulates, minor party members and the circumstances of the crime, the people's Procuratorate shall make a decision not to initiate a prosecution, or the people's court shall make a conviction and exempted from criminal punishment shall be given within the party is removed from his post, probation or expelled from the party. Party members and crime, sheets were fined in accordance with For acts; the principal Ordinance amended the provisions of the preceding paragraph. This is the new content, in order to achieve Ji method effectiveconvergence. Five is < > the thirty third article 10 of the provisions, the Party member due to an intentional crime is sentenced to criminal law (including probation) sheets or additional deprivation of political rights; due to negligence crime and was sentenced to three years or more (excluding three years) a penalty, shall give expelled punishment. Due to negligence crime is convicted and sentenced to three years (including three years) in prison or be sentenced to public surveillance, detention, shall in general be expelled from the party. For the individual may not be expelled from the party, should control Approval. This is followed and retained the original > < Regulations the provisions of punishment party authorization rules and report to a level party organizations. For is "party members with criminal acts, and by the criminal punishment, generally should be expelled from the party". The fifth chapter of probationary Party member of the discipline and discipline after missing members of the treatment and punishment decisions, such as the implementation of the provisions, clear the related party discipline and punishment decision made after, for duties, wages and other relevant alteration formalities for the longest time. 2, sub sub section will the original regulations of10 categories of acts of violation of discipline integration revised into 6 categories, respectively, in violation of the punishments for acts of political discipline "in violation of discipline behavior of punishment" in violation of integrity of disciplinary action points "of violation punishments for actsof mass discipline" "the violation of work discipline, punishment" in violation of discipline of life behavior punishment "6 chapters. 3, annex" Supplementary Provisions "clear authority making supplementary provisions of, cases of interpretative organ, as well as regulations implementation time and retroactivity etc.. 11 (3) learning understanding > < regulations needs to grasp several key problems The first problem -- about the violation of political discipline behavior > < new ordinance chapter 6 the political discipline column for the six disciplines, that is the main opposition to Party leadership and the opposition of the basic theory, basic line, basic program and basic experience, basic requirements of misconduct made provisions of the disposition, especially the eighteen since the CPC Central Committee put forward the Yan Mingzheng treatment of discipline and political rules requirements and practical achievements transformation for Discipline article, increase the false debate central policies, cliques, against the organization review, make no discipline of the principle of harmony terms. These are the party's eighteen years in comprehensive strictly Process combined with the practice of rich content. (1) false debate the central policies and undermine the Party of centralized and unified the problem is made in accordance with the provisions of the party constitution. Constitution in general programme requirements adhere to democratic centralism is one of the requirements of the construction of the party must adhere to the four cardinal. Applicationof this principle is not only the party the basic organization principle and is also the mass line in party life, it requires that we must fully develop inner-party democracy, respect for the dominant position of Party members, safeguarding the Party member democratic rights, give full play to the enthusiasm and creativity of the party organizations at all levels and Party members, at the same time, also must implement the right concentration, ensure the party's mission < the chaos in unity and concerted action to ensure that the party's decision to get quickly and effectively implementing. The Party Central Committee formulated the major principles and policies, through different channels and ways, fully listen to the party organizations and Party members of the opinions and suggestions, but 12 is some people face to face not to say back blather "" will not say, after the meeting said, "" Taiwan does not say, and nonsense ", in fact, not only disrupt the people thought, some causing serious consequences, the damage to the Party of the centralized and unified, hinder the central policy implementation, but also a serious violation of the democratic system of principles. There is no doubt that shall, in accordance with the Regulations > 4 Specified in Article 6 to give the appropriate punishment. For did not cause serious consequences, to give criticism and education or the corresponding tissue processing. (2) about the destruction of the party's unity < New Regulations > the forty eighth to fifty second article, to damage Party's unity unified and violation of political discipline, punishment situationmade explicit provisions. Article 52 of the new "in the party get round group, gangs seek private gain, cliques, cultivate private forces or through the exchange of interests, for their own to create momentum and other activities to gain political capital, given a serious warning or withdraw from their party posts disposition; if the circumstances are serious, to give Leave a party to observation or expelled from the party. (3) on against the organization review of the provisions of the constitution, party loyalty honesty is party members must comply with the obligations. Members must obey the organization decision, shall not violate the organization decided encounters by asking questions to find organization, rely on the organization, shall not deceive the organization, against the organization. For example, after the investigation does not take the initiative to explain the situation, but to engage in offensive and defensive alliance, hiding the stolen money is against survey organization, is a violation of the behavior of political discipline. Article 24 of the original > < Regulations, although the provisions of the interference, hinder group review the behavior of the fabric can be severely or 13 Aggravated punishment, but did not put this kind of behavior alone as a discipline for qualitative amount of discipline. > < new regulations increase the Article 57, "anti organization review, one of the following acts, given a warning or serious warning; if the circumstances are relatively serious, giving removed from or placed on probation within the party post; if the circumstances are serious, give。

Excel 操作题自动出题系统的设计与实现

Excel 操作题自动出题系统的设计与实现
郝 晗瀚 , 康慕宁
( 西北工业 大学计算机学 院, 陕西 西安 7 1 0 1 2 9 )
摘要 : 传统的 E x c e l 操作 出题 系统界 面比较繁琐 , 需要手 工设 置很 多出题信 息。针对这 一缺点 , 本 文设 计一种 E x c e l自动 出题 系统 , 老 师只需将 正确 结果操作一遍 , 然后上传原始 文档和答案文档 , 通过 比较两个文档 的对象属性 , 即可 自动生成 试题信 息。本 系统界 面简洁, 自动化程度 高, 能 实现真正地 自动 出题 。
a u t o ma t i o n .S o i t c a n r e a l l y g e n e r a t e q u e s t i o n s a u t o ma t i c a l l y . Ke y wo r d s :Ex c e l o p e r a t i o n;a u t o ma t i c p r o b l e m b u i l d i n g s y s t e m ;e o mp a r a t i o n;d o c u me n t p op r e r t i e s
Ab s t r a c t :T h e t r a d i t i o n a l a u t o ma t i c p r o b l e m b u i l d i n g s y s t e m’ S i n t e r f a c e i s r e l a t i v e l y c o mp l i c a t e d,n e e d s t o ma n u a l l y s e t u p a l o t o f i n f o r ma t i o n o n t h e t o p i c .C o n s i d e r i n g t h e s e s h o r t c o mi n g s ,t h i s p a p e r p r e s e n t s t h e d e s i g n nd a i mp l e me n t a t i o n o f a u t o ma t i c t o p i c b u i l d i n g s y s t e m f o r E x c e l o p e r a t i o n t e s t .W h e n u s i n g t h i s s y s t e m ,t h e t e a c h e s r o n l y n e e d t o o p e r a t e t h e E x c e l d o c u me n t i n a ig r h t wa y a t f r i s t .T h e n.t h e q u e s t i o n s i n f o m a r t i o n c a n b e g e n e r a t e d a u t o ma t i c a l l y b y c o mp a r i n g t h e o r i g i n l a d o c u me n t nd a he t r e v i s e d d o c u me n t p op r e r t i e s .Co mp a r e d wi h t t h e t r a d i t i o n l a s y s t e m, t h e s y s t e m’ S i n t e r f a c e i s s i mp l e r a n d t h e s y s t e m i s o f a h J i g h d e g r e e o f

Excel操作题自动阅卷系统的设计与实现

Excel操作题自动阅卷系统的设计与实现

Excel操作题自动阅卷系统的设计与实现贲黎明【摘要】This paper illustrated the necessity of automatic marking system for Excel operation, simply introduced the key technology to be used, and proposed documents submitted by students compared with the sample volume automatic marking of the design ideas and methods, details of the exam setting and the implementation method of the automatic marking. And the paper gave out the key code by testing and evaluating the effects of the system designed. Experiments show that the aystem designed by this method can greatly improve the efficiency of teachers, and also has the merit of fairness and impartiality.%介绍了用学生提交的文档与样卷比对进行自动阅卷的设计思路及方法,详细说明了题库设置和自动阅卷的实现方法,给出了其中的关键代码,并对系统的效果进行了测试及评估.【期刊名称】《常熟理工学院学报》【年(卷),期】2011(025)008【总页数】6页(P115-120)【关键词】自动阅卷;Excel;对象【作者】贲黎明【作者单位】常熟理工学院计算机科学与工程学院,江苏常熟215500【正文语种】中文【中图分类】TP311.1Excel是计算机教学中最基本的也是必须熟练掌握的软件之一.此类课程的教学过程中,实践是相当重要的一个环节.每次考核后,教师都要花大量的时间和精力对学生提交的Excel文档进行评阅,因此必须有一套对Excel操作进行正确评价的软件,以减轻教师阅卷的工作量.在现有的文献中,关于Excel自动阅卷方面的文献并不多,即使有也只是粗略、简单地介绍了实现的思路,并没有完整的实现方法[1-4].本文就现在考试系统中通用的Excel 2003操作题自动阅卷系统的设计与实现进行详细分析,提出了完整有效的实现方案,并给出了其中的关键代码.1 关键技术1.1 VBAVisual Basic for Applications(VBA)是一种Visual Basic的一种宏语言,主要用来扩展Windows的应用程序功能,特别是Microsoft Office软件,也可说是一种应用程序视觉化的Basic Script.1.2 Excel对象模型(1)Application对象:Application对象是Excel对象模型中的顶级对象.使用Application对象可以确定或指定应用程序级属性或执行应用程序级方法.Application对象也是访问Excel对象模型其它部分的基础.(2)Workbooks对象和Workbook对象:Workbooks对象包含Microsoft Excel中所有当前打开的Workbook对象,是Workbook对象的集合.Workbook 对象是Workbooks集合的成员,对象代表Microsoft Excel工作簿.(3)Worksheets对象和Worksheet对象:Worksheets对象包含工作簿中所有的Worksheet对象,是Worksheet对象的集合.Worksheet对象是Worksheets集合的成员,代表一张工作表.(4)Range对象:Range对象代表某一单元格、某一行、某一列、某一选定区域(该区域可包含一个或若干连续单元格区域),或者某一三维区域.(5)ChartObjects对象和ChartObject对象:ChartObjects对象为指定的图表工作表或工作表上所有ChartObject对象的集合.每个ChartObject对象代表一个嵌入图表.ChartObject对象的作用是作为Chart对象的容器.ChartObject对象的属性和方法控制工作表上嵌入图表的外观和尺寸.2 设计思路本系统采用Microsoft Visual Basic 6.0作为开发工具,为了在VB中能访问Excel文档,必须在工程中引用“Microsoft Excel 11.0 Object Library”[5].(1)定义应用程序对象变量和文档对象:由于Excel中各种对象的属性很多,每个属性有各种各样的值,如设置单元格的前景色,其属性名为Font.ColorIndex,其颜色设置多达几十种,即其属性值有几十个,而现有的自动阅卷系统主要采用与标准属性值进行比较[1,2],这样在设置评分标准前就要先获取所有设置的属性值,工作量很大,而且极易出错.因此本文采用的方法是先按题目要求做好一份标准答案,在自动阅卷时只要分别将学生提交的Excel文档和标准答案中对象的属性值分别提取出来进行比较,根据比较结果判断是否正确.这样在设置标准答案时就只要按要求做好一份样卷,而不必关心具体对象的属性值是多少,极大地降低了工作量,而且不易出错.操作过程中,有时学生在对一个范围内的单元格进行某些设置时可能只做对了一部分,现有的自动阅卷系统往往是把这个范围作为一个对象[3],再将该对象的属性值进行提取,而由于学生只做对了一部分,所以此对象的同一属性的值不止一个,也就无法提取出对象的属性值,自动阅卷系统就会将此题判断为错而不得分.本系统为了避免这种情况的发生,提出了按单元格进行逐一评阅的方法,根据做对的比例给出相应得分,增加了评阅结果的公平公正性.流程图如图1所示.图1 自动阅卷系统流程图对于公式编辑,由于公式的写法有多种多样,如对A1、A2、A3、A4四个单元格进行求和,其公式可以是“=SUM(A1:A4)”,也可以是“=SUM(A1,A2,A3,A4)”,还可以是“=A1+A2+A3+A4”等等[4]. 现有的自动评阅系统一般是在标准答案中列出几个常见的公式,将学生所写出的公式与标准答案中的公式进行比较,如果学生所写的公式正确但又在标准答案中不存在,自动阅卷系统也会将此题判断为错误.为了避免这种情况的发生,本系统采用的方法是:首先判断其是否有公式,如没有,则不得分;如有,再判断公式的正确性,即将单元格中的数据代入此公式进行计算,如计算出来的值正确也就说明公式正确,则得分.本系统的设计与实现分成两个部分:题库设置和自动阅卷系统.2.1 题库的设置分析Excel操作题的情况,将Excel操作题分为五大类:获取外部数据;单元格格式的设置;公式编辑;图表制作;工作表操作.通过题库设置将每一小题的操作类型、操作对象(包括工作表和单元格地址)、操作属性名称以及分值存入数据库中.2.2 自动阅卷系统先打开样卷以及考生文档,根据题库中每一小题的操作类型,分别提取样卷和考生文档中操作对象的对应属性值,然后进行比对,根据比对结果,给出每一小题的得分.3 数据库设计本系统采用的是Access2003数据库.试题库(stk)表用以存储每小题的操作类型、操作对象(包括工作表和单元格地址)、操作属性名称以及分值,其表结构如表1所示.如“设置sheet1工作表A2:E2单元格水平居中,1分”,则在试题库中存储其各字段值分别为:单元格格式设置、1、$A$2:$E$2、HorizontalAlignment、1. 由于在题库中要求存储的是操作对象的属性名称,因此,为了在设置题库时方便直观,根据不同的操作对象,分别建立了单元格(dyg)、图表(tb)和工作表(gzb)三张表,用以存贮操作内容所对应的属性名称,其表结构如表2所示(三张表结构相同).学生(student)表中存储每个学生的信息(学号和姓名)及考试成绩,结构如表3所示.表1 试题库表(stk)文本Czlx 操作类型Gzb Dz数字文本工作表单元格地址Cznr df文本数字操作内容(属性名称)得分4 题库设置的实现运行题库设置,首先出现“打开”对话框,要求选择并打开样卷文件,如不选择,则结束程序运行,否则出现如图2所示界面.由于Excel操作题主要分为五大类,因此在窗体上增加了一个选项卡控件,并设置其有五个选项卡,分别对应一类操作.“题型设置”下拉列表框中列出了五种操作的名称,当对其进行选择后,选项卡控件会自动切换到相应的选项卡上.“工作表名称”下拉列表框中列出了当前打开的样卷中所有工作表的名称,用以选择操作的工作表.“获取地址”命令按钮用以自动获取样卷当前工作表中选中的单元格地址.设置好操作类型及操作对象后,再在相应的选项卡中设置操作内容及分值.设置完后点击“确定”,根据相应的属性名称对照表自动将操作内容转换成属性名称存入下面的列表框中.由于可能会对相同的对象进行多种操作,为了防止反复设置操作对象,所以当设置好一个操作后,并不将其直接存储到“试题信息”列表框中,而是先存入选项卡中的列表框,当同一对象的所有操作设置好后点击“保存”,再将该列表框中的所有信息全部存入试题信息中,并清空该列表框中的内容.最后点击“存入题库”,将试题信息中的内容存入试题库表中,并清空试题信息中的所有内容.表2 属性名称对照表(dyg、tb、gzb)文本文本Cz prop操作名称属性名称表3 学生成绩表(student)文本文本数字xh xm cj学生学号学生姓名学生考试成绩5 自动阅卷系统的实现运行自动阅卷系统,界面如图3所示,首先设置好样卷信息以及考生文件存储位置和文件名,然后按“评分”按钮进行评分.如考生文件不存在,则通过打开对话框由阅卷老师手工查找考生文件,如找不到,则直接给零分,否则按照题库中的要求进行详细评分,具体步骤如下:(1)定义变量cj,并赋初值0;(2)将题库指针指向第一条记录;(3)获取题库中操作工作表名称,并分别将样卷和考生文档中对应工作表激活,同时地址存入字符型变量dz中,该题的分值存入变量fz中;(4)分解地址字符串;(5)获取操作属性名称,按照操作类型对该题进行评分,计算出该题的得分并累加到cj变量中;(6)题库指针向下移动一条记录,重复(3)—(6)的操作,直到题库指针指向文件尾,得到学生的成绩cj并存入学生成绩表中.分解地址字符串过程代码如下:图2 设置题库界面图3 自动阅卷系统界面在评分过程中,许多操作的评分具有相似性,因此采用以下过程进行评分.对于公式编辑的评阅方法是:首先通过HasFormula属性判断其是否有公式,如没有,则得0分;如有,再将其单元格中计算出来的值与样卷中相应单元格的值进行比较,如相等,则得分.其主要代码如下:图表数据源评分的代码如下:6 系统测试及评估为了测试系统的效果,由学生做了3套试卷(满分16分),然后分别进行手工和自动阅卷,得到数据如表4所示.从测试结果可以看出,自动阅卷所花的时间要远远少于手工阅卷,而得分略高于手工阅卷,这是因为自动阅卷系统会对每项进行逐个比较,不会造成手工阅卷过程中因做错一部分而全部不得分的后果.因此该系统具有实际应用价值,极大地提高了教师的工作效率,评出的分数也是真实可靠的.表4 两种阅卷方法比较1’48”18”12.413.1手工阅卷平均时间自动阅卷平均时间手工阅卷平均得分自动阅卷平均得分1’57”19”11.211.81’40”18”11.812.37 结束语本文所设计的Excel操作自动阅卷系统,在实际考试系统中实现了快速、准确的自动评分,减少了人为因素的影响.由于图表的复杂性,有些属性的获取比较困难,因此在图表的评分上还有些不足,需要在实践中不断完善.参考文献:[1]陈志坚.VBA技术在计算机基础考试系统设计中的应用[J].电脑知识与技术,2009,5(17):4461-4463.[2]李菲.考试系统中Excel操作题自动阅卷的实现[J].辽宁师专学报,2009,11(1):46,97.[3]唐洪彬.Word、Excel自动阅卷系统的设计与实现[J].宿州教育学院学报,2004,7(2):55-57.[4]彭作民.Excel文档自动阅卷评分算法设计[J].南京师范大学学报(工程技术版),2007,7(3):70-73.[5]贲黎明,施梅芳.自动阅卷系统中Word插入对象的识别与评分[J].电脑知识与技术,2011,7(15):3644-3645.。

基于Excel的自动阅卷评分系统

基于Excel的自动阅卷评分系统

基于Excel的自动阅卷评分系统2.1 试卷设计(1)打开Excel文档,建立“试卷”工作表,合并A1:G1单元格,在A1单元格中输入试卷名称“雅安职业技术学院《计算机应用基础》普通专科公共必修课2013年期末测试试卷”并居中。

在A2单元格输入“班级”,D2单元格输入“学号”,F2单元格输入“姓名” ( 合并B2:C2单元格,将B2,E2,G2单元格设置成蓝色底纹。

)。

在A3:G6单元格区域设置(如图一)。

(2)填空题的设计,合并A7:G7,在单元格中输入“一、填空题(每空1分,共20分,请将正确答案填写在相应小题下一行红色文字“答题处”所在单元格内)”,合并A8:G8,在单元格中输入题目,例如:“1、在WINDOWS XP中,若系统长时间不响应用户的要求,为了结束该任务,应使用的快捷键组合是CTRL+ALT+()。

”在A9单元格中输入“答题”,并将单元格设置成蓝色底纹,按此方式设计10题(如图二)。

(3)选择题的设计,合并A29:G29,在单元格中输入“二、选择题(单选题,每题2分,共50分。

请在每小题右边的“选择答案处”内选择正确答案对应的大写字母)”合并A31:G31,在单元格中输入题目,例如:“2. 要在Excel2003单元格中输入任何分数并保留输入时的数字和数位,方法是:()。

”合并A32:C32,D32:G32,A33:C33,D33:G33,分别在这四个单元格中输入A、B、C、D四个选项。

单击H列设置数据有效性,打开数据有效性对话框,在“设置”选项卡中,有效性条件允许中选择“序列”,来源中输入“选择答案处,A,B,C,D”(不含引号且其中逗号为半角格式),勾选“提供下拉箭头”,单击“确定”按钮完成设置。

按此方法共设计25个选择题(如图三)。

2.2 评分表的设计(1)在同一个工作薄中建一个工作表命名为“评分表”,合并A1:F1单元格,在单元格中输入“雅安职业技术学院公共必修课《计算机应用基础》评分表”,分别在A2,E2单元格中输入“学号”、“姓名”,为了在评分表中能够自动获取考生在试卷中填写的信息,在B2单元格中输入“=试卷!E4”,在F2单元格中输入“=试卷!G4”。

基于Excel的考试系统设计与实现

基于Excel的考试系统设计与实现

基于Excel的考试系统设计与实现本系统主要实现一个在线考试系统,系统分为三大模块:用户模块、管理员维护模块、试卷和试卷管理模块。

1、用户模块实现的功能用户登录:不同用户可以通过选择对应的用户类型,然后输入用户名和密码登录系统,同时包括修改自己密码的功能。

2、管理员模块实现的功能(1)教师管理:可进行教师信息的维护操作,如增加、修改、查询、删除以及教师任课班级设置功能。

(2)班级管理:可进行班级信息的管理和维护操作,如增加、修改、查询、删除和班级任课教师的管理功能。

(3)学生管理:可进行学生信息的增加、修改、查询、删除操作。

3、试卷和试卷管理模块实现的功能(1)试卷发布、修改、删除:教师可发布新的考试试卷、其中包括试卷的增加、修改、查询和删除。

(2)试题的增加、修改、删除:可对试卷包含的试题进行增加、修改和删除。

(3)学生考试:学生登录系统后,可选择参加某考试,在规定时间内完成答卷并给出相应分数。

以课堂测试为例,包括基本的单项选择题、多项选择题、判断题、填空题、简答题等,下面详细介绍制作思路与主要技术。

设计思路:在Excel中制作好试卷,通过指定单元格输入学生信息、作答情况,再通过函数IF读取标准答案并判断正误、给出得分,学生试卷保存后交给老师,最后在成绩统计文件中读出所有学生得分或答题情况,计算总分、平均分,并可做考试分析。

信息流程与功能设计如下:负责班级及学生信息管理部分:1. 学生登录可以使用查阅学籍情况、查阅本人所学课程设置情况、查阅本人成绩情况、查阅本人考试安排情况、查阅本人所在班级、查阅学校最新通告以及对本人的登录密码进行修改等权限。

2. 教务人员登录可以使用对在校学生学籍管理、课程设置管理、成绩管理、考试安排管理、班级管理、教师信息、学校最新通告管理以及登录教务人员密码修改等权限。

用Excel建立模拟考试系统

用Excel建立模拟考试系统

用Excel建立模拟考试系统做教师的少不了为学生制作各种各样的考试卷子,市面上虽有各种模拟考试系统,却因程序制作复杂,将老师们拒之门外。

其实根本不需要懂编程,用Excel 2003你也可以制作一个类似的系统。

一个可以自动出题、验证考号、答题后自动评分、保存记录的模拟考试系统,当然你也可以给它加上其他功能。

系统设计1.建立题库打开Excel 2003,建立“单选题”工作表(如图1),在A2输入公式=ROW()-1&"."以自动生成序号,在D2输入=IF(C2="","",RAND()),选中A2:D2拖动其填充柄向下复制到其他单元格,大概有几百行也就够了,剩下的需要时再复制。

按住Ctrl键拖动工作表标签复制出两份,分别重命名为多选题、判断题。

2.设计试卷建立“试卷”工作表,你可以按需要设置试卷,并输入单选题、多选题、判断题三个大题目,多选题需注明错、漏、多选均不得分。

并留出相应的题目位置,单选题30题(A5:C34),多选题40(A36:C75),判断题30题(A77: C106)。

用“自选图形/基本形状”中的棱台画一个按钮,选中在名称框中输入“出题按钮”4字回车,把它命名为“出题按钮”。

再右击此按钮选择“添加文字”,在按钮上输入“出题”2字。

同样再画一个按钮,把它命名为“评分按钮”,添加文字“评分”。

(如图2)3.显示题目在A5输入公式=INDIRECT("单选题!R"&ROW()-3&"C"&COLUMN(),0),选中A5复制,再选中A5:C34进行粘贴。

同样在A36输入公式=INDIREC T("多选题!R"&ROW()-34&"C"&COLUMN(),0)并复制到A36:C75,在A77输入公式=INDIRECT("判断题!R"&ROW()-75&"C"&COLUMN(),0)并复制到A77:C106。

基于Excel的试卷自动生成系统的设计与实现

基于Excel的试卷自动生成系统的设计与实现
Zh ng a Yu ye ,M a Ch u n q i ng  ̄
( J . D e p t . o f c o m p u t e r , J i n a n V o c a t i o n a l C o l l e g e , J i n a n , S h a n d o n g 2 5 0 0 1 4 ,C h i n a ; 2 . J i n a n I n f o r m a t i o n E n g i n e e r i n g S c h o o 1 )
p o we r f u l f u n c t i o n o f Ex c e l i t s e l f ,t h e i nv e s t me n t n d i e v e l o p me n t i s r e l a t i v e l y s ma l 1 .T h e s y s t e m d o e s n o t n e e d t o i n s t a l l a nd i s e a s y
t o us e .I t i s s u i t a b l e f o r mo s t c o u r s e s i n a l l t y p e s o f s c h o ol s .T h e d e s i g n nd a r e a l i z a t i o n p r o c e d u r e o f he t s ys t e m re a d e s c r i b e d . Ke y wo r ds :E xc e l ; VBA ; a u t o ma t i c g e n e r a t i n g s y s t e m o f e xa m p a p e r s;t e s t q ue s t i o n s d a t a b a s e

计算机一级Word和Excel操作自动评分的实现

计算机一级Word和Excel操作自动评分的实现

计算机一级Word和Excel操作自动评分的实现计算机一级Word和Excel操作自动评分的实现The Implement of Computer Level Test Word andExcel Operation Automatic Grading摘要随着社会的发展,计算机等级考试越来越普及,阅卷方式逐渐由手工阅卷方式过渡到自动阅卷方式。

根据广西区计算机等级考试一级机试特点,结合目前市场上的一些自动阅卷软件的优点,开发一套适合广西区计算机等级考试一级机试测评系统(Word、Excel操作题)。

本子系统使用VC#和SQL Server 2000 开发,通过C#提供的sqlConnection控件实现程序与数据库连接,系统主要采用C#中COM组件中提供的Word和Excel类及其它们提供的方法、属性、函数等,实现考生答案与标准答案比较,评分标准是根据题目类型在后台由管理员自由设置,使用灵活、方便。

考生成绩的计算:根据各小题的得分,累加起来得出大题总分,最后把各大题得分加起来得出考试总分。

关键词:自动评卷,Word操作,Excel操作The Implement of Computer Level Test Word and ExcelOperation Automatic GradingComputer Science and Technology Department 2005 Liang YaoningSupervisor: Xiao ZhiJunAbstractAs the development of society, the grade tests of computer are bearing more and more popular. And the methods of evaluating the exam are gradually tranfered from manned evaluation to automatic evaluation. According to the features of grade-one test of computer in GuangXi and combinating with the merits of some software about automatic evaluation, we plan to exploit a series of systems suitable for evaluating machine-test in grade on test of computer in GuangXi(For Word and Excel applications test).The system bases on VC# and SQL Server 2000.It connects programs and database by control engine sqlConnection provided by C#. This system checks examinees answers through a comparison with standard keys by using Word and Excel offered by COM which belong to C# and methods, attribute and function they provide. The standards of marking are set by controller in line with the test questions. So this system is characterized by convenient and flexible use. The total score of a examines will be marked by plusing score of each test question.Key words: automatic evaluation, word application, excel application目录1引言1.1研究背景与意义当前,随着社会经济的发展,计算机等级考试也不断的普及,各高校需要一套符合本校计算机一级测评系统,以便实现快速、便捷、高效地评卷。

EXCEL操作题题库建设和自动阅卷的实现

EXCEL操作题题库建设和自动阅卷的实现

EXCEL操作题题库建设和自动阅卷的实现摘要:本篇文章为EXCEL操作题的题库建设和自动阅卷提供了一种思路:利用XML文档是纯文本篇文章档,语法简单,传输方便、准确、安全,不但能够存储数据,而且能够表示数据之间复杂的逻辑关系这个系列特点,为每一道试题配置一个XML评分规则文件,通过设计一个评分规则文件解释系统,生成和解释评分规则文件,从而真正实现试题和阅卷代码的分离,而且老师还能通过可视化的界面来编制试题,实行题库建设。

关键EXCEL操作题XML 题库建设自动阅卷EXCEL操作题是高中信息技术课程必修内容的重要组成部分,对它的练习和巩固无论对于老师还是对于学生,都是一项巨大的工程,以往的方法主要集中于二点:其一是纯手工操作,老师发下试题,学生练习完成后上交,老师再批阅学生试题,给出分数;其二是利用现有的练习软件,系统给出试题,学生完成后交卷,系统实行自动阅卷并给出阅卷结果。

上述二种方法都有其无法克服的缺点,前者是费时费力,老师需要手工批阅每个学生的作业,对于信息技术老师来说,一次作业可能就是几百份,工作量相当巨大,而且学生无法实时地知道自己的完成结果,对于一星期二课时的安排,学生可能无法想起自己上一节课的所完成的作业的情况,不利于知识点的掌握和巩固。

后者因为采用了现有的软件,这些软件多为某一次考试而编制,采用固定的试题,固定的阅卷代码,老师无法实行试题的编制,也就无法实行知识点的安排和拓展,因而软件的适用率有限,无法真正地为教学服务。

基于上述的考虑,本篇文章为EXCEL操作题的题库建设和自动阅卷提出了一种新的思路:利用XML文档是纯文本篇文章档,语法简单,传输方便、准确、安全,不但能够存储数据,而且能够表示数据之间复杂的逻辑关系这个系列特点,通过为每一道试题配置一个XML评分规则文件,利用评分规则文件解释系统来生成和解释评分规则文件,从而真正实现试题和阅卷代码的分离,而且老师还能通过可视化的界面来编制试题,实行题库建设。

基于计算结果的简易Excel作业自动阅卷程序设计

基于计算结果的简易Excel作业自动阅卷程序设计

2021年9期254基于计算结果的简易Excel 作业自动阅卷程序设计裴文俊(上海市工商外国语学校,上海 200231)信息技术课程是中等职业学校各专业学生的必修公共基础课程,其中数据处理能力的培养目标明确要求学生会使用数据处理工具采集、加工与管理数据,会进行数据计算。

在众多的数据处理软件中,Excel 电子表格处理软件由于其功能齐全,学习使用简便,已经成为重要的教学软件。

教学中需要多次批阅学生Excel 作业,传统的人工批阅方式效率低和容易出错,而一般的自动批阅程序都是附属在考试阅卷系统中,成本高而且不灵活。

因此,本文根据信息技术基础学科的现状,提出了直接根据Excel 计算结果进行批阅Excel 作业的自动阅卷方法,简单快速实用,能够帮助学生反复练习Excel 函数和公式的操作,提高数据处理的基本技能。

同时也提供了一种学生评价数据采集的方法。

一、自动阅卷的优势自动阅卷一方面积极有效化解教师的阅卷压力,提高效率,另一方面,通过技术手段简化阅卷流程、增强准确率,提高工作效率,已经成为学业评价工作的热点。

机器阅卷、网上阅卷和智能阅卷等技术被越来越多的学校、考试机构所采用。

同时,学生和家长也期盼通过客观的数据分析来了解学习情况,从而进行有的放矢地针对性练习。

以往只能依靠客观的分数和教师的经验进行判断和分析,现在通过自动化阅卷技术,可以准确和及时地采集学生学业数据,从而进行数据分析,能真实反应学生现状,精准聚焦知识点,帮助学生及时进行查漏补缺,提高学习效率。

二、Excel 文件的自动阅卷技术原理分析(一)基于OLE 自动化技术实现对于Excel 文件自动阅卷的首要前提是能访问和调用Excel 文件,同时调用Excel 文件程序能够显示、控制和编辑Excel 数据,而不用启动Excel 文件,这就需要用到OLE 自动化技术。

OLE(Object Linking and Embedding),对象链接与嵌入技术。

基于Excel的试卷自动生成系统的设计与实现

基于Excel的试卷自动生成系统的设计与实现

基于Excel的试卷自动生成系统的设计与实现作者:张玉叶马春清来源:《计算机时代》2013年第02期摘要:为减轻教师组卷的工作负担及提高工作效率,目前已经出现很多题库管理系统或在线考试系统。

这些系统有的是花很大投入开发的专业软件;有的只能在计算机上考试,无法生成纸质试卷,不能满足学校的要求。

根据目前多数学校的实际情况,介绍了一个利用Excel VBA开发的试卷自动生成系统。

该系统具有良好的通用性和可扩展性,同时因系统直接借助于Excel本身强大的功能,开发投入相对较少,且无须安装,使用简单方便,能够适合各类学校的多数课程。

关键词: Excel; VBA;试卷自动生成系统;题库中图分类号:TP312 文献标志码:A 文章编号:1006-8228(2013)02-25-03Design and implementation of automatic generating system of exam paper based on ExcelZhang Yuye1, Ma Chunqing2(1. Dept. of computer, Jinan Vocational College, Jinan, Shandong 250014, China; 2. Jinan Information Engineering School)Abstract:To reduce the teacher’s workload in organizing exam papers and to improve working efficiency, there has been a lot of test questions database management system or online examination system. But either these systems are expensive professional software or can only be done on computer and do not generate exam papers. In a word, they do not meet the requirements of schools. Considering the actual situation of most schools, an automatic generating system of exam papers developed by Excel VBA is introduced in this paper. This system is shown to have good universality and expansibility. Because the system directly uses the powerful function of Excel itself, the investment in development is relatively small. The system does not need to install and is easy to use. It is suitable for most courses in all types of schools. The design and realization procedure of the system are described.Key words: Excel; VBA; automatic generating system of exam papers; test questions database0 引言为评价和考察学生对知识的掌握,学校常常要进行各种各样的测验或考试。

面向Office操作题的自动阅卷系统设计与实现

面向Office操作题的自动阅卷系统设计与实现

面向Office操作题的自动阅卷系统设计与实现面向Office操作题的自动阅卷系统设计与实现随着社会信息化程度的不断提高,计算机在日常办公中的应用愈加重要,以Microsoft Office为主要操作内容的计算机应用基础课程的教学愈加普遍,课程的自动化考核要求也越来越高,作为自动化考核核心的MS Office操作题自动阅卷实现逐渐成为当前研究实现的热点问题。

目前,国内MS Office操作题自动阅卷的实现主要基于RTF、VBA等几种方式,但随着MS Office产品版本的不断升级,相关阅卷技术已经不能完全适应新的自动阅卷需求。

本文提出了一种利用Open XML SDK开源类库对Office Open XML格式的Office文档进行解析,进而给出自动阅卷的设计方案,并进行了方案的实现。

论文围绕MS Office Word操作题自动阅卷的设计与实现开展研发,主要工作如下:1.构建知识点库表达操作题型及阅卷所需参数,实现现有操作题型的自动阅卷,扩展知识点库支持新的操作题型的自动阅卷,提高系统的可扩展性和适应性。

2.设计XML格式的阅卷参数文件,描述考题要求及评分规则,设计辅助配置阅卷参数子系统,实现阅卷参数文件的自动生成,提高工作效率,解决自主命题、自动阅卷问题。

3.采用字符串模糊匹配算法(编辑距离)解决文档中元素对象定位问题,排除考生误操作的干扰,结合正则表达式解决属性值匹配问题,提高系统的容错性和可靠性。

4.制订用户化的评分规则,使用户能够根据操作误差程度制定相应的判分规则,提高系统的灵活性。

最后,作者对实现的Word操作题自动阅卷系统进行了测试。

实验表明,该系统已经具备了基本的操作题自动阅卷能力,容错性强、可靠性高、灵活性好。

系统的设计方案及实现方法同样适用于Excel和PowerPoint的自动化阅卷。

EXCEL操作题题库建设和自动阅卷的实现

EXCEL操作题题库建设和自动阅卷的实现

EXCEL操作题题库建设和自动阅卷的实现摘要:本篇文章为EXCEL操作题的题库建设和自动阅卷提供了一种思路:利用XML文档是纯文本篇文章档,语法简单,传输方便、准确、安全,不但能够存储数据,而且能够表示数据之间复杂的逻辑关系这个系列特点,为每一道试题配置一个XML评分规则文件,通过设计一个评分规则文件解释系统,生成和解释评分规则文件,从而真正实现试题和阅卷代码的分离,而且老师还能通过可视化的界面来编制试题,实行题库建设。

关键词:EXCEL操作题XML 题库建设自动阅卷EXCEL操作题是高中信息技术课程必修内容的重要组成部分,对它的练习和巩固无论对于老师还是对于学生,都是一项巨大的工程,以往的方法主要集中于二点:其一是纯手工操作,老师发下试题,学生练习完成后上交,老师再批阅学生试题,给出分数;其二是利用现有的练习软件,系统给出试题,学生完成后交卷,系统实行自动阅卷并给出阅卷结果。

上述二种方法都有其无法克服的缺点,前者是费时费力,老师需要手工批阅每个学生的作业,对于信息技术老师来说,一次作业可能就是几百份,工作量相当巨大,而且学生无法实时地知道自己的完成结果,对于一星期二课时的安排,学生可能无法想起自己上一节课的所完成的作业的情况,不利于知识点的掌握和巩固。

后者因为采用了现有的软件,这些软件多为某一次考试而编制,采用固定的试题,固定的阅卷代码,老师无法实行试题的编制,也就无法实行知识点的安排和拓展,因而软件的适用率有限,无法真正地为教学服务。

基于上述的考虑,本篇文章为EXCEL操作题的题库建设和自动阅卷提出了一种新的思路:利用XML文档是纯文本篇文章档,语法简单,传输方便、准确、安全,不但能够存储数据,而且能够表示数据之间复杂的逻辑关系这个系列特点,通过为每一道试题配置一个XML评分规则文件,利用评分规则文件解释系统来生成和解释评分规则文件,从而真正实现试题和阅卷代码的分离,而且老师还能通过可视化的界面来编制试题,实行题库建设。

基于excel的考试系统设计与实现

基于excel的考试系统设计与实现

基于Excel的考试系统设计与实现需要考虑到以下几个方面:1. 考试题目管理:需要设计一个Excel表格来存储考试题目,包括题目类型、题目难度、题目内容等信息。

可以使用Excel的多个工作表来分类存储不同类型的题目,例如选择题、填空题、判断题等。

2. 学生信息管理:需要设计一个Excel表格来存储学生信息,包括姓名、学号、班级等信息。

可以使用Excel的多个工作表来分类存储不同班级的学生信息。

3. 考试成绩管理:需要设计一个Excel表格来存储考试成绩,包括学生姓名、学号、考试成绩等信息。

可以使用Excel的多个工作表来分类存储不同班级的考试成绩。

4. 考试计时器:可以设计一个计时器来控制考试时间,例如使用Excel的宏功能来实现倒计时功能。

5. 考试监考功能:可以设计一个监考表格来记录考试过程中的情况,例如监考教师姓名、监考时间等信息。

基于以上几个方面的考虑,可以按照以下步骤来实现基于Excel 的考试系统:1. 设计考试题目表格:使用Excel的多个工作表来分类存储不同类型的题目,建立相应的表格结构,并填写题目内容。

2. 设计学生信息表格:使用Excel的多个工作表来分类存储不同班级的学生信息,建立相应的表格结构,并填写学生信息。

3. 设计考试成绩表格:使用Excel的多个工作表来分类存储不同班级的考试成绩,建立相应的表格结构,并填写考试成绩。

4. 实现考试计时器:使用Excel的宏功能来实现倒计时功能,可以在监考表格中添加一个计时器控件来实时更新考试时间。

5. 实现考试监考功能:在监考表格中添加相应的监考教师姓名、监考时间等信息,以便记录考试过程中的情况。

6. 调试和测试:对整个系统进行调试和测试,确保各个功能都能够正常运行。

7. 发布和维护:将系统发布给用户使用,并定期进行维护和更新,以确保系统的稳定性和可靠性。

需要注意的是,基于Excel的考试系统虽然可以实现基本的考试功能,但可能存在一些限制和不足之处。

EXCEL-WORD-轻松自制随机出卷系统

EXCEL-WORD-轻松自制随机出卷系统

EXCEL WORD 轻松自制随机(suí jī)出卷系统先把收集到的大量考题集中保存到题库中,再随机从中抽取指定数量的题目制作考卷,这种随机抽题出卷的方式相信大多教师朋友都知道吧。

不过你有没有想过可以自己设计一个随机出卷系统呢?这其实很容易实现,我们只要用Excel2010函数(hánshù)配合Word2010的邮件合并就可以轻轻松松地按自己的要求定制出卷系统。

设计好后你只要输入足够的题目,按两下鼠标就可以随机自动生成试卷了,是可以直接打印出来使用的试卷哦。

一、用Excel2010实现(shíxiàn)随机抽题在Excel中实现随机抽题的原理其实很简单。

我们先对所属(suǒshǔ)单元在考试范围内的题目都用RAND产生一个随机数,再按随机数对题目排名次。

这样前N名的题目自然是随机的。

然后再用VLOOKUP按名次值把前1-N名的题目顺次提取出来,不就等于是随机抽取N题了吗?而我们每刷新一次随机数都会随机变化,也就可以得到不同的随机试卷题目。

1.建立(jiànlì)题库打开Excel2010,新建“出卷”、“填空题”两个工作表。

在“填空题”工作表的A1单元格输入0,在B1:H1输入随机数、“一、填空题”、“一、填空题(答案)”、所属单元等标题。

在B2单元格输入公式IF(AND(E2>出卷!B$7,E2<出卷!D$7),RAND(),""),公式中的B$7、D$7是“出卷”工作表中显示出题范围的单元格。

在A2RANK(B2,B:B) COUNTIF(B$2:B2,B2)-1,RANK用于根据随机数返回该题的名次,后面加上COUNTIF(B$2:B2,B2)则是确保万一随机数相同时也会递增排名,从而使名次数值连续不中断。

选中A2:B2单元格,拖动其填充柄向下复制填充到5000行,具体行数请按实际会保存的最大题数考虑。

excel试题自动阅卷系统的实现

excel试题自动阅卷系统的实现

第35卷 第12期 福 建 电 脑 Vol. 35 No.122019年12月Journal of Fujian ComputerDec. 2019———————————————本文得到广西高校中青年教师基础能力提升项目“计算机基础无纸化考试研究” (No.2018KY1173)资助。

朱彦廷,男,1976年生,硕士,讲师,高级工程师,主要研究方向遗传算法、计算机语言。

E-mail: 394043265@ 。

Excel 试题自动阅卷系统的实现朱彦廷(广西现代职业技术学院信息系 广西 河池 547000)摘 要 计算机基础考试采用传统的人工阅卷,工作量大、时间长,准确率也不很高,因此非常有必要研究采用计算机自动阅卷。

文章介绍了利用VBA 语言实现计算机基础考试中Excel 题目自动阅卷的方法,能够大大提高阅卷的速度,而且结果准确、客观、公平。

关键词 计算机基础;自动阅卷;Excel中图法分类号 TP311 DOI:10.16707/ki.fjpc.2019.12.027Realization of Automatic Marking of Excel Test QuestionsZHU Yanting(Department of Information Engineering, Guangxi Modern Polytechnic College, Hechi, China, 547000)1引言计算机基础是高校各专业普遍开设的一门基础课,考试通常为机试,主要考核学生Windows 、Word 、Excel 、PowerPoint 等软件的操作能力[1]。

一般采用传统的人工阅卷,工作量大、时间长,准确率也不很高,因此非常有必要研究采用计算机自动阅卷[2]。

Word 、Excel 、PowerPoint 文档的内部结构十分复杂,Microsoft 公司没有公开,外人难以弄清,因而通过直接读取文档的方式进行自动阅卷几乎不可行[3]。

基于Excel的试卷自动生成系统的设计与实现

基于Excel的试卷自动生成系统的设计与实现

基于Excel的试卷自动生成系统的设计与实现
张玉叶;马春清
【期刊名称】《计算机时代》
【年(卷),期】2013(000)002
【摘要】为减轻教师组卷的工作负担及提高工作效率,目前已经出现很多题库管理系统或在线考试系统.这些系统有的是花很大投入开发的专业软件;有的只能在计算机上考试,无法生成纸质试卷,不能满足学校的要求.根据目前多数学校的实际情况,介绍了一个利用Excel VBA开发的试卷自动生成系统.该系统具有良好的通用性和可扩展性,同时因系统直接借助于Excel本身强大的功能,开发投入相对较少,且无须安装,使用简单方便,能够适合各类学校的多数课程.
【总页数】4页(P25-27,31)
【作者】张玉叶;马春清
【作者单位】济南职业学院计算机系,山东济南250014;济南信息工程学校
【正文语种】中文
【中图分类】TP312
【相关文献】
1.试卷自动生成系统的设计与实现 [J], 张玉叶;郝强
2.再谈试卷自动生成系统的设计与实现 [J], 苏仰娜
3.通用试题库及试卷自动生成系统的设计与实现 [J], 樊继东
4.试卷自动生成系统的设计与实现 [J], 魏星
5.基于动态评价函数的试卷自动生成系统的设计与实现 [J], 姚碧芬
因版权原因,仅展示原文概要,查看原文内容请购买。

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

Excel操作题自动阅卷系统的设计与实现
作者:彭仁杰
来源:《科学与财富》2014年第08期
摘要:本文提出了关于Excel操作题的自动评分的设计方法以及实现过程,主要包括包括单元格格式的阅卷、数据处理的阅卷、图表格式的阅卷,并给出其主要代码。

关键词:Excel;自动阅卷;VB
1 引言
目前,随着计算机在日常学习和工作中使用的越来越普及,计算机的相关培训也越来越多。

其中Excel培训占了很大比重。

从中学信息技术课程到大学一级考试,再到职称计算机考试,都有对Excel操作题的考核。

如果能采用自动组卷、自动阅卷、以及考试管理功能的计算机考试系统来进行培训,可以大大提高工作效率。

本文试着探讨在考试系统中实现Execl 操作题的自动阅卷功能。

2 关键技术
2.1 VBA
Visual Basic for Applications(VBA)是一种Visual Basic 的一种宏语言,主要用来扩展Windows 的应用程序功能,特别是Microsoft Office 软件,Excel操作题自动阅卷功能就需要依靠VBA技术来实现对Excel的控制。

2.2 Excel对象模型
(1)Application对象:Application对象是Excel对象模型中的顶级对象。

使用Application 对象可以确定或指定应用程序级属性或执行应用程序级方法,全局的对象比如菜单,工具条都属于Application对象。

Application 对象也是访问Excel对象模型其它部分的基础。

(2)Workbooks对象和Workbook对象:Workbooks对象包含Microsoft Excel中所有当前打开的Workbook对象,是Workbook对象的集合。

Workbook对象代表Microsoft Excel工作簿。

某一时候只有一个Workbook处于编辑状态,这个Workbook叫做ActiveWorkbook(活动工作簿)。

(3)Worksheets对象和Worksheet对象:Worksheets对象包含工作簿中所有的Worksheet 对象,是Worksheet对象的集合。

Worksheet对象是Worksheets集合的成员,代表一张工作表。

(4)Range对象:Range对象代表某一单元格、某一行、某一列、某一选定区域(该区域可包含一个或若干连续单元格区域),或者某一三维区域。

(5)ChartObjects对象和ChartObject对象:ChartObjects对象为指定的图表工作表或工作表上所有ChartObject 对象的集合。

每个ChartObject 对象代表一个嵌入图表。

ChartObject 对象的作用是作为Chart对象的容器。

ChartObject 对象的属性和方法控制工作表上嵌入图表的外观和尺寸。

3 Excel操作题主要题型
3.1 Excel操作题主要有三类题型:
一是单元格格式,包括行高、列宽、单元格内文字的字体、字号、颜色、对齐方式,单元格边框等;二是数据处理,包括表格内数据的公式或函数计算、排序、筛选、分类汇总等;三是图表,包括数据范围的选择、图标类型等。

3.2 单元格格式
单元格边框设置信息由Border 对象获得。

Border 对象的Color 属性设置单元格的边框色, LineStyle 属性设置单元格的边框线型, Weight 属性设置单元格的边框粗细。

单元格字体设置信息由Font 对象获得。

一个Sheet对象的Range 属性表示工作表中的一个区域对象,区域的范围由地址字符串指定,如Activesheet1range表示当前工作表中的单元格。

Range对象的Font 属性表示单元格中的文字的字体设置对象。

因此, Font 对象的Name 属性表示单元格中文字的字体, Size 属性表示单元格中文字的字号, Color属性表示单元格中文字的颜色,Vertical属性表示单元格中文字的垂直对齐方式, HorizontalAlignment 属性表示单元格中文字的水平对齐方式。

3.3 数据处理格式
主要有排序、筛选(包括自动筛选和高级筛选)、分类汇总三种。

排序操作的设置信息由Range 对象获得,Range对象的Sort方法设置了排序。

自动筛选格式的设置信息由Filter 对象获得。

Sheet对象的AutoFiler属性表示工作表中的自动筛选对象Filter。

Filter 对象的Criteria1属性和Criteria2 属性则分别表示为自动筛选所设置的两个筛选值。

Operator 属性设置筛选条件,可为下列X1FormatConditionOperator 常量之一: X1Betw een、X1Equal等。

高级筛选格式的设置信息由Range对象获得。

Range对象的AdvancedFilter方法设置了高级筛选。

分类汇总格式的设置信息由Range 对象获得。

Range对象的Subtotal方法设置了分类汇总。

3.4 图表格式
图表格式包括图表类型、图表标题、图例等。

图表格式信息由ChartObject对象获得。

Sheet对象的ChartObjects属性表示工作表中的图表对象集合,该对象集合由文件中所有的
ChartObject对象组成,代表工作表中的嵌入式图表,每个ChartObject对象对应一个图表。

ChartObject对象的作用是作为对象的容器,包容多个对象,通过这些对象的属性和方法控制工作表上嵌入式图表外观和尺寸。

ChartObject对象的Chart 属性返回一个Chart对象,它代表了指定对象所包含的图表。

这个Chart 对象的ChartTitle 属性返回一个ChartTitle 对象,该对象代表了图表的标题,Legend 属性返回一个Legend 对象,该对象代表了指定图表中的图例。

ChartType 属性返回或设置图表类型。

4 自动阅卷系统的实现
4.1基本操作:
(1)定义应用程序对象变量和文档对象:
Dim xlapp As Excel.Application : Dim xlbook As Excel.Workbook
(2)打开所要操作的Excel 文档:
Set xlapp = CreateObject("Excel.Application")
Set xlbook = xlapp.Workbooks.Open(Excel文件名)
(3) Excel 文档使用完毕,释放对象:
xlbook.Close : xlapp.Quit
Set xlbook = Nothing : Set xlapp = Nothing.
4.2主要思路
Excel操作主要对工作表中的数据进行处理,其标准答案和考生答题结果均以Excel工作簿形式存在。

Excel工作簿也是由许多对象组成的。

评分时只需读取指定工作表中数据有变动的单元格区域内相关对象的属性值,然后采用单元格遍历的算法逐个比较,从而给出得分。

4.3 具体代码
对于公式编辑的评阅方法是:首先通过HasFormula 属性判断其是否有公式,如没有,则得0 分;如有,再将其单元格中计算出来的值与样卷中相应单元格的值进行比较,如相等,则得分。

其主要代码如下:
If xlbooksj.ActiveSheet.Range(Chr(j)& i).HasFormula And xlbooksj.ActiveSheet.Range (Chr(j)& i).Value = xlbookbz.ActiveSheet.Range(Chr(j) & i).Value Then n = n + 1 '正确的单元格计数
对于图表的评分,在数据源相同的前提下,逐个判断每个数据单元格的值。

主要代码如下:
If xlbooksj.ActiveChart.SeriesCollection.Count _
= xlbookbz.ActiveChart.SeriesCollection.Count Then '学生与样卷图表中数据源系列是否相等 f = True
For i = 1 To xlbooksj.ActiveChart.SeriesCollection.Count '逐个系列进行比较
datasj = xlbooksj.ActiveChart.SeriesCollection(i).Formula
datasj = Mid(datasj,9)
databz = xlbookbz.ActiveChart.SeriesCollection(i).Formula
databz = Mid(databz,9)
If datasj databz Then
f = False
Exit For
End If
Next i
If f Then cj = cj + fz '计算得分
End If
5 总结
通过实践,用本文思路编写的Excel操作题自动阅卷系统,能快速准确的自动评分,对计算机教学起到事半功倍的效果。


参考文献
[1] 李丁.计算机考试系统中自动评分策略的研究与实现[ J].计算机与现代化, 2002,( 9): 56.
[2] 张全和.计算机基础考试系统的分析与设计[D].重庆:重庆大学,2005.。

相关文档
最新文档