question archive A directory contains a set of large files, L = {f1, f2, f3}, and set of data files, D = {d1, f2, a1000}, and a set of text files T = {t1, t2, f1, f2}
Subject:Computer SciencePrice:2.87 Bought7
A directory contains a set of large files, L = {f1, f2, f3}, and set of data files, D = {d1, f2, a1000}, and a set of text files T = {t1, t2, f1, f2}.
i. Give a set expression for the set of large data files, and write the set out.
ii. Repeat for the set of text files which are not large.
ili. Repeat for the set of large data files which are plain text.
iv . Repeat for the set of text files which are neither large nor data files.
Answer:
we apply concept of intersection and union of sets, to solve
Large files = {f1, f2,f3}
Data files= {d1,f2,a1000}
Text files={t1,t2,f1,f2}
i) Large data files = {f2} {intersection of large files and data files}
ii) Text files not large= {t1,t2} {removing large files set from text files}
iii) Large data files, plain text = {f2} {Intersection of large, data and text files}
iv) Text files neither large nor data = {t1,t2} {removing large files and data files set from text files set}