The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.
a new batch of Freshman enter college and post their homework questions on CP for us to answer.
Two things I find interesting / surprising:
That C++ seems abundantly in use at the college level. I haven't had to touch that professionally since 2008.
And, that in my whole career (and I'm an old dude), I've never had to figure out the prime numbers between 1 and a google. Why do colleges choose to have young developers solve such abstract problems? Would it not serve the [business] world better to have them work on practical issues?
yeah, let's teach kids how to find the area of a triangle, coz that's useful in ... ?
(heck even where is may be useful in planning the cad software does it for you anywhere).
you've exposed the biggest problem with education:
95% useless, except (1) to keep kids occupied, and (2) pick out the good ones.
and don't bring up that crap about 'learning how to solve / dissect / approach problems, answer to anything you need to know/figure out is on goggle. only thing kids really need to learn is how to use a search engine [instead of posting the same bloody questions on cp as the last idiot]
It has been a long time since college. I seem to recall some guys in togas teaching... Most of the people teaching computer science when I was in college had never held a real job. Their whole world consisted of their academic experience so it is not surprising that they do not give out practical assignments. They would not know a real business problem if it bit them in the.. landed on their desks. It has been my misfortune to have had one or two ex profs on teams I have been a part of. The project manager usually got rid of them quick. Unproductive.
My first programming class in fall of 1979, CS141: Introduction to Programming, used WATFIV[^] on the aforementioned mainframe. As I recall, WATFIV was a superset of FORTRAN 66, adding several constructs useful for structured programming.
Young whipper snappers
University of Alaska didn't even HAVE a computer science curriculum. My degrees are in Chemistry and Mathematics. I learned assembly language on a PDP-11 in order to create analysis tools for an Inductively Coupled Argon Plasma Spectrophotometer. (Say that three times fast!)
Although my IMSAI 8080 DID have paper tape AND floppies.
A human being should be able to change a diaper, plan an invasion, butcher a hog, navigate a ship, design a building, write a sonnet, balance accounts, build a wall, set a bone, comfort the dying, take orders, give orders, cooperate, act alone, solve equations, analyze a new problem, pitch manure, program a computer, cook a tasty meal, fight efficiently, die gallantly. Specialization is for insects! - Lazarus Long