Files
binary_quiz/README.md
2020-06-13 11:20:05 +02:00

1.7 KiB

Binary Math Exercises

Description

A command line application and Python library for generating binary numbers for a human to decode, as well as generating the integers they represent, to check the human's work.

Installation on MacOS or Linux

  1. git clone https://github.com/Averbach-Transcription/email_quote
  2. ln -s <repo_fullpath>/app/get_quote /usr/local/bin/
  3. brew install ghostscript (install homebrew if needed)
  4. brew install enscript

Usage

binary [OPTIONS] BITS NUM_PROBLEMS

Options:
  --pdf
  --silent
  --include-answers
  --output-filepath TEXT
  --help                  Show this message and exit.

Examples of Output

PDF

binary 8 100 --pdf

👆👆 this command produces two PDFs like this 👇👇

example of problems.pdf output example of problems-answers.pdf output

TODO

  • add nice spacing and typography for easy reading
  • pdf options
    • problem numbers [true]
    • number of columns [auto]
    • font
    • include column labels
    • print
  • addition
  • subtraction
  • mult? div?
  • hex?

Other Projects That Could Depend On This

  • do the problems online/on computer
  • a website to serve these up and let people use them for free