Yes, that's correct. Not only was my undergrad degree in music, I had virtually no computer/technology experience of any kind (this was back in the 80's and I was still using typewriters to type up papers.) So it would have been pretty difficult for me to enter the profession directly.
As an aside, my master's program probably wasn't the best overall preparation for a career as a software developer, actually. It was highly theoretical/mathy, and I think undergrad CS students probably got more and more relevant programming experience. It was mostly about having the credentials, I think.