IT1401 - Part A
IT1401 - Part A
Unit IV
1. Define a graph.
A graph G can be defined as an ordered set G(V, E) where V(G) represents the set of
vertices and E(G) represents the set of edges which are used to connect these vertices.
2. What is a degree of a node?
A degree of a node is the number of edges that are connected with that node. A node
with degree 0 is called as isolated node.
3. What is spanning tree?
A spanning tree is a subset of Graph G, which has all the vertices covered with
minimum possible number of edges.
A spanning tree does not have cycles and it cannot be disconnected.
4. What is Euler Circuit?
An Euler path is a path that uses every edge of a graph exactly once.
An Euler circuit is a circuit that uses every edge of a graph exactly once.
Unit V
1. Define hash table.
The hash table is a collection of key-value pairs. It is used when the searching
or insertion of an element is required to be fast
2. Mention the difference between Hashing & Extendible Hashing with example.
Hashing Extensible Hashing
Static Hashing Dynamic Hashing
Bucket size is fixed Directory is extensible