Question: In this assignment you will convert an integer representing a character from the ascii character set into it's binary representation ( all ones and zeros
In this assignment you will convert an integer representing a character from the ascii character set into
it's binary representation all ones and zeros To do this will will create a class called ToBinary and
inside that class a method called convertToBinaryString. This method has a single parameter which is
the integer to be convered and returns a String. For a technique of converting an integer into a binary
string please see the document Number formats below this assignment. Also a set of unit tests are
provided.
Your solution MUST be recursive
In ascii a character is represented by a single byte
bits the letter is in binary for
convenience we are ommiting any left most zeros.
For the letter B decimal your method should
return
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
