0% found this document useful (0 votes)
141 views6 pages

Slot: A1 Set: A SRM Institute of Science and Technology College of Engineering and Technology Department of Mathematics

This document is a test answer key for a Discrete Mathematics course. It provides the questions, answers and workings for multiple choice and multi-part questions on topics including groups, graphs, and error correcting codes. The document contains worked examples to show that the set G forms a group under multiplication, that a cyclic group is abelian, and that (Z, +, ⋅) is a commutative ring with identity. It also decodes received words using a parity check matrix and verifies the handshaking theorem for a sample graph.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
141 views6 pages

Slot: A1 Set: A SRM Institute of Science and Technology College of Engineering and Technology Department of Mathematics

This document is a test answer key for a Discrete Mathematics course. It provides the questions, answers and workings for multiple choice and multi-part questions on topics including groups, graphs, and error correcting codes. The document contains worked examples to show that the set G forms a group under multiplication, that a cyclic group is abelian, and that (Z, +, ⋅) is a commutative ring with identity. It also decodes received words using a parity check matrix and verifies the handshaking theorem for a sample graph.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

Slot: A1 Set: A

SRM Institute of Science and Technology


College of Engineering and Technology
DEPARTMENT OF MATHEMATICS
SRM Nagar, Kattankulathur – 603203, Chengalpattu District, Tamilnadu
Academic Year: 2021-22 (Even)

Test : CLAT- III Date : 20/06/2022


Course Code & Title :18MAB302T-Discrete Mathematics for Engineers Duration: 2 Periods
Year/ Sem/Branch : II /IV/NWC Max. Marks: 50

Answer Key

Q.No Part – A( 10 x 1 = 10 Marks)


Question Answer

1. Which of the following is NOT a group?


A. (ℤ, ∙) B. (ℝ,+) C. (ℤ3,+3) D. (ℤ,+) A

2. Generators of the cyclic group (Z5, +5) are


A. 0 and 1 B. 1 and 3
D
C. 2 and 4 D. 1, 2, 3 and 4
3. If ∘ is binary operation on the set of integers defined by a∘b=a+b+1, then
the identity element is C
A. 0 B. 1 C. −1 D. 2
4. The order of the generator matrix of the encoding function 𝑒: 𝐵! → 𝐵! is
A. 3×4 B. 4×3 C. 3×6 D. 6×3 C

5. Find the Hamming distance between these code words 𝑥 = 11010 and
𝑦 = 10101 C
A. 2 B. 3 C. 4 D. 5

6. The chromatic number of the bipartite graph K3, 2 is


A. 2 B. 3 C. 4 D. 5 A

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

Part – B (4x 10 = 40 Marks)


Answer ANY Four
(i) Examine whether the set 𝑮 = {𝟏, −𝟏, 𝒊, −𝒊} form a group or not under the operation of
multiplication.

∙ 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]

(ii) Show that a cyclic group is abelian.


Let 𝐺 be a cyclic group generated by 𝑎. Let 𝑝, 𝑞 ∈ 𝐺, then there exist two integers 𝑟 and 𝑠 such that
𝑝 = 𝑎 ! and 𝑞 = 𝑎 ! .
[2 Marks]
𝑝 ∘ 𝑞 = 𝑎 ! ∘ 𝑎 ! = 𝑎 !!! = 𝑎 !!! = 𝑎 ! ∘ 𝑎 ! = 𝑞 ∘ 𝑝
Hence, 𝑝 ∘ 𝑞 = 𝑞 ∘ 𝑝, for all 𝑝, 𝑞 ∈ 𝐺.
Hence 𝐺 is abelian.
[3 Marks]

Show that (ℤ, +,⋅) is a commutative ring with identity.


(a) ℤ is closed under +. As addition of any two integers is again an integer.
(b) Here ℤ is a subset of ℝ (set of real numbers) and real numbers obey associative property with
respect to addition. Hence ℤ satisfies associative property with respect to addition.
(c) ‘0’ is the identity element.
(d) ‘– 𝑎’ is the additive inverse for any integer 𝑎 ∈ ℤ.
12.
(e) For any two integers 𝑎, 𝑏 ∈ ℤ, 𝑎 + 𝑏 = 𝑏 + 𝑎. Hence ℤ is commutative under ‘+’.
Therefore (ℤ, +) is a commutative group under addition.
[4 Marks]
(f) ℤ is closed under multiplication. As multiplication of any two integers is again an integer.
(g) Here ℤ is a subset of ℝ (set of real numbers) and real numbers obey associative property with
respect to multiplication. Hence ℤ satisfies associative property with respect to multiplication.
Therefore (ℤ, ∙) is a semigroup under multiplication.
[2 Marks]
(h) The distributive laws hold: for all 𝑎, 𝑏, 𝑐 ∈ ℤ
a ⋅ b + c = a · b + a · c
(a + b) · c = a · c + b · c

Hence (ℤ, +, ∙) is a ring.


[1 Mark]
(i) The ring is commutative with respect to multiplication. As for all 𝑎, 𝑏 ∈ ℤ, 𝑎 ∙ 𝑏 = 𝑏 ∙ 𝑎
(j) 1 is the multiplicative identity
[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]

(ii) Draw the graph represented by the following adjacency matrix.


0 1 1 1 1
1 0 1 1 1
1 1 0 1 1
1 1 1 0 1
1 1 1 1 0

[5 Marks]
Check whether the following two graphs G and H are isomorphic

Number of Number of Degree


Graphs
vertices edges sequences
G 6 9 3,3,3,3,3,3
H 6 9 3,3,3,3,3,3
[3 Marks]
Bijective mapping:
𝑢! ⟶ 𝑣!
𝑢! ⟶ 𝑣!
15. 𝑢! ⟶ 𝑣!
𝑢! ⟶ 𝑣!
𝑢! ⟶ 𝑣!
𝑢! ⟶ 𝑣!
[3 Marks]
Adjacency matrices:
𝑢! 𝑢! 𝑢! 𝑢! 𝑢! 𝑢! 𝑣! 𝑣! 𝑣! 𝑣! 𝑣! 𝑣!
𝑢! 0 1 0 1 0 1 𝑣! 0 1 0 1 0 1
𝑢! 1 0 1 0 0 1 𝑣! 1 0 1 0 0 1
𝑢 1 0 ; 𝐴 = 𝑣!
𝐴! = 𝑢! 0 1 0 1 ! 𝑣!
0 1 0 1 1 0
! 1 0 1 0 1 0 1 0 1 0 1 0
𝑢! 0 0 1 1 0 1 𝑣! 0 0 1 1 0 1
𝑢! 1 1 0 0 1 0 𝑣! 1 1 0 0 1 0
[3 Marks]
Therefore 𝐴! = 𝐴! .
Hence 𝐺 and 𝐻 are isomorphic graphs.
[1 Mark]

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]

Dr. Swarup Barik (SRMIST)

You might also like