Git Product home page Git Product logo

questionpapergenerator's Introduction

QuestionPaperGenerator

一个简单的选择题试卷生成程序。从Excel文档中读取试题,生成指定数量的xlsx格式试卷,每一份试卷题目不同。

主要功能

  • 读取Excel格式的题库文档,生成多份试卷,试卷内容为题库中题目随机排序,每份试卷都不相同
  • 仅支持选择题
  • 题目选项数量无限制
  • 支持题目编号,后续应该会有打分程序(挖坑)

题库excel文档格式

  • 一个Excel 2007+ 文档(xlsx格式)
  • 题库需要放在名为Sheet1的工作表中
  • 不能有表头
  • 第一列为此题答案
  • 第二列为题目编号(以后自动打分时用来定位)
  • 第三列为题目内容
  • 第四列到第N列为选项,第4列为选项A,第5列为选项B,以此类推。每道题最少要有一个选项

使用方式

  1. 按照上面的说明,创建一个Excel题库文档,并放于编译后exe文件同目录下,命名为question.xlsx
  2. 双击运行程序QuestionPaperGenerator.exe
  3. 默认会生成60份试卷,生成的试卷会放到当前目录下的Papers子目录下,名称为1.xlsx2.xlsx

环境

使用VS2013 + C# + .NET 4.5开发。Excel相关功能使用了NPOI。

questionpapergenerator's People

Contributors

kaedei avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

fenildf houfire

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.