Formulas and Points Flashcards
(33 cards)
List out 2 table header for Adjacency List - Undirected Graph
- Vertex
- Adjacent Vertices
List out 2 table header for Adjacency List - Directed Graph
- Initial Vertex
- Terminal Vertices
- Important
- Write for Out-Degree only
List out what must write in Proof by Contrapositive
- Because the negation of the conclusion of the conditional statement implies that the hypothesis is false, the original conditional statement is true.
List out in degree and out degree
- deg ⁻(V) In-Degree
- deg ⁺(V) Out-Degree
What is the Formula for Handshaking Theorem?
⋿ deg (v) = 2e
v ⋴ V
How is loop counted as with degree?
1. Undirected Graph
2. Directed Graph
- 2
- 1 In Degree , 1 Out Degree
What is the rules for Euler Circuit?
- All Degree must be Even
- All Vertices at least once
- All Edges exactly once
- Start and End at the same Vertex
What is the rules for Euler Path?
- Exactly 2 Degree must be Odd
- All Vertices at least once
- All Edges exactly once
What is the rules for Hamilton Circuit?
- Need to have Subgraph
- All Vertices exactly once
- Some Edges exactly once
- Start and End at the same Vertex
What is the rules for Hamilton Path
- No special rule
- All Vertices exactly once
- Some Edges exactly once
What is the rule for Subgraph?
- All Vertices are Connected
- Number of Vertices = Number of Edges
- Every Vertices has 2 Degree
When Hamilton Circult doesn’t exist?
- There has articulation vertex
a b \ / c / \ d e
- Here, c is articulation vertex
What is the number of chromatic numbers for planar graph?
- Less than or equal to 4
- Questions can have scheduling questions ( Schedule for Meetings / Final Exams )
List out the rules for Trees Diagram
- All vertices must be connected
- Don’t have Simple Circuit
a -- c -- d | / | / b
Simple Circuit
a, b , c , a
/
List out the formula for Proof by Contradiction
- ~ ( p → q ) ≡ p ^ ~q
- We just need to ensure the q negates
List out the formula for Proof by Contrapositive
- p → q ≡ ~q → ~p
- We need to ensure that we assume ** q and p is negate**
What is internal vertices?
- Vertices with children
What is leaves?
- Vertices without children
What is decendants and ancestor?
- Decendants
- All below the current vertices
- Ancestor
- All above the current vertices
How to know the height of the tree diagram?
- Count the level of the diagram
- Count each level for each layer
a / \ b c
This example has height 1 ( Level 0 and 1 )
- Remember it first starts from level 0
Use Following the Wall method to determine
1. Preorder
2. Inorder
3. Postorder
- Touch the Vertices and Write
- Touch the Vertices 2nd Time and Write
- Touch the Vertices Last Time and Write
List out the rules for Spanning Tree
- All vertices ( n ) must be connected with ( n - 1 ) edges
- Cannot have simple graph inside the spanning tree
- Questions Asked
1. Road Problem ( Covered with Snow )
2. IP Multicasting
How can I know if the questions wants I use 0 and 1 in Truth Table?
- If boolean expression is given ( AB + C’ , Q2)
How can I know if the questions wants I use T and F in Truth Table?
- If logic expression is given ( p v ~q , Q1)