• Home
  • Blog
  • Your job is to create code that will take in input from a user containing two sets. Then you will complete all 6 set operations on those sets. Your user input/output should look similar to the assignment Set Operations Assignment.

Your job is to create code that will take in input from a user containing two sets. Then you will complete all 6 set operations on those sets. Your user input/output should look similar to the assignment Set Operations Assignment.

0 comments

This homework project is all about testing your understanding of sets and your ability to use them.

Your job is to create code that will take in input from a user containing two sets. Then you will complete all 6 set operations on those sets. Your user input/output should look similar to the assignment Set Operations Assignment.

Ideally your code would be able to accept all types of input but for purposes of this assignment we are going to stick to integers. You should test your code with more than the following inputs but I will be grading you based on if your code results in the correct output for the following set pairs:

S = {1, 2, 3, 4} T = {3, 4, 5, 6}

S = {1, 3, 5} T = {3, 4, 5, 6}

S = {10, 13, 22, 41} T = {40, 60, 80}

S = {3, 10} T = {1, 2, 3}

S = {10} T = {3}

To submit this assignment you will take screen shots of your code and input/output for each of the inputs I have given above.

You may work together to complete this assignment but each person must submit a copy of the screenshots individually to canvas.

Rubric

Some Rubric (1) (1)

Some Rubric (1) (1)

Criteria Ratings Pts

This criterion is linked to a Learning OutcomePower Sets

5.0 pts

Full Marks

0.0 pts

No Marks

5.0 pts

This criterion is linked to a Learning OutcomeCartesian Product

5.0 pts

Full Marks

0.0 pts

No Marks

5.0 pts

This criterion is linked to a Learning OutcomeUnion

5.0 pts

Full Marks

0.0 pts

No Marks

5.0 pts

This criterion is linked to a Learning OutcomeIntersection

5.0 pts

Full Marks

0.0 pts

No Marks

5.0 pts

This criterion is linked to a Learning OutcomeDifference

5.0 pts

Full Marks

0.0 pts

No Marks

5.0 pts

This criterion is linked to a Learning OutcomeComplements

5.0 pts

Full Marks

0.0 pts

No Marks

5.0 pts

This criterion is linked to a Learning OutcomeS = {1, 2, 3, 4} T = {3, 4, 5, 6}

2.0 pts

Full Marks

0.0 pts

No Marks

2.0 pts

This criterion is linked to a Learning OutcomeS = {1, 3, 5} T = {3, 4, 5, 6}

2.0 pts

Full Marks

0.0 pts

No Marks

2.0 pts

This criterion is linked to a Learning OutcomeS = {10, 13, 22, 41} T = {40, 60, 80}

2.0 pts

Full Marks

0.0 pts

No Marks

2.0 pts

This criterion is linked to a Learning OutcomeS = {3, 10} T = {1, 2, 3}

2.0 pts

Full Marks

0.0 pts

No Marks

2.0 pts

This criterion is linked to a Learning OutcomeS = {10} T = {3}

2.0 pts

Full Marks

0.0 pts

No Marks

2.0 pts

Total Points: 40.0

About the Author

Follow me


{"email":"Email address invalid","url":"Website address invalid","required":"Required field missing"}