I list computational methods in group theory. The $C_8$ example by Sharma is visualised in Mathematica below. Python one-liners are convenient way to verify generator guesses, in the case of multilpicative group just change one $*$ (multiplication) to $**$ (power).
Python
For example to check that 1 and 5 generate $(\mathbb Z_6,+)$ and all relative prime numbers $\{1,3,5,7\}$ generate $(\mathbb Z_8,+)$
>>> [(1*x)%6 for x in range(20)]
[0, 1, 2, 3, 4, 5, 0, 1, 2, 3, 4, 5, 0, 1, 2, 3, 4, 5, 0, 1]
>>> [(5*x)%6 for x in range(20)]
[0, 5, 4, 3, 2, 1, 0, 5, 4, 3, 2, 1, 0, 5, 4, 3, 2, 1, 0, 5]
>>> [(3*x)%8 for x in range(20)]
[0, 3, 6, 1, 4, 7, 2, 5, 0, 3, 6, 1, 4, 7, 2, 5, 0, 3, 6, 1]
>>> [(5*x)%8 for x in range(20)]
[0, 5, 2, 7, 4, 1, 6, 3, 0, 5, 2, 7, 4, 1, 6, 3, 0, 5, 2, 7]
>>> [(7*x)%8 for x in range(20)]
[0, 7, 6, 5, 4, 3, 2, 1, 0, 7, 6, 5, 4, 3, 2, 1, 0, 7, 6, 5]
Mathematica (source)
On Sharma's example: the $C_8$ isomorphic to $(\mathbb Z_8,+)$ group visualised below.



Other and discussion
CAS programs for the first course in abstract algebra?
https://math.stackexchange.com/questions/1653673/software-for-generators-of-different-structures-such-mathbb-z-5-and-such-as
How to declare a $(\mathbb Z_8,+)$ in Mathematica?
Maple has Generators(group) command but you need to specify the group somehow, unsolved.
"Cycles[{{1, 2, 3, 4, 5, 6, 7, 8}}] is the generator for the cyclic group of size 8, because it corresponds to the simple permutation on the set {1, 2, 3, 4, 5, 6, 7, 8} in which 1 -> 2, 2 -> 3, etc. Multiplying that permutation by itself yields the first of the two Cycles at the end of your post, which I think makes good sense: every element moves two elements to the right"
here? So the cycle is generator or 1,3,5,7? – hhh Feb 14 '16 at 12:12