Back to Browse

GRE Computer Science Question 25

2.0K views
Apr 1, 2012
2:15

25. Consider the pseudocode block below. Assume that the variables x and y are integers. // Precondition: ???? x x + y y x - y x x - y // Postcondition: (( x = 3 ) and ( y = 8 )) Which of the following would be an appropriate precondition to guarantee the stated postcondition? (A) ( x = 3 ) and ( y = 8 ) (B) ( x = 8 ) and ( y = 3 ) (C) ( x = 8 ) and ( y = 11 ) (D) ( x = 11 ) and ( y = 3 ) (E) ( x = 11 ) and ( y = 8 )

Download

0 formats

No download links available.

GRE Computer Science Question 25 | NatokHD