C2 - Python
C-COD-240
Day 03
Scientific Calculator
1.4
Day 03
delivery method: pythond03 on Github
• The totality of your source files, except all useless files (binary, temp files, obj
files,...), must be included in your delivery.
• Error messages have to be written on the error output, and the program should
then exit with the 84 error code (0 if there is no error).
1
CREATE YOUR SOFTWARE !
We will check your code with you, and evaluate its quality.
You have to realize a simple scientific calculator (exec and evaluate are forbidden. . . )
A scientific calculator must contain every usual functions (tan, sin, cos, exp, . . . ) with bases (2, 8, 10, 16), . . .
Look at Tkinter, it’s useful to create graphical interface in Python.
2
REQUIREMENTS
Required (12 points, may be negative):
• Get all requirements
• Require at least 1 dependency (colorize, . . . )
• Contain 1 executable
• Architecture (files, modules, classes, . . . )
• License
• Cryptographically signed
• Respect naming conventions
• Documentation (rdoc)
• Unitary tests
- Why not test continuous integration with Travis?
• Git repository clean (English commits, respecting the conventions, detailed, etc.)
- Search on the internet the conventions
• Code maintainable (coherent, not too complex)
- Code Climate, . . .
Bonus:
• Awesome software (design / user friendly / man / efficient argument parsing / . . . )