Process A
int Y;
A1: Y = X*2;
A2: X = Y;
Process B
int Z;
B1: Z = X+1;
B2: X = Z;
X is set to 5 before either process begins execution. As usual, statements within a process are executed sequentially, but statements in process A may execute in any order with respect to statements in process B. How many different values of X are possible after both processes finish executing?Total MCQS : 5
gradeTotal MCQS : 16
gradeTotal MCQS : 2
gradeTotal MCQS : 3
gradeTotal MCQS : 68
gradeTotal MCQS : 47
gradeTotal MCQS : 78
gradeTotal MCQS : 117
gradeTotal MCQS : 177
gradeTotal MCQS : 283
gradeTotal MCQS : 55
gradeTotal MCQS : 36
gradeTotal MCQS : 73
gradeTotal MCQS : 123
gradeTotal MCQS : 145
gradeTotal MCQS : 170
gradeTotal MCQS : 1
gradeTotal MCQS : 2533
grade191 Points
54 Points
53 Points
52 Points
49 Points