March 24, 2023

Using ChatGPT 3.5 to explain code to beginners, port it to other languages, and construct assessments and grading rubrics.

The responses shown were the first responses. Nothing was cherry-picked.

Ask ChatGPT to explain an example from a tutorial. This is from a sequence that introduces the concept of a loop (ChatGPT doesn’t know this), so I asked a follow-up question about the loop. Future: Tell it more about the tutorial and where in the sequence this example comes from, so that it can target the explanation.

Ask ChatGPT to explain an example from a tutorial. This is from a sequence that introduces the concept of a loop (ChatGPT doesn’t know this), so I asked a follow-up question about the loop. Future: Tell it more about the tutorial and where in the sequence this example comes from, so that it can target the explanation.

A second follow-up question. Note: It uses ASCII art to illustrate the screen, but gets the horizontal and vertical axes backwards.

A second follow-up question. Note: It uses ASCII art to illustrate the screen, but gets the horizontal and vertical axes backwards.

[…and it continues.] ChatGPT can also be used to explore alternative programming techniques, patterns, constructs, and paradigms. In other experiments, I‘ve used it to translate strictly procedural code into OO and functional code.

[…and it continues.] ChatGPT can also be used to explore alternative programming techniques, patterns, constructs, and paradigms. In other experiments, I‘ve used it to translate strictly procedural code into OO and functional code.

[…and so on.]

[…and so on.]

Things to note:

Debugging

Screenshot of Safari (3-24-23, 11-41-10).png

Translating

Translating p5.js to Processing, and to Arduino. (Not tested. I don’t have an LED matrix. It looks plausible and compiles.)

Untitled

Untitled

…and so on.

…and so on.

Generating assessments and grading rubrics

Screenshot of Safari (3-24-23, 17-23-35).png

Screenshot of Safari (3-24-23, 17-23-58).png

Screenshot of Safari (3-24-23, 17-24-10).png

…and so on, for the remaining questions.

…and so on, for the remaining questions.