Formulas and Points Flashcards

(33 cards)

1
Q

List out 2 table header for Adjacency List - Undirected Graph

A
  1. Vertex
  2. Adjacent Vertices
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

List out 2 table header for Adjacency List - Directed Graph

A
  1. Initial Vertex
  2. Terminal Vertices
  • Important
  • Write for Out-Degree only
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

List out what must write in Proof by Contrapositive

A
  1. Because the negation of the conclusion of the conditional statement implies that the hypothesis is false, the original conditional statement is true.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

List out in degree and out degree

A
  1. deg ⁻(V) In-Degree
  2. deg ⁺(V) Out-Degree
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the Formula for Handshaking Theorem?

A

⋿ deg (v) = 2e
v ⋴ V

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

How is loop counted as with degree?
1. Undirected Graph
2. Directed Graph

A
  1. 2
  2. 1 In Degree , 1 Out Degree
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is the rules for Euler Circuit?

A
  1. All Degree must be Even
  • All Vertices at least once
  • All Edges exactly once
  • Start and End at the same Vertex
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is the rules for Euler Path?

A
  1. Exactly 2 Degree must be Odd
  • All Vertices at least once
  • All Edges exactly once
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is the rules for Hamilton Circuit?

A
  1. Need to have Subgraph
  • All Vertices exactly once
  • Some Edges exactly once
  • Start and End at the same Vertex
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is the rules for Hamilton Path

A
  1. No special rule
  • All Vertices exactly once
  • Some Edges exactly once
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is the rule for Subgraph?

A
  1. All Vertices are Connected
  2. Number of Vertices = Number of Edges
  3. Every Vertices has 2 Degree
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

When Hamilton Circult doesn’t exist?

A
  1. There has articulation vertex
a          b
   \       /
        c
    /      \ 
  d         e 
  • Here, c is articulation vertex
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is the number of chromatic numbers for planar graph?

A
  1. Less than or equal to 4
  • Questions can have scheduling questions ( Schedule for Meetings / Final Exams )
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

List out the rules for Trees Diagram

A
  1. All vertices must be connected
  2. Don’t have Simple Circuit
a -- c -- d
|   / 
| / 
b 

Simple Circuit
a, b , c , a

/

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

List out the formula for Proof by Contradiction

A
  1. ~ ( p → q ) ≡ p ^ ~q
  • We just need to ensure the q negates
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

List out the formula for Proof by Contrapositive

A
  1. p → q ≡ ~q → ~p
  • We need to ensure that we assume ** q and p is negate**
17
Q

What is internal vertices?

A
  1. Vertices with children
18
Q

What is leaves?

A
  1. Vertices without children
19
Q

What is decendants and ancestor?

A
  1. Decendants
    • All below the current vertices
  2. Ancestor
    • All above the current vertices
20
Q

How to know the height of the tree diagram?

A
  1. 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
21
Q

Use Following the Wall method to determine
1. Preorder
2. Inorder
3. Postorder

A
  1. Touch the Vertices and Write
  2. Touch the Vertices 2nd Time and Write
  3. Touch the Vertices Last Time and Write
22
Q

List out the rules for Spanning Tree

A
  1. All vertices ( n ) must be connected with ( n - 1 ) edges
  2. Cannot have simple graph inside the spanning tree
  • Questions Asked
    1. Road Problem ( Covered with Snow )
    2. IP Multicasting
23
Q

How can I know if the questions wants I use 0 and 1 in Truth Table?

A
  1. If boolean expression is given ( AB + C’ , Q2)
24
Q

How can I know if the questions wants I use T and F in Truth Table?

A
  1. If logic expression is given ( p v ~q , Q1)
25
Try to do this Negation 1. Will 2. And 3. > 250 4. <= 250
1. Will not 2. Or 3. <= 250 4. > 250
26
List out 3 logical equivalant statement
1. Tautology - All True 2. Contradiction - All False 3. Contigency / Indeterminant - Some True / False
27
Can we use [] when representing Logic Gates?
1. Yes
28
How to calculate SOP ( Minterm )
1. All about 1 , X' / A' when 0 in Truth Table xyz + xyz' + x'y'z * Remember write **ABC** when the Truth Table is **ABC**
29
How to calculate POS ( Maxterm )
1. All about 0, X' / A' when 1 in Truth Table ( x' + y + z )( x' + y + z ) ( x' + y' + z ) * Remember write **ABC** when the Truth Table is **ABC**
30
What is Karnaugh Map being used for?
1. Calculate the Simplified SOP ( Minterm )
31
What is Vertex of degree 0 called?
1. Isolation
32
Why does a loop counted as 2 for directed graph and undirected graph?
1. It has 1 in degree and 1 out degree
33
List out the adjacent vertices of vertex c ``` a ← c → b ↙ ↘ d e ```
1. a , b , c , d , e