Evaluating the Impact of ChatGPT on Exercises of A Software Security Course