Assignment 3

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 4

Assignment: Sets, Set Operations, and

Employee Benefits

Question 1

Set Definitions:

 A: Set of people who got jobs in the IT sector.

 B: Set of people who got jobs.

Set Operations:

(a) A ∩ B (Intersection):

 Description: People who got jobs in the IT sector and have jobs.

 Example: Individuals employed in the IT sector with general job positions.

(b) A ∪ B (Union):

 Description: People who either got jobs in the IT sector or have jobs.

 Example: All individuals who got jobs, including those in the IT sector and other industries.

(c) A − B (Set Difference):

 Description: People who got jobs in the IT sector but don't have general jobs.

 Example: Individuals exclusively employed in the IT sector.


(d) B − A (Set Difference):

 Description: People who got general jobs but not in the IT sector.

 Example: Individuals employed in industries other than IT.

Question 2

Set Definitions:

 A: Set of people living in the USA.

 B: Set of people having a house in Canada.

Set Operations:

(a) People living in the USA and having a house in Canada:

 Expression: A ∩ B

 Example: Individuals residing in the USA who also own houses in Canada.

(b) People living in the USA and not having a house in Canada:

 Expression: A - B

 Example: Individuals living in the USA without owning houses in Canada.

(c) People either living in the USA or having a house in Canada:

 Expression: A ∪ B

 Example: All individuals who either reside in the USA or own houses in Canada.
(d) People either non-US residents or not owning a house in Canada:

 Expression: (A' ∪ B')

 Example: Individuals who are either not residing in the USA or do not own houses in

Canada.

Question 3

Employee Benefits Calculation:

Given:

 Employees with cab privilege (A): 750

 Employees with breakfast privilege (B): 900

 Employees taking both benefits: 530

 Employees taking neither benefit: 60

Calculation:

1. Total Employees (n):

o Using Principle of Inclusion and Exclusion (PIE): n = |A ∪ B| = |A| + |B| - |A ∩ B|

o Substitute values: n = 750 + 900 - 530 = 1120

2. Explanation of PIE:

o The Principle of Inclusion and Exclusion is a counting technique used to find the total

count of elements in the union of two or more sets while avoiding double counting.

Venn Diagram:
 A Venn diagram can be created to visually represent the sets and their intersections, aiding in

better comprehension. You can use GitMind to draw a Venn diagram following the

instructions in the provided video How to draw a Venn diagram?.

References:

 GitMind - EN. (2020, November 11). How to draw a Venn diagram? [Video].

YouTube. Link

 GitMind. (n.d.). GitMind

You might also like