DATA MINING TUTORIAL
64 Posts
NUMBER SYSTEM
274 Posts
POLITICS
120 Posts
JAVASCRIPT INTERVIEW QUESTIONS
59 Posts

Can’t find an answer?
Ask us to get the answer
- This forum is empty.
A set X can be represented by an array x[n] as follows:
Consider the following algorithm in which x,y and z are Boolean arrays of size n:
algorithm zzz(x[] , y[], z []) {
int i;
for (i=O; i<n; ++i)
z[i] = (x[i] ^ ~y[i]) V (~x[i] ^ y[i]) } |
The set Z computed by the algorithm is:
(A) (X Intersection Y)
(B) (X Union Y)
(C) (X-Y) Intersection (Y-X)
(D) (X-Y) Union (Y-X)
- You must be logged in to create new topics.