Skip to content

js-machinecode/eight_bit_binary_calculator

Repository files navigation

Eight Bit Binary Calculator

This includes:

  1. A Python-based binary calculator created during my DevPipeline software development apprenticeship.

  2. A Python package for practicing binary arithmetic, data definitions, validation, unit testing, and package design.

This project supports decimal-binary conversion and basic binary arithmetic operations.

Technologies

  • Python 3
  • unittest
  • Git
  • GitHub

Author

Jose Soto

Features

  • Convert decimal numbers to binary
  • Convert binary numbers to decimal
  • Add two 8-bit binary numbers
  • Subtract two 8-bit binary numbers
  • Multiply two binary numbers
  • Divide two binary numbers
  • Validate binary input
  • Run as a package from the terminal

Project Structure

BINARY_CALCULATOR/
│
├── bin_calc/
│   ├── __init__.py
│   ├── __init__.pyi
│   ├── __main__.py
│   ├── __main__.pyi
│   ├── arithmetic.py
│   ├── arithmetic.pyi
│   ├── conversions.py
│   ├── conversions.pyi
│   ├── validation.py
│   ├── validation.pyi
│   ├── type_defs.py
│   └── type_defs.pyi
│
├── tests/
│   └── test_binary_calculator.py
│
├── data_definitions.md
└── README.md

About

Binary calculator built during my software development apprenticeship. Implements decimal/binary conversion, binary arithmetic operations, bit-shift algorithms, recursive multiplication, terminal visualizations, and comprehensive unit testing.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages