Basics Flashcards

1
Q

Set

A

A collection of distinct objects. Example: {1, 2, 3}

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Union (∪)

A

Combines all elements from two sets. Example: {1, 2} ∪ {2, 3} = {1, 2, 3}

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Intersection (∩)

A

Elements common to two sets. Example: {1, 2} ∩ {2, 3} = {2}

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Cartesian Product (×)

A

Set of all ordered pairs from two sets. Example: {a, b} × {1, 2} = {(a, 1), (a, 2), (b, 1), (b, 2)}

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Relation

A

A subset of a Cartesian product. Example: R = {(1, 2), (2, 3)} on {1, 2} × {2, 3}

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Function

A

relation where each input has exactly one output. Example: f(x) = x²

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Pigeonhole Principle

A

If n items are put into m containers, and n > m, at least one container has more than one item.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Permutation

A

Ordered arrangement. Formula: P(n, r) = n! / (n - r)!. Example: P(3, 2) = 6

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Combination

A

Unordered selection. Formula: C(n, r) = n! / (r!(n - r)!). Example: C(3, 2) = 3

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Graph

A

A set of vertices connected by edges. Example: V = {A, B}, E = {(A, B)}

How well did you know this?
1
Not at all
2
3
4
5
Perfectly