I just graduated with a software-engineering master’s degree with a good grade from a top-five university in the UK. I also have a bachelor's in computer science.
I always revised just for exams and just enough to get that first-class degree, without actually learning anything. I basically revise for the exam itself, by looking at past paper answers, and I never study the actual material. I then forget everything after finishing the exam. I've been repeating this cycle since school. This method has given me a great first-class degree but with practically zero knowledge. As @Sule said, I never internalised the material. I also never did a single internship because I didn’t need to.
Now, I’m facing a problem: How am I supposed to find work if I barely know how to program? Will employers just accept me because I have a fancy software-engineering master’s degree from a top-five university? I also haven’t worked professionally a single day in my life.
I'm thinking of getting a PhD at this point.