Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
AL-AQSA UNIVERSITY
Faculty of computers and IT
Quizz #1 – B
SOLUTION
Instructor: Yahya AMER
1
Question #1 )
Let A = {2, 11, 9, 1, 5} , B = {3, 6, 8, 9, 1} , C={3, 14} ,
U ={x| xN, x 14} . Answer the following: -
1)- Represent the sets using Venn diagram
A B
2 8
11 9 6
13 5 1
3
4
7
14
12 10
C
6)- A – B = { 2 , 5 , 11 }
7)- B – A = { 6 , 8 , 3}
12)- A B = { 2, 5, 11, 6, 8 }
13)- B C = {1, 9, 6, 8, 14 }
= {2, 5, 11}
Project A Project C
8 11
4
5 1
10
11
Project B
4
Question #3 )
Given the relation R on the set A ={1, 2, 3, 4} as follows:-
R= {(1, 2), (1, 3), (1, 4), (2, 1), (2, 3), (2, 4), (3, 1), (3, 2), (3, 4), (4, 1), (4,
2), (4, 4)}
Represent R using Matrix and Digraph
1 2 3 4
1 0 1 1 1
2 1 0 1 1
3 1 1 0 1
4 1 1 0 1
Matrix Digraph
Is the relation above,
1. Reflexive ? why ?
No, because (1,1) or (2,2) or (3,3) R
2. Irreflexive? Why ?
No, because (4,4) R
3. Symmetric ? Why ?
No, because (3,4) R but (4,3) R
4. Antisymmetric? Why ?
No, because (1,2) R and (2,1) R
5. Transitive ? Why?
NO , because (1,3) , (3,1) R but (1,1) R , Or, (4,2) , (2,3) R
but (4,3) R OR, (1,2) , (2,1) R but (1,1) R , OR, (2,1) , (1,2)
5
Question #4 ) Is the Relation R on {0, 1, 2, 3} equivalence
Relation? And WHY ? If not equivalence relation, what is/are the
lacked elements to make it equivalence ?
R = {(0, 0), (0, 1), (0, 2), (1, 0), (1, 1), (1, 2), (2, 0), (2, 2), (3, 3)}
6
Question #6 )
Given the Relation R from the set A {6, 7, 8, 9, 10} to the SET
B = {x, y, z, K, L } where R = {(10, x), (7, K), (8, L), (9, z), (6, y)}
End of questions