This is not limited to public schools. I experienced something similar after transferring from a private university, taking six full semesters of a computer engineering curriculum, only to be required to attend community college to take intro to computers, among others, before I was allowed to enroll in a public university.
So, six years of fulltime classes for an undergraduate degree is my experience.