Question 5
What is the 2's complement representation of the decimal number -7 in an 8-bit system?
00000111
11110001
11111001
11111101
What is the 2's complement representation of the decimal number -7 in an 8-bit system?
00000111
11110001
11111001
11111101
Correct answer
11111001
Question 5 of 18 in the IIT Madras BS Programming in C (Programming in C) Qualifier paper sat on 6 Aug 2023, in the May 2023 term (IIT M ES QUALIFIER EXAM QPQ1 06 Aug 2023). It carries 5 marks.