SlideShare a Scribd company logo
1 of 2
Download to read offline
Assignment 4
Deadline: April 26 (Thursday Class), April 27(Friday Class)


                       Harshit Kumar

                        April 20, 2012
Q1. For the following sets, find the transitive closure.

  1. {(a, c), (b, d), (c, a), (d, b), (e, d)}
  2. {(b, c), (b, e), (c, e), (d, a), (e, b), (e, c)}
  3. {(a, b), (a, c), (a, e), (b, a), (b, c), (c, a), (c, b), (d, a), (e, d)}

  4. {(a, e), (b, a), (b, d), (c, d), (d, a), (d, c), (e, a), (e, b), (e, c), (e, e)}
   Q2. Assume that the Universe is a set of all people, then which of the following relations are equivalence relations?
  1. {(p, q)|p and q were born on the same date}.
  2. {(p, q)|p and q have same parents}.

  3. {(p, q)|p and q share a common parent}.
  4. {(p, q)|p and q are acquaintance}.
  5. {(p, q)|p and q speak the same language}

    Q3. For the following matrices, Write your answer as YES if the matrix represents an equivalence relation. Write your answer as NO if the matrix does not
represent an equivalence relation.
              
       1 1 1
   1. 0 1 1
       1 1 1
                  
       1 0 1 0
      0 1 0 1
   2. 
      1 0 1 0
                   

       0 1 0 1
                  
       1 1 1 0
      1 1 1 0
   3. 
      1 1 1 0
                   

       0 0 0 1
   Q4. For the subsets below, assume that the set of Integer Z is the universe; Which of the following subsets are partitions?
  1. the set of integers divisible by 3, the set of integers leaving a remainder 2 when divided by 3, the set of integers leaving a remainder 1 when divided by 3.

  2. the set of positive integers and the set of negative integers
  3. the set of integers divisible by 2, the set of integers leaving a remainder of 1 when divided by 2.
  4. the set of integers less than -200, the set of integers less than 200, and the set of integers greater than 200.
  5. the set of integers leaving a remainder 0 when divided by 3, the set of integers divisible by 2, and the set of integers leaving a remainder 3 when divided
     by 6.
Q5. Which of the following matrices represent partial order relation? Also, generate a Hasse diagram for those that are partial order relation.
             
      1 0 1
  1. 1 1 0
      0 0 1
             
      1 0 0
  2. 0 1 0
      1 0 1
                
      1 0 1 0
     0 1 1 0
  3. 
     0 0 1 1
                 

      1 1 0 1
   Q6. For the following diagram, determine if it represents a partial order or not? Explain your answer.




   Q7. Draw the Hasse diagram for the following set inclusion diagram. The original set S = {a, b, c, d}




                                                                                        1

More Related Content

What's hot

4 ESO Academics - Unit 03 - Exercises 4.3.2 - Powers and Polynomial Identities.
4 ESO Academics - Unit 03 - Exercises 4.3.2 - Powers and Polynomial Identities.4 ESO Academics - Unit 03 - Exercises 4.3.2 - Powers and Polynomial Identities.
4 ESO Academics - Unit 03 - Exercises 4.3.2 - Powers and Polynomial Identities.Gogely The Great
 
0.7 Radical Expressions
0.7 Radical Expressions0.7 Radical Expressions
0.7 Radical Expressionssmiller5
 
Basic mathematics code 303102 bca 1st semester exam. 2014
Basic mathematics    code   303102  bca     1st semester     exam.       2014Basic mathematics    code   303102  bca     1st semester     exam.       2014
Basic mathematics code 303102 bca 1st semester exam. 2014umesh singh
 
Chapter 6.5
Chapter 6.5Chapter 6.5
Chapter 6.5nglaze10
 
Day 3 examples b u1f13
Day 3 examples b u1f13Day 3 examples b u1f13
Day 3 examples b u1f13jchartiersjsd
 
Cd32939943
Cd32939943Cd32939943
Cd32939943IJMER
 
Algebra presentation on topic modulus function and polynomials
Algebra presentation on topic modulus function and polynomialsAlgebra presentation on topic modulus function and polynomials
Algebra presentation on topic modulus function and polynomialsFarhanSiregar2
 
AA Section 8-2
AA Section 8-2AA Section 8-2
AA Section 8-2Jimbo Lamb
 
Algebra i ccp quarter 3 benchmark review 2013 (2)
Algebra i ccp quarter 3 benchmark review 2013 (2)Algebra i ccp quarter 3 benchmark review 2013 (2)
Algebra i ccp quarter 3 benchmark review 2013 (2)MsKendall
 
International Journal of Mathematics and Statistics Invention (IJMSI)
International Journal of Mathematics and Statistics Invention (IJMSI)International Journal of Mathematics and Statistics Invention (IJMSI)
International Journal of Mathematics and Statistics Invention (IJMSI)inventionjournals
 
X2 t01 01 arithmetic of complex numbers (2013)
X2 t01 01 arithmetic of complex numbers (2013)X2 t01 01 arithmetic of complex numbers (2013)
X2 t01 01 arithmetic of complex numbers (2013)Nigel Simmons
 
Coordinates
CoordinatesCoordinates
Coordinatesictsmkmn
 
Discrete Mathematics and Its Applications 7th Edition Rose Solutions Manual
Discrete Mathematics and Its Applications 7th Edition Rose Solutions ManualDiscrete Mathematics and Its Applications 7th Edition Rose Solutions Manual
Discrete Mathematics and Its Applications 7th Edition Rose Solutions ManualTallulahTallulah
 

What's hot (19)

4 ESO Academics - Unit 03 - Exercises 4.3.2 - Powers and Polynomial Identities.
4 ESO Academics - Unit 03 - Exercises 4.3.2 - Powers and Polynomial Identities.4 ESO Academics - Unit 03 - Exercises 4.3.2 - Powers and Polynomial Identities.
4 ESO Academics - Unit 03 - Exercises 4.3.2 - Powers and Polynomial Identities.
 
Inverse Trigonometry QA 5
Inverse Trigonometry QA 5Inverse Trigonometry QA 5
Inverse Trigonometry QA 5
 
Alg1 lesson 3 4 day 2
Alg1 lesson 3 4 day 2Alg1 lesson 3 4 day 2
Alg1 lesson 3 4 day 2
 
0.7 Radical Expressions
0.7 Radical Expressions0.7 Radical Expressions
0.7 Radical Expressions
 
Sadat sumon
Sadat sumonSadat sumon
Sadat sumon
 
Basic mathematics code 303102 bca 1st semester exam. 2014
Basic mathematics    code   303102  bca     1st semester     exam.       2014Basic mathematics    code   303102  bca     1st semester     exam.       2014
Basic mathematics code 303102 bca 1st semester exam. 2014
 
Chapter 6.5
Chapter 6.5Chapter 6.5
Chapter 6.5
 
Day 3 examples b u1f13
Day 3 examples b u1f13Day 3 examples b u1f13
Day 3 examples b u1f13
 
Cd32939943
Cd32939943Cd32939943
Cd32939943
 
Algebra presentation on topic modulus function and polynomials
Algebra presentation on topic modulus function and polynomialsAlgebra presentation on topic modulus function and polynomials
Algebra presentation on topic modulus function and polynomials
 
AA Section 8-2
AA Section 8-2AA Section 8-2
AA Section 8-2
 
Concept of set.
Concept of set.Concept of set.
Concept of set.
 
Patterns
PatternsPatterns
Patterns
 
Algebra i ccp quarter 3 benchmark review 2013 (2)
Algebra i ccp quarter 3 benchmark review 2013 (2)Algebra i ccp quarter 3 benchmark review 2013 (2)
Algebra i ccp quarter 3 benchmark review 2013 (2)
 
International Journal of Mathematics and Statistics Invention (IJMSI)
International Journal of Mathematics and Statistics Invention (IJMSI)International Journal of Mathematics and Statistics Invention (IJMSI)
International Journal of Mathematics and Statistics Invention (IJMSI)
 
2 homework
2 homework2 homework
2 homework
 
X2 t01 01 arithmetic of complex numbers (2013)
X2 t01 01 arithmetic of complex numbers (2013)X2 t01 01 arithmetic of complex numbers (2013)
X2 t01 01 arithmetic of complex numbers (2013)
 
Coordinates
CoordinatesCoordinates
Coordinates
 
Discrete Mathematics and Its Applications 7th Edition Rose Solutions Manual
Discrete Mathematics and Its Applications 7th Edition Rose Solutions ManualDiscrete Mathematics and Its Applications 7th Edition Rose Solutions Manual
Discrete Mathematics and Its Applications 7th Edition Rose Solutions Manual
 

Viewers also liked

Lecture3layered archi
Lecture3layered archiLecture3layered archi
Lecture3layered archiH K
 
Solution2
Solution2Solution2
Solution2H K
 
Mid-
Mid-Mid-
Mid-H K
 
Week31
Week31Week31
Week31H K
 
Solution3
Solution3Solution3
Solution3H K
 
Induction
InductionInduction
InductionH K
 
Assignment4
Assignment4Assignment4
Assignment4H K
 
Assignment3
Assignment3Assignment3
Assignment3H K
 

Viewers also liked (8)

Lecture3layered archi
Lecture3layered archiLecture3layered archi
Lecture3layered archi
 
Solution2
Solution2Solution2
Solution2
 
Mid-
Mid-Mid-
Mid-
 
Week31
Week31Week31
Week31
 
Solution3
Solution3Solution3
Solution3
 
Induction
InductionInduction
Induction
 
Assignment4
Assignment4Assignment4
Assignment4
 
Assignment3
Assignment3Assignment3
Assignment3
 

Similar to Assignment4

Hussam Malibari Heckman MAT 242 Spring 2017Assignment Chapte.docx
Hussam Malibari Heckman MAT 242 Spring 2017Assignment Chapte.docxHussam Malibari Heckman MAT 242 Spring 2017Assignment Chapte.docx
Hussam Malibari Heckman MAT 242 Spring 2017Assignment Chapte.docxwellesleyterresa
 
Nbhm m. a. and m.sc. scholarship test september 20, 2014 with answer key
Nbhm m. a. and m.sc. scholarship test september 20, 2014 with answer keyNbhm m. a. and m.sc. scholarship test september 20, 2014 with answer key
Nbhm m. a. and m.sc. scholarship test september 20, 2014 with answer keyMD Kutubuddin Sardar
 
Perspectives and application of fuzzy initial value problems
Perspectives and application of fuzzy initial value problemsPerspectives and application of fuzzy initial value problems
Perspectives and application of fuzzy initial value problemsRAJKRISHNA MONDAL
 
Perspectives and application of fuzzy initial value problems
Perspectives and application of fuzzy initial value problemsPerspectives and application of fuzzy initial value problems
Perspectives and application of fuzzy initial value problemsRAJKRISHNA MONDAL
 
Let A= 8 6 -2 9 3 9 0 .docx
Let   A=      8      6      -2    9     3          9    0   .docxLet   A=      8      6      -2    9     3          9    0   .docx
Let A= 8 6 -2 9 3 9 0 .docxSHIVA101531
 
On Some Types of Fuzzy Separation Axioms in Fuzzy Topological Space on Fuzzy ...
On Some Types of Fuzzy Separation Axioms in Fuzzy Topological Space on Fuzzy ...On Some Types of Fuzzy Separation Axioms in Fuzzy Topological Space on Fuzzy ...
On Some Types of Fuzzy Separation Axioms in Fuzzy Topological Space on Fuzzy ...IOSR Journals
 
Stochastic Processes Homework Help
Stochastic Processes Homework HelpStochastic Processes Homework Help
Stochastic Processes Homework HelpExcel Homework Help
 
Epanaliptiko pros spiros_giannakaros_2021
Epanaliptiko pros spiros_giannakaros_2021Epanaliptiko pros spiros_giannakaros_2021
Epanaliptiko pros spiros_giannakaros_2021Christos Loizos
 
CaseWare Data Scientist test.
CaseWare Data Scientist test.CaseWare Data Scientist test.
CaseWare Data Scientist test.Aila Ansari
 
Salem Almarar Heckman MAT 242 Spring 2017Assignment Chapter .docx
Salem Almarar Heckman MAT 242 Spring 2017Assignment Chapter .docxSalem Almarar Heckman MAT 242 Spring 2017Assignment Chapter .docx
Salem Almarar Heckman MAT 242 Spring 2017Assignment Chapter .docxanhlodge
 
Nbhm m. a. and m.sc. scholarship test 2008
Nbhm m. a. and m.sc. scholarship test 2008Nbhm m. a. and m.sc. scholarship test 2008
Nbhm m. a. and m.sc. scholarship test 2008MD Kutubuddin Sardar
 
Linear Combination of vectors, Span and dependency
Linear Combination of vectors, Span and dependencyLinear Combination of vectors, Span and dependency
Linear Combination of vectors, Span and dependencyLambitDontPosts
 

Similar to Assignment4 (20)

A
AA
A
 
4898850.ppt
4898850.ppt4898850.ppt
4898850.ppt
 
Set in discrete mathematics
Set in discrete mathematicsSet in discrete mathematics
Set in discrete mathematics
 
Hussam Malibari Heckman MAT 242 Spring 2017Assignment Chapte.docx
Hussam Malibari Heckman MAT 242 Spring 2017Assignment Chapte.docxHussam Malibari Heckman MAT 242 Spring 2017Assignment Chapte.docx
Hussam Malibari Heckman MAT 242 Spring 2017Assignment Chapte.docx
 
Stochastic Processes Homework Help
Stochastic Processes Homework Help Stochastic Processes Homework Help
Stochastic Processes Homework Help
 
Nbhm m. a. and m.sc. scholarship test september 20, 2014 with answer key
Nbhm m. a. and m.sc. scholarship test september 20, 2014 with answer keyNbhm m. a. and m.sc. scholarship test september 20, 2014 with answer key
Nbhm m. a. and m.sc. scholarship test september 20, 2014 with answer key
 
Perspectives and application of fuzzy initial value problems
Perspectives and application of fuzzy initial value problemsPerspectives and application of fuzzy initial value problems
Perspectives and application of fuzzy initial value problems
 
Perspectives and application of fuzzy initial value problems
Perspectives and application of fuzzy initial value problemsPerspectives and application of fuzzy initial value problems
Perspectives and application of fuzzy initial value problems
 
Discrete mathematics notes
Discrete mathematics notesDiscrete mathematics notes
Discrete mathematics notes
 
math 7 Q1-W1-D3.pptx
math 7 Q1-W1-D3.pptxmath 7 Q1-W1-D3.pptx
math 7 Q1-W1-D3.pptx
 
Let A= 8 6 -2 9 3 9 0 .docx
Let   A=      8      6      -2    9     3          9    0   .docxLet   A=      8      6      -2    9     3          9    0   .docx
Let A= 8 6 -2 9 3 9 0 .docx
 
Chpt 2-sets v.3
Chpt 2-sets v.3Chpt 2-sets v.3
Chpt 2-sets v.3
 
Asignacion 3 "estructura discreta"
Asignacion 3 "estructura discreta" Asignacion 3 "estructura discreta"
Asignacion 3 "estructura discreta"
 
On Some Types of Fuzzy Separation Axioms in Fuzzy Topological Space on Fuzzy ...
On Some Types of Fuzzy Separation Axioms in Fuzzy Topological Space on Fuzzy ...On Some Types of Fuzzy Separation Axioms in Fuzzy Topological Space on Fuzzy ...
On Some Types of Fuzzy Separation Axioms in Fuzzy Topological Space on Fuzzy ...
 
Stochastic Processes Homework Help
Stochastic Processes Homework HelpStochastic Processes Homework Help
Stochastic Processes Homework Help
 
Epanaliptiko pros spiros_giannakaros_2021
Epanaliptiko pros spiros_giannakaros_2021Epanaliptiko pros spiros_giannakaros_2021
Epanaliptiko pros spiros_giannakaros_2021
 
CaseWare Data Scientist test.
CaseWare Data Scientist test.CaseWare Data Scientist test.
CaseWare Data Scientist test.
 
Salem Almarar Heckman MAT 242 Spring 2017Assignment Chapter .docx
Salem Almarar Heckman MAT 242 Spring 2017Assignment Chapter .docxSalem Almarar Heckman MAT 242 Spring 2017Assignment Chapter .docx
Salem Almarar Heckman MAT 242 Spring 2017Assignment Chapter .docx
 
Nbhm m. a. and m.sc. scholarship test 2008
Nbhm m. a. and m.sc. scholarship test 2008Nbhm m. a. and m.sc. scholarship test 2008
Nbhm m. a. and m.sc. scholarship test 2008
 
Linear Combination of vectors, Span and dependency
Linear Combination of vectors, Span and dependencyLinear Combination of vectors, Span and dependency
Linear Combination of vectors, Span and dependency
 

More from H K

Dm assignment3
Dm assignment3Dm assignment3
Dm assignment3H K
 
Proof
ProofProof
ProofH K
 
Resolution
ResolutionResolution
ResolutionH K
 
Assignment description
Assignment descriptionAssignment description
Assignment descriptionH K
 
Dm assignment2
Dm assignment2Dm assignment2
Dm assignment2H K
 
Set
SetSet
SetH K
 
Dm assignment1
Dm assignment1Dm assignment1
Dm assignment1H K
 
Logic
LogicLogic
LogicH K
 
Introduction
IntroductionIntroduction
IntroductionH K
 
Assignment 2 sol
Assignment 2 solAssignment 2 sol
Assignment 2 solH K
 
Assignment sw solution
Assignment sw solutionAssignment sw solution
Assignment sw solutionH K
 
Violinphoenix
ViolinphoenixViolinphoenix
ViolinphoenixH K
 
Ie project
Ie projectIe project
Ie projectH K
 
Assignment cn subnetting
Assignment cn subnettingAssignment cn subnetting
Assignment cn subnettingH K
 
Assignment uplaodfile
Assignment uplaodfileAssignment uplaodfile
Assignment uplaodfileH K
 
Assignment sw
Assignment swAssignment sw
Assignment swH K
 
Assignment sw
Assignment swAssignment sw
Assignment swH K
 
Assignment cn tl
Assignment cn tlAssignment cn tl
Assignment cn tlH K
 
Dc assignment 2
Dc assignment 2Dc assignment 2
Dc assignment 2H K
 
Mid term exam
Mid term examMid term exam
Mid term examH K
 

More from H K (20)

Dm assignment3
Dm assignment3Dm assignment3
Dm assignment3
 
Proof
ProofProof
Proof
 
Resolution
ResolutionResolution
Resolution
 
Assignment description
Assignment descriptionAssignment description
Assignment description
 
Dm assignment2
Dm assignment2Dm assignment2
Dm assignment2
 
Set
SetSet
Set
 
Dm assignment1
Dm assignment1Dm assignment1
Dm assignment1
 
Logic
LogicLogic
Logic
 
Introduction
IntroductionIntroduction
Introduction
 
Assignment 2 sol
Assignment 2 solAssignment 2 sol
Assignment 2 sol
 
Assignment sw solution
Assignment sw solutionAssignment sw solution
Assignment sw solution
 
Violinphoenix
ViolinphoenixViolinphoenix
Violinphoenix
 
Ie project
Ie projectIe project
Ie project
 
Assignment cn subnetting
Assignment cn subnettingAssignment cn subnetting
Assignment cn subnetting
 
Assignment uplaodfile
Assignment uplaodfileAssignment uplaodfile
Assignment uplaodfile
 
Assignment sw
Assignment swAssignment sw
Assignment sw
 
Assignment sw
Assignment swAssignment sw
Assignment sw
 
Assignment cn tl
Assignment cn tlAssignment cn tl
Assignment cn tl
 
Dc assignment 2
Dc assignment 2Dc assignment 2
Dc assignment 2
 
Mid term exam
Mid term examMid term exam
Mid term exam
 

Recently uploaded

Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesVector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesZilliz
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfSeasiaInfotech2
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 

Recently uploaded (20)

Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesVector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector Databases
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdf
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 

Assignment4

  • 1. Assignment 4 Deadline: April 26 (Thursday Class), April 27(Friday Class) Harshit Kumar April 20, 2012
  • 2. Q1. For the following sets, find the transitive closure. 1. {(a, c), (b, d), (c, a), (d, b), (e, d)} 2. {(b, c), (b, e), (c, e), (d, a), (e, b), (e, c)} 3. {(a, b), (a, c), (a, e), (b, a), (b, c), (c, a), (c, b), (d, a), (e, d)} 4. {(a, e), (b, a), (b, d), (c, d), (d, a), (d, c), (e, a), (e, b), (e, c), (e, e)} Q2. Assume that the Universe is a set of all people, then which of the following relations are equivalence relations? 1. {(p, q)|p and q were born on the same date}. 2. {(p, q)|p and q have same parents}. 3. {(p, q)|p and q share a common parent}. 4. {(p, q)|p and q are acquaintance}. 5. {(p, q)|p and q speak the same language} Q3. For the following matrices, Write your answer as YES if the matrix represents an equivalence relation. Write your answer as NO if the matrix does not represent an equivalence relation.   1 1 1 1. 0 1 1 1 1 1   1 0 1 0 0 1 0 1 2.  1 0 1 0  0 1 0 1   1 1 1 0 1 1 1 0 3.  1 1 1 0  0 0 0 1 Q4. For the subsets below, assume that the set of Integer Z is the universe; Which of the following subsets are partitions? 1. the set of integers divisible by 3, the set of integers leaving a remainder 2 when divided by 3, the set of integers leaving a remainder 1 when divided by 3. 2. the set of positive integers and the set of negative integers 3. the set of integers divisible by 2, the set of integers leaving a remainder of 1 when divided by 2. 4. the set of integers less than -200, the set of integers less than 200, and the set of integers greater than 200. 5. the set of integers leaving a remainder 0 when divided by 3, the set of integers divisible by 2, and the set of integers leaving a remainder 3 when divided by 6. Q5. Which of the following matrices represent partial order relation? Also, generate a Hasse diagram for those that are partial order relation.   1 0 1 1. 1 1 0 0 0 1   1 0 0 2. 0 1 0 1 0 1   1 0 1 0 0 1 1 0 3.  0 0 1 1  1 1 0 1 Q6. For the following diagram, determine if it represents a partial order or not? Explain your answer. Q7. Draw the Hasse diagram for the following set inclusion diagram. The original set S = {a, b, c, d} 1