The Lumenary · 3.º a 5.º grado
Sets
Nombre: ______________________
Fecha: ______________________
Aprenderás a
- Use and to say what belongs to a set
- Decide when one set is a subset of another
- Compute unions, intersections, differences and complements
- Prove a simple set identity by following an element
- Explain the difference between checking examples and giving a proof
- 1.
Let and . Write .
- 2.
With the same and , write .
- 3.
In the universe , write the complement of .
- 4.
Which statements are true? (Choose all that apply.)
- A.
- B.
- C.
- D.
- 5.
What is the cardinality ?
- 6.
A café offers 3 drinks and 4 snacks. A combo is an ordered pair (drink, snack). If is the set of drinks and the set of snacks, how many elements does have?
- 7.
In a class, 14 students play football, 9 play chess, and 5 play both. How many play at least one of the two games?
- 8.
Write a Python function
is_subset(a, b)that returnsTrueexactly when every element of the setais an element of the setb. Don't use Python's built-in<=orissubset— loop over the elements instead.Computacional — Práctica