Computing - Sets
AQA Computer Science 2022
What a set is
Membership notation
Set comprehension
How could you write the set of even natural numbers using set comprehension?
What would the compact form of
\[\{ x \vert x \in \mathbb{N} \wedge $x$ \,\text{is even} \}\]
be?
What set does
\[\{10^n \vert n \le 1\}\]
describe?
How would you describe the set $\{ 5, 10, 15, ...\}$?
Set difference
Subsets
What does it mean for $A$ to be a subset of $B$?
Every member of $A$ is also a member of $B$.
What’s the difference between a subset and a proper subset?
A proper subset means $A$ is a subset of $B$ and they are not equal.
Cartesian product
What is the Cartesian product of two sets $A$ and $B$?
The set of all ordered pairs $(a, b)$ such that $a \in A$ and $b \in B$.
What is the set comprehension notation for the Cartesian product of $A$ and $B$?
What is the notation for the Cartesian product of $A$ and $B$?
Cardinality
What is a countably infinite set?
A set whose members can be counted by using the infinite set $\mathbb{N}$.
