Depends what the grade structure is like, in my one college CS class homework could probably have been GPT’d (didn’t exist yet) but tests were 75% of your grade and were handwritten in a proctored hall. Mostly they involved pseudocode and showing knowledge of data structures and algorithms rather than specific coding requirements. That couldn’t be GPT’d, at least not with competent proctors and a time limit, so you couldn’t pass without some competence even if the specific coding syntax went over your head.
Depends what the grade structure is like, in my one college CS class homework could probably have been GPT’d (didn’t exist yet) but tests were 75% of your grade and were handwritten in a proctored hall. Mostly they involved pseudocode and showing knowledge of data structures and algorithms rather than specific coding requirements. That couldn’t be GPT’d, at least not with competent proctors and a time limit, so you couldn’t pass without some competence even if the specific coding syntax went over your head.