Statement: x /= 2,
It is compound assignment statement. It is basically a shorthand notation for incrementing the variable on the left by a value on the right.
So, x /= 2 is same as x = x / 2.
Similarly
X -= 2; is the same as x = x – 2 ;
x*=2; is the same as x=x*2;
Therefore, in given question all the options are 1, 2, 4 are correct. As there are using the compound assignment operators.
But in option 3 x%=2 is not same as x = x/2 as the operators are different.
X%=2 is same as x = x%2

