With the AWS outage today, I wanted to continue to practice with my students in CSA, but wasn’t sure if the platform would be up and running in time for class! I had chat gpt create an assignment with content related to Arrays, since we are about midway through unit 3 in the CSA course. The prompt I used was:
“Create a practice assignment for an AP CS A class that uses java. The assignment should have a few questions on 1D array creation using the new keyword, and initializer lists. Then include a few questions on accessing items in an array, and on changing items stored in the array. They have a few questions on using while loops to traverse an array, and on using for loops with an array. Please have 12 questions total. Create one version for students with no key, and then list the answers.”
I checked the answers and found one that listed two possible answers but the code for the second answer was not something I recognized as java, so I deleted that. Here is a link to the google doc.
I thought I would share, I tried using AI to write multiple choice questions when chat GPT was first out, and it wasn’t very good. It is getting better, but still needs double checking before using with students ![]()