Lecture 12 - Relations

0.0(0)
studied byStudied by 0 people
0.0(0)
full-widthCall with Kai
GameKnowt Play
New
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/15

flashcard set

Earn XP

Description and Tags

These flashcards cover key vocabulary and concepts related to Logic and Algorithms as outlined in the lecture notes.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

16 Terms

1
New cards

Ordered n-tuple

An ordered collection of elements enclosed by (), where the order matters.

2
New cards

Cartesian Product

The Cartesian Product of sets A and B is A × B = {(a, b) : a ∈ A and b ∈ B}.

3
New cards

Binary String

A string whose alphabet is {0, 1}.

4
New cards

Concatenation

The operation of joining two strings together.

5
New cards

Binary Relation

A relation defined between two sets, represented by a subset of A x B.

6
New cards

N-ary Relation

A relation involving more than two sets, represented by A1 × … × An.

7
New cards

In-degree of a vertex

The number of edges pointing into a vertex in a directed graph.

8
New cards

Out-degree of a vertex

The number of edges pointing out of a vertex in a directed graph.

9
New cards

Composition of Relations

The relation combining relations R from set A to B and S from B to C, producing ordered pairs (a, c).

10
New cards

Empty String (λ)

The unique string that has no characters.

11
New cards

Alphabet

The set of symbols or characters from which strings are formed.

12
New cards

Ordered Pair

A pair of elements (a, b) where order matters; (a, b) ≠ (b, a).

13
New cards

Domain

The set from which the elements of a binary relation are taken.

14
New cards

Directed Graph (Digraph)

A graph with a set of vertices and a set of directed edges.

15
New cards

Relation

A structure used to represent relationships between sets.

16
New cards

Example of Binary Relation

For cities A and countries B, R is a relation if (a, b) ∈ R means city a is in country b.

Explore top flashcards

World Lit Midterm
Updated 1046d ago
flashcards Flashcards (25)
Vývinovka
Updated 506d ago
flashcards Flashcards (66)
Units 1-12 of Vocab
Updated 1052d ago
flashcards Flashcards (240)
BIO Final 2023
Updated 692d ago
flashcards Flashcards (159)
Chapter 2
Updated 777d ago
flashcards Flashcards (30)
World Lit Midterm
Updated 1046d ago
flashcards Flashcards (25)
Vývinovka
Updated 506d ago
flashcards Flashcards (66)
Units 1-12 of Vocab
Updated 1052d ago
flashcards Flashcards (240)
BIO Final 2023
Updated 692d ago
flashcards Flashcards (159)
Chapter 2
Updated 777d ago
flashcards Flashcards (30)