Excercises 4 - Questions PDF
Excercises 4 - Questions PDF
Exercises 4-Lecture 4
Relations
Question#1:
Question#2:
Question#3:
a. R1 ∪ R2
b. R1 ∩ R2
c. R1 − R2
d. R2 − R1
Question#5:
R ={(1,1),(1,2),(2,4),(3,2),(4,3)}
S ={(1,0),(2,4),(3,1),(3,2),(4,1)}
Question#6:
Question#7:
increasing order).
Question#8:
Question#9:
a.
CS 100 T
First semester of the academic year 1442 H
b.
Question#10:
Let R be the relation on the set {0, 1, 2, 3} containing the ordered pairs
b) symmetric closure of R
Question#11:
(d) {(0, 0),(1, 1),(2, 2),(0, 1),(0, 2),(1, 0),(1, 2),(2, 0),(2, 1)}
Question#12:
Question#13:
P={{1},{3},{2,4,5,6}}
of A={1,2,3,4,5,6}
(a) Write the equivalence classes for this equivalence relation. (b) Write
the equivalence relation as a set of ordered pairs.