Git Product home page Git Product logo

assigner's Introduction

assigner

Haskell program for generating unique (different for different students) assignments by choosing M questions randomly from an exam class LaTeX file containing N questions. The output can be seen at https://www.ee.iitb.ac.in/~sarva/courses/EE720/2018/assignments/assignment2/

Generating the assignments

  • Install stack
  • Clone this repository
  • Run stack build in the repository root (this will take some time to finish if you are using stack for the first time).
  • Copy your exam class LaTeX file into the repository root (for example, see the assignment2.tex file in repository).
  • Change to output directory by running cd output.
  • Run source genAss2.sh to generate the assignments in the output directory (both .tex and .pdf files will be generated). The names of the files are the roll numbers of the students in the students.csv file.

Sources

  • src/Main.hs has the program to generate the assignments. It is compiled into an executable assigner which can be executed using the command stack exec assigner <LaTeXFileName> <M> <string>. The argument <string> can be an arbitrary string which provides the randomness required to generate a unique assignment.

License

MIT

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.