See
>>3 then. No programmer, including most novices, use truth tables. They can do it in their head unconsciously for things like AND, OR, NOT, XOR, etc. It's not an option either. You
must know how to do them in your head (and they're bloody simple anyway).
So if your teacher meant that programmers always use that knowledge, yes they do. Constantly. If said teacher meant coders actually have truth tables written on post-it notes on the monitor then your teacher isn't qualified to teach programming in any language.