Hi,
It is unsaid if the inputs’s numeric type is unsigned or 2’s complement.
it may cause incorrect answers in exercises requires using comperator (such as ex_1).
which input should we expect?
in 2’s complement a = (1001) = -7 and b=(0001) = 1
so b>a
but in unsigned numeric type
a=(1001) = 9 , b= (0001) = 1
so a>b