Honestly, if someone doesn't know these very basic concepts
exist, the fundamental error of attribution here is passing judgment on them and their curiosity level. If we fail to teach, we cannot blame the students for not knowing they were failed, and specifically how.
If someone goes through and passes a bootcamp, it is fair to be generous in granting them some level of curiosity about programming. If the bootcamp doesn't introduce the fundamentals of programming, that's no more the student's fault than it would be the fault of an art history student to not know what chiaroscuro is if it wasn't introduced as part of art history.
Bootcamps market and position themselves as good alternatives for people to learn how to program and, often, get a job. I see no reason to neglect holding them to their promise.