I had several questions on the new Sybex e-trainer software
that were like this :
class f{
static public void main(
String arg[])
{
int i = 345;
for (int n = 1; n <=4; n++)
i^= 543;
System.out.println(i);
}
}
Are these realistic type questions? The only way I see to solve it is convert i and 543 to binary first, but that's way too time time consuming. Is there a short cut and/or are these type questions unrealistic?