GATE / CS ARCHIVE

GATE CSE 1996 / QUESTION 2.4

Strings are not a concatenation group

Discrete Mathematics · Algebraic Structures · Full GATE CSE 1996 paper

GATE 1996, Q2.4 2 marks · MCQ
Report issue

Algebraic Structures

Question 2.4, GATE 1996: Which group claim fails: permutations under composition, nonzero residues modulo prime p, strings under concatenation, or the nonempty-subset subgroup test ab⁻¹∈S?
Question 2.4, GATE 1996: Which group claim fails: permutations under composition, nonzero residues modulo prime p, strings under concatenation, or the nonempty-subset subgroup test ab⁻¹∈S?
Tap to enlarge
Your answer
Answer & solution

Answer: C for a nonempty alphabet (no official key was published)

Finite strings have identity ε under concatenation, but a nonempty string w has no inverse. For any string v, length(wv)=length(w)+length(v)>0, so wv cannot equal ε. Thus strings form a monoid, not a group. Permutations have inverse bijections; every nonzero residue modulo prime p has a multiplicative inverse. The subgroup criterion ab⁻¹∈S is valid when S is nonempty, as explicitly printed in the clearer alternate. If an empty alphabet were allowed, its sole string ε would form the trivial group; the conventional alphabet here is nonempty.

Original paper, page 4