Q50
MCQ2 marks, −0.5A set can be represented by an array as follows: Consider the following algorithm in which , , and are Boolean arrays of size : algorithm zzz(x[], y[], z[]) { int i; for(i=0; i<n; ++i) z[i] = (x[i] ∧ ~y[i]) ∨ (~x[i] ∧ y[i]); } The set computed by the algorithm is:
Sign in to save attempts.
Loading…