CC 103 M14 GRAPHS

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/31

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 9:59 AM on 5/4/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

32 Terms

1
New cards

Graph

is a non-linear data structure consisting of vertices and edges.
composed of a set of vertices( V ) and a set of edges( E ). The graph is denoted by G(V, E).

2
New cards

Vertices

referred to as nodes or vertex

3
New cards

Edges

lines or arcs that connect any two nodes in the graph.

4
New cards

Vertices

Edges

Components of a Graph

5
New cards

Vertices

the fundamental units of the graph.

6
New cards

Every node/vertex

can be labeled or unlabeled.

7
New cards

Edges

are drawn or used to connect two nodes of the graph. It can be ordered pair of nodes in a directed graph. can connect any two nodes in any possible way. There are no rules.

8
New cards

Null Graph

Trivial Graph

Undirected Graph

Directed Graph

Connected Graph

Disconnected Graph

Regular Graph

Complete Graph

Cycle Graph

Cyclic Graph

Directed Acyclic Graph

Bipartite Graph

Weighted Graph

Types of Graph

9
New cards

Null Graph

there are no edges in the graph.

10
New cards

Trivial Graph

Graph having only a single vertex, it is also the smallest graph possible.

11
New cards

Undirected Graph

A graph in which edges do not have any direction. That is the nodes are unordered pairs in the definition of every edge.

12
New cards

Directed Graph

A graph in which edge has direction. That is the nodes are ordered pairs in the definition of every edge.

13
New cards

Connected Graph

The graph in which from one node we can visit any other node in the graph

14
New cards

Disconnected Graph

The graph in which at least one node is not reachable from a node

15
New cards

Regular Graph

The graph in which the degree of every vertex is equal to K is called K regular graph.

16
New cards

Complete Graph

The graph in which from each node there is an edge to each other node.

17
New cards

Cycle Graph

The graph in which the graph is a cycle in itself,  the degree of each vertex is 2.

18
New cards

Cyclic Graph

A graph containing at least one cycle

19
New cards

Directed Acyclic Graph

A Directed Graph that does not contain any cycle. 

20
New cards

Bipartite Graph

A graph in which vertex can be divided into two sets such that vertex in each set does not contain any edge between them.

21
New cards

Weighted Graph

A graph in which the edges are already specified with suitable weight

can be further classified as directed weighted graphs and undirected weighted graphs.

22
New cards

Adjacency Matrix

Adjacency List

Representation of Graphs (two ways to store a graph)

23
New cards

Adjacency Matrix

In this method, the graph is stored in the form of the 2D matrix where rows and columns denote vertices. Each entry in the matrix represents the weight of the edge between those vertices

24
New cards

Adjacency List

This graph is represented as a collection of linked lists. There is an array of pointer which points to the edges connected to that vertex.

25
New cards

Insertion of Nodes/Edges in the graph

Deletion of Nodes/Edges in the graph

Searching on Graphs

Traversal of Graphs

Basic Operations on Graphs

26
New cards

Maps

topological sort

State Transition Diagram

Usage of graphs

27
New cards

State Transition Diagram

       Diagram represents what can be the legal moves from current states. In-game of tic tac toe this can be used.

28
New cards

Directed Acyclic Graph.

When various tasks depend on each other then this situation can be represented using a — and we can find the order in which tasks can be performed using topological sort.

29
New cards

pathfinding

data clustering

network analysis

machine learning

They can be used to model and solve a wide range of problems, including

30
New cards
31
New cards

graph theory or related algorithms.

Graphs can be complex and difficult to understand, especially for people who are not familiar with

32
New cards

Sports

Social media

transportation

cybersecurity

They can be used in a variety of fields such as