For positive integers, the remaining bits are identical to the binary representation of the integer. Thus using 4 bits, the One's complement representation of 5 is 0101.

For negative integers, the remaining bits are found by first finding the binary representation of the absolute value of the integer and then taking the complement of each of these bits in the binary representation. (Thus 1's and 0's get switched)

Thus for example using 4 bits, the One's complement representation of -5 is 1010, where the initial 1 is to indicate the sign, and the subsequent 010 is the complement of 101 the binary representation of 5.

Find the One's Complement representations, using bit strings of length six, of the following integers. (Your answers must be bit strings of length 6):

(a) [math]

(b) [math]

(c) [math]

(d) [math]