At GATE Solved Problems (1998-2001) | Number Systems | Digital Electronics video Gate 2001 Question


In this lesson you left the second question as homework to us but i found:
5-bit 2’s complement (1-bit for sign 4 bit as magnitude) for -17 as, 01001 = +17 -> negate 10110 and add 1 -> 10111 as answer. But there is no correct answer there. What did i miss?


It’s ans is option D
Because 2s complement of a negative no. Is it’s corresponding +ve value