Comment: This answer was put up before @egreg's above, but that answer should be the one used at the level of the op, go to that one!
Groups are "Unique" up to isomorphism. Isomorphism in this sense means that if we relabeled the elements of one group in the right way, we'd get the exact other group. For instance, there's two groups of order 4: The cyclic group, and the Klein 4 group. The Klein 4 group can be represented as $\mathbb Z_2 \times \mathbb Z_2$ with ordered pair addition, or as $\{e,a,b,ab\}$, with everything commuting and being order 2. The two groups are the exact same up to isomorphsim, in that if we labeled $e=(0,0),a=(1,0),b=(0,1),ab=(1,1)$, all the group operations on the left and right hand sides of those equality would be the same. (that function that does the labeling is called the isomorphism as well)
There's a cyclic group of every order. For primes, cyclic groups are the only group (A simple consequence of Lagrange's theorem that the order of an element divides the order of the group), and obviously for n=1 there's only 1 group, so that takes care of 1,2,3,5,7. 4 and 6 require more powerful tools to prove you know all of them.
For 4, the easiest tool is once you've proved that any group of the order of a prime squared must be abelian, and then with the fundemental theorem of finite abelian groups, you get it must either be $\mathbb Z _4$ or $\mathbb Z _2 \times \mathbb Z_2$. Doing it without those tools would be annoying, I'm not sure what your teacher wants if you're at the beginning.
For 6, by the same fundemental theorem of finite abelian groups, there's only 1 abelian group. To prove there's exactly one nonabelian group, the easiest tool I know of is semidirect products....once you learn semidirect products, it's an early proof to show that if a group has order $pq$, $p<q$, with both $p$ and $q$ prime and $p|(q-1)$, then there's exactly one nonabelian group of that order. In this case, the nonabelian group can be represented as $D_6$ (The dihidral group, or symmetries of a triangle) or $S_3$ (The symmetric group on 3 symbols). In this case, they are isomorphic.