Error
There was an error loading the page.
Given some random finite subsets of the natural numbers, perform set operations ∩,∪ and complement.
Metadata
-
England schools
-
England university
-
Scotland schools
Taxonomy: mathcentre
Taxonomy: Kind of activity
Taxonomy: Context
Contributors
Feedback
From users who are members of Bill's workspace :
Bill Foster | said | Ready to use | 9 years, 5 months ago |
History
Bill Foster 9 years, 5 months ago
Gave some feedback: Ready to use
Bill Foster 9 years, 5 months ago
Created this.There are 20 other versions that do you not have access to.
Name | Type | Generated Value |
---|
a | integer |
15
|
||||
b | integer |
6
|
||||
c | integer |
16
|
||||
d | integer |
10
|
||||
f | integer |
6
|
||||
universal | set |
Set of 15 items
|
||||
set1 | set |
Set of 11 items
|
||||
set2 | set |
set(11,12,13,14,15)
|
||||
set3 | set |
set(6,12)
|
Generated value: integer
- c
- set2
- set3
- universal
This variable doesn't seem to be used anywhere.
Gap-fill
Ask the student a question, and give any hints about how they should answer this part.
Enumerate the following sets:
a) A∩B=
b) B∩C=
c) A∩¯C=
d) (¯A∪C)∩B=
e) ¯A∪C∩¯B=
f) (A∪¯B)∩C=
Note that you input sets in the form set(a,b,c,..,z)
.
For example set(1,2,3)
gives the set {1,2,3}.
The empty set is input as set()
.
Also some labour saving tips:
If you want to input all integers between a and b inclusive then instead of writing all the elements you can input this as set(a..b)
.
If you want to input all integers between a and b inclusive in steps of c then this is input as set(a..b#c)
. So all odd integers from −3 to 28 are input as set(-3..28#2).
Use this tab to check that this question works as expected.
Part | Test | Passed? |
---|---|---|
Gap-fill | ||
Hasn't run yet | ||
Mathematical expression | ||
Hasn't run yet | ||
Mathematical expression | ||
Hasn't run yet | ||
Mathematical expression | ||
Hasn't run yet | ||
Mathematical expression | ||
Hasn't run yet | ||
Mathematical expression | ||
Hasn't run yet | ||
Mathematical expression | ||
Hasn't run yet |
This question is used in the following exams:
- Predicates and sets by Bill Foster in Bill's workspace.
- James's copy of Predicates and sets by James Eustace in James's workspace.
- Ma2_diskret by Tore Gaupseth in Tore's workspace.
- CMPU1018 Reassessment by Blathnaid Sheridan in Blathnaid's workspace.
- Ryan's copy of Predicates and sets by Ryan Poling in Ryan's workspace.