Exercises 3
of the first four expressions, specify the name of the set operation that produces the spec-
ified result.
a) {1, 2, 4, 8, 16} *** {1, 4, 16, 64, 256} # {1,2,4,8,16,64,256}
b) {1, 2, 4, 8, 16} *** {1, 4, 16, 64, 256} # {1,4,16}
c) {1, 2, 4, 8, 16} *** {1, 4, 16, 64, 256} # {2,8}
d) {1, 2, 4, 8, 16} *** {1, 4, 16, 64, 256} # {2,8,64,256}
e) {1, 2, 4, 8, 16} *** {1, 4, 16, 64, 256} # False
Answer:
a) Union:
{1, 2, 4, 8, 16} | {1, 4, 16, 64, 256} # {1,2,4,8,16,64,256}