"take a class" is correct English. However saying that "Students should take a class" (i.e. any unspecified class) seems a bit vague and unnecessary, since that is what students do by definition.
"attend a class" and "listen to lectures" are also correct English. "listen to class" is wrong (you could say "listen in class"*). "listen to course" is wrong.