QUEZON CITY UNIVERSITY
COLLEGE OF COMPUTER STUDIES
Information Technology Department
ASSIGNMENT 1 – FINAL TERM
NAME:YSHA DANA SCORE: ______________
SBIT-3N
YEAR & SECTION: __________________________ 11-18-2022
DATE: _______________
Direction: Do as instructed. (30 pts.)
1. Find the relation R in the given digraph. (5 pts.)
R = {(1, 2), (1, 5), (2, 5), (3, 2), (3, 4), (4, 1), (4, 2), (4, 5)}
2. Given the vertices, illustrate the relation R={(a,a), (a,b), (b,b), (c,b), (c,c), (c, d), (d,b),
(d, d)} through digraph. (5 pts.)
a b
c d
3. Do the indicated operations on the following matrices.
a. Find the transpose of matrix A (10 pts.) 1
A = 1 0 0 01 0 0 0 1 AT = 5
9
b. Perform matrix multiplication on A and B. (10 pts.)
COLLEGE OF COMPUTER STUDIES
Information Technology Department
ASSIGNMENT 1 – FINAL TERM
NAME:YSHA DANA SCORE: ______________
SBIT-3N
YEAR & SECTION: __________________________ 11-18-2022
DATE: _______________
Direction: Do as instructed. (30 pts.)
1. Find the relation R in the given digraph. (5 pts.)
R = {(1, 2), (1, 5), (2, 5), (3, 2), (3, 4), (4, 1), (4, 2), (4, 5)}
2. Given the vertices, illustrate the relation R={(a,a), (a,b), (b,b), (c,b), (c,c), (c, d), (d,b),
(d, d)} through digraph. (5 pts.)
a b
c d
3. Do the indicated operations on the following matrices.
a. Find the transpose of matrix A (10 pts.) 1
A = 1 0 0 01 0 0 0 1 AT = 5
9
b. Perform matrix multiplication on A and B. (10 pts.)