Last two digits of school number: 11
Two-digit day of birthday: 06
Q2. Write the last two digits of your school number (Nr). If this number is 00, replace it with 22 and subtract your birthday (BD), which is only the two-digit day (no month). Then perform the subtraction using 2's complement notation.
20p
Nr = 10
BD = 06
-10 = 2's complement
Last two digits of school number: 10
Two-digit day of birthday: 06
2's complement of the birthday: -10
Write the calculation steps in detail:
1. Determine the last two digits of the school number: 11
2. Determine the two-digit day of the birthday: 06
3. Check if the school number is 00. Since it is not, proceed to the next step.
4. Subtract the birthday from the school number: 11 - 06 = 05
5. Convert the result to 2's complement notation: -05
6. Determine the last two digits of the school number: 10
7. Determine the two-digit day of the birthday: 06
8. Convert the birthday to 2's complement notation: -10