I think that asking someone with a proper CS degree if they "know how to code" is like asking a master carpenter if they know how to cut and sand wood. Yes, of course, but if all you wanted to learn was cutting and sanding then becoming a master carpenter was a waste of time and effort.