Professional Documents
Culture Documents
Slot: A1 Set: A SRM Institute of Science and Technology College of Engineering and Technology Department of Mathematics
Slot: A1 Set: A SRM Institute of Science and Technology College of Engineering and Technology Department of Mathematics
Answer Key
5. Find the Hamming distance between these code words 𝑥 = 11010 and
𝑦 = 10101 C
A. 2 B. 3 C. 4 D. 5
7. A graph in which loops and parallel edges are not allowed is called
A. Pseudograph B. Simple graph B
C. Multigraph D. Weighted graph
8. The maximum number of colors is required to color the regions of any
map is B
A. 3 B. 4 C. 5 D. 6
9. How many vertices are there in a graph with 16 edges and every vertex has
degree 4? B
A. 4 B. 8 C. 9 D. 16
10. A tree _________
A. Is not always a simple graph
B. Can have parallel edges
C
C. Is always connected
D. Can contains circuits
∙ 1 −1 𝑖 −𝑖
1 1 −1 𝑖 −𝑖
−1 −1 1 −𝑖 𝑖
𝑖 𝑖 −𝑖 −1 1
−𝑖 −𝑖 𝑖 1 −1
[2 Marks]
(a) Since all the elements in the composition table belong to the set 𝐺, the set 𝐺 is closed under
multiplication.
11. (b) Here 𝐺 is a subset of ℂ (set of complex numbers) and complex numbers obey associative property
with respect to multiplication. Hence 𝐺 satisfies associative property with respect to multiplication.
(c) Here 1 is the identity element.
(d) The inverse of 1, −1, 𝑖, 𝑎𝑛𝑑 − 𝑖 are 1, −1, −𝑖, 𝑖 respectively.
[3 marks]
𝟏 𝟎 𝟎 𝟏 𝟏 𝟎
Given the generator matrix 𝟎 𝟏 𝟎 𝟎 𝟏 𝟏 corresponding to the encoding
𝟎 𝟎 𝟏 𝟏 𝟎 𝟏
function 𝒆: 𝑩3 → 𝑩6 , find the corresponding parity check matrix and use it to decode the
following received words
(i)110101 (ii) 001111 (iii) 110001 (iv) 111111
1 0 1 1 0 0
Parity check matrix: 𝐻 = 1 1 0 0 1 0
0 1 1 0 0 1
[2 Marks]
1
1 0 1 1 0 0 1 0
0
(i) 𝐻 𝑟 ! = 1 1 0 0 1 0 = 0
1
0 1 1 0 0 1 0 0
13. 1
The received word in this case is the transmitted word itself.
0
1 0 1 1 0 0 0 0
! 1
(ii) 𝐻 𝑟 = 1 1 0 0 1 0 = 1
1
0 1 1 0 0 1 1 0
1
Since the syndrome is the fifth column of 𝐻, the element in the fifth position of 𝑟 is changed.
Therefore the decode word is 001101.
1
1 0 1 1 0 0 1 1
! 0
(iii) 𝐻 𝑟 = 1 1 0 0 1 0 = 0
0
0 1 1 0 0 1 0 0
1
Since the syndrome is the fourth column of 𝐻, the element in the fourth position of 𝑟 is
changed. Therefore the decode word is 110101.
1
1 0 1 1 0 0 1 1
! 1
(iv) 𝐻 𝑟 = 1 1 0 0 1 0 = 1
1
0 1 1 0 0 1 1 1
1
Since the syndrome is not identical to any column of 𝐻, the received word cannot be decode
uniquely.
[8 Marks]
(i) Find the number of vertices, the number of edges and degree of each vertices. Also verify
the handshaking theorem.
Number of vertices: 7
Number of edges (e): 12
𝑑𝑒𝑔 𝑎 = 𝑑𝑒𝑔 𝑏 = 𝑑𝑒𝑔 𝑐 = 𝑑𝑒𝑔 𝑑 = 𝑑𝑒𝑔 𝑒 = 𝑑𝑒𝑔 𝑓 = 3
and 𝑑𝑒𝑔 𝑔 = 6
[3 Marks]
(degrees of 7 vertices) = 24 = 2 ∙ 12 = 2𝑒
Hence handshaking theorem verified.
14.
[2 Marks]
[5 Marks]
Check whether the following two graphs G and H are isomorphic
Write down the Kruskal’s algorithm for finding the minimum spanning trees. Find a minimum
spanning tree using Kruskal’s algorithm for the graph given below:
16.
Kruskal’s algorithm:
(a) The edges of the given graph G are arranged in the order of increasing weights.
(b) An edge G with minimum weight is selected as an edge of the required spanning tree.
(c) Edges with minimum weight that do not from a circuit with the already selected edges are
successively added.
(d) The procedure is stopped after (𝑛 − 1) edges have been selected.
[3 Marks]
Edge Weight Included or not If not then why
AE 2 Yes −
CD 3 Yes −
AC 4 Yes −
CE 4 No 𝐴−𝐸−𝐶−𝐴
AB 6 Yes −
BC 6 No 𝐴−𝐵−𝐶−𝐴
BE 6 − −
DE 7 − −
AD 8 − −
BD 8 − −
[5 Marks]
A
E B
D C
[2 Marks]