Steps: 1. Create your project, a new module, and save as data_converter.py 2. Create a class, in
Fantastic news! We've Found the answer you've been seeking!
Question:
Steps: 1. Create your project, a new module, and save as data_converter.py 2. Create a class, in data_converter.py, which require a binary input argument. The class has the following attributes and functions that need to de defined in the class: Convert binary input code to the equivalent gray code. Convert binary input to the equivalent hex code. Convert binary input to the equivalent decimal number. 3. Create a test script name it test_data_converter.py 4. Write the required test script using unittest and define each test case. 5. Evaluate the components and test cases for the following three binary input numbers. Input binary numbers 11100011 11001100 00111010.
Posted Date: