Question 1
Suppose you have two 8-bit binary numbers, A and B, represented as (00010101)2 and (00000110)2, respectively. Perform the subtraction A−B and determine the decimal equivalent of the result.
19
15
21
6
Suppose you have two 8-bit binary numbers, A and B, represented as (00010101)2 and (00000110)2, respectively. Perform the subtraction A−B and determine the decimal equivalent of the result.
19
15
21
6
Correct answer
15
Question 1 of 16 in the IIT Madras BS Introduction to C Programming (Intro to C Programming) Qualifier paper sat on 1 Sept 2024, in the May 2024 term (IIT M ES REATTEMPT AN EXAM QEF1 01 Sep 2024). It carries 4 marks.