read https://gateoverflow.in/209179/self-doubt?show=218459#a218459 before reading further
Assume the integers below are 1’s complement integers.
i) 0000000 -----> MSB bit is 0 ==> positive number
decimal value of original number = 0
1's complement of given number is = 1111111 , Note that this is belongs to 1's complement representation, So it's decimal equivalent is -0.
(ii) 1111111 -----> MSB bit is 1 ==> negative number
decimal value of original number = -0
1's complement of given number is = 0000000 , Note that this is belongs to 1's complement representation, So it's decimal equivalent is 0.
(iii) 00110011 -----> MSB bit is 0 ==> positive number
decimal value of original number = 51
1's complement of given number is = 11001100 , Note that this is belongs to 1's complement representation, So it's decimal equivalent is -51.
(iv) 1000000 -----> MSB bit is 1 ==> negative number
decimal value of original number = -111111 = -63
1's complement of given number is = 0111111 , Note that this is belongs to 1's complement representation, So it's decimal equivalent is 63.
hope you can do for part b :)