Session 09 Flashcards

1
Q

Applications of Graphs?

A
  • Representing relationships between componenets in electronic circuits.
  • Transportation networks
  • Computer networks
  • Databases
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

3 ways of representing graphs?

A
  1. Adjacency Matrix
  2. Adjacency List
  3. Adjacency Set
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Graph Traversals / Graph search algorithms ?

A
  • DFS - Depth First Search
  • BFS - Breadth First Search
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Applications of BFS ?

A
  • Finding all connected components in a graph
  • Finding all nodes within one connected components
  • Finding the shortest path between two nodes
  • Testing a graph for bipartiness
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Applications of DFS?

A
  • Topological Sorting
  • Finding connected components
  • Finding strongly connected components
  • Solving puzzles such as Mazes
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Application of Topological Sorting?

A
  • Representing course prerequisities
  • Detecting deadlocks
  • Pipeline of computing jobs
  • Checking for symbolic link loops
  • Evaluating formulas in soreadsheets
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Variations of Shorted path algirithms ?

A
  1. Shortest path in unweighted graph
  2. S.p. in weighted graph
  3. S.p in weighted graph with negative edges
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Applicaitons for shortest path algorithm?

A
  • Finding fastes way to go from one place
  • Finding cheapest way to fly/send data from one city to another
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly