Docsity

Homework 15 - Discrete Structures - Fall 2002 | CMSC 250, Assignments of Discrete Structures and Graph Theory

Toggle sidebar
bg1
CMSC250ī˜ ā€“ī˜ ā€œHomework15ā€ī˜ -Fall2002
Thishomeworkisnotdueī˜ ā€“ī˜ itisjustsoyoucanpracticethetopics.
(1)FortheclasseslistedbelowinsetC,gotoTestudotoseewhattheprerequisitesandcorequisitesare.Treatcorequistites
asprerequisitesforthepurposeofthishomeworkquestion.AssumethatMATH140hasnoprerequisitesforthepurpose
ofthishomework.
Giventhefollowingsetofclassesthatyouwanttotake:
C={CMSC106,CMSC114,CMSC214,CMSC311,CMSC330,CMSC351,CMSC430,CMSC434,
MATH140,MATH141,MATH240,PSYC100}
(a)DrawthedigraphfortherelationaRboversetCthatisdefinedasaRbī˜ ā†”ī˜ ā€œaisaprerequisiteforbā€.
(b)CreateaHaaseDiagramfortheelementsinCusingthatsamerelationR.
(c)UsetopologicalsorttogivethreevalidorderingsoftheelementsinCunderrelationR(assumetakingonecourse
persemesterforthepurposesofthishomework).
(2)WecandefinethecomplementofarelationRonsetAtobeRā€™ī˜ =(AƗA)ī˜ ā€“ī˜ R
(a)IfweassumethatRisreflexive,mustitscomplementR'alsobereflexive?
(b)IfweassumethatRissymmetric,mustitscomplementR'alsobesymmetric?
(c)IfweassumethatRistransitive,mustitscomplementR'alsobetransitive?
(d)IfweassumethatRisantisymmetric,mustitscomplementR'alsobeantisymmetric?

Partial preview of the text

Download Homework 15 - Discrete Structures - Fall 2002 | CMSC 250 and more Assignments Discrete Structures and Graph Theory in PDF only on Docsity!

CMSC 250 – ā€œHomework 15ā€ - Fall 2002

This homework is not due – it is just so you can practice the topics.

(1) For the classes listed below in set C, go to Testudo to see what the prerequisites and corequisites are. Treat corequistites as prerequisites for the purpose of this homework question. Assume that MATH140 has no prerequisites for the purpose of this homework.

Given the following set of classes that you want to take: C = {CMSC106, CMSC114, CMSC214, CMSC311, CMSC330, CMSC351, CMSC430, CMSC434, MATH140, MATH141, MATH240, PSYC100} (a) Draw the digraph for the relation aRb over set C that is defined as aRb ↔ ā€œa is a prerequisite for bā€. (b) Create a Haase Diagram for the elements in C using that same relation R. (c) Use topological sort to give three valid orderings of the elements in C under relation R (assume taking one course per semester for the purposes of this homework).

(2) We can define the complement of a relation R on set A to be R’ = (AƗA) – R (a) If we assume that R is reflexive, must its complement R' also be reflexive? (b) If we assume that R is symmetric, must its complement R' also be symmetric? (c) If we assume that R is transitive, must its complement R' also be transitive? (d) If we assume that R is antisymmetric, must its complement R' also be antisymmetric?