I think both "corn on the cob" and "an ear of corn" mean the same thing. Am I right?

Here is a picture.

Similarly, I think, "a kernel of maize" or "a grain of the maize" are same. Am I right?

An ear of corn is a unit; corn-on-the-cob is a food preparation style, and is uncountable.

A kernel of maize is fine, but a grain of maize is odd to me. Corn and other succulent seeds (nuts, etc) normally come in kernels, while little tiny dry cereals (wheat, rice, oats) are usually referred to as 'grains'.
Sweetcorn can refer to either the whole thing or just the kernels.
Teachers: We supply a list of EFL job vacancies
Thank you Mister Micawber.

I think "a kernel of maize" is called "sweetcorn". Am I right?
 nona the brit's reply was promoted to an answer.
Students: We have free audio pronunciation exercises.