1. What is the output of following pseudo code? int a=350; System.out.println(~a)
Ans. -351.
2. What is the output of following pseudo code? int a=118; System.out.println(a++ + ++a);
Ans. 238.
3. What is the output of the following pseudo-code? int a= 118; System.out.println(a++ + a++);
Ans. 237.
4. What is the output of the following pseudo-code? System.out.println(102*110/15+43-21*94/20);
Ans. 693.
5. What is the output of the following pseudo-code? System.out.println(115<<42);
Ans. 117760.
6. What is the output of following pseudo code? int a= 2+3<<5/6; int b=6>>4%4; int res= (a<b)?b:a; system.out.println(res);
Ans. 6
