I can see that he definitely has been loosing confidence surely and steadily, there is a disconnection with the teacher as she doesn’t really seem to teach them, she seems to give a few instructions and let them get on with it, whereas in other subjects they get taught, corrected, get feedback with a progression plan etc
Is that the nature of the subject that students gets on with it?
It can be but it shouldn’t be.
There is a lot of pedagogy around the best approaches to teaching CS but unfortunately, there are just so few specialists with the right background to have the time to learn them and use them as their main focus is on learning the subject themselves (graduates with a Computer Science degree will earn a lot more, more quickly, with better work conditions after graduation, so most don’t even consider going in to teaching, let alone continue after training once they have received their bursary)
This means that it can be taught by ex PE teachers, music teachers, biology teachers or business studies teachers (which is no bad thing in itself and I have had some great colleagues this way but does mean it can take time for them to find their feet).
So I don’t know what the background of your son’s teacher is and it may well be that they have plenty of knowledge and experience but may have been struggling with the remote learning and how best to deliver that.
I have taught no practical programming in the last 6 weeks for that reason as I know I can’t effectively provide the immediate feedback and support for programming errors when I cannot see their screens.
In the meantime, it helps to think of learning to program the same as learning an instrument. It certainly needs frequent practise but also benefits from one to one and immediate feedback, which is possible with one to one music lessons but not possible in large classes doing programming remotely.
Until we are physically back in school, I would encourage your son to nail their theory parts of programming first. Get those definition of what variables, functions etc are and practise on his Codecademy account for the rest.
This means that when he returns and does more exam style questions, he will find them easier.