ChatGPT is wrong a lot when it answers programming questions, study says