Developing Course Practice Apps With Generative AI

Using generative AI to develop computer science course practice apps
Teaching
Author
Affiliation
Published

August 24, 2026

Note: All links below will open in a separate tab or window.

I am still exploring in what areas I find value in the use of generative AI in my various roles as a faculty member. To date, one of the things I am finding valuable is the use of generative AI tools to develop resources that allow students to practice with computer science concepts and skills. Below I will describe and provide links to two practice applications that have been developed so far. Both were developed using ChatGPT. They are web applications, relying on HTML, CSS, and Javascript. When I develop a larger pool of these, I anticipate linking directly to them from the Teaching section of my website.

I think a key takeaway for me at this point is: I don’t have strong Javascript, CSS, or aesthetic skills. While I could (and should) learn those tools, the use of generative AI for the interface and backend programming has allowed me to focus on the educational goals of developing the practice applications.

At my institution, I commonly teach the undergraduate Programming Languages course, which includes, among other topics, coverage of finite state automata, regular expressions, push down automata, grammars, and related language concepts. I have also recently taught our undergraduate Data Structures and Algorithms course.

To get each tool to where I wanted it required a series of prompts. After getting to the endpoint I was interested in on the regular expression practice tool, I asked ChatGPT to generate a singular prompt that would arrive at the same place. Below is that prompt. I have not tried the prompt myself to one-shot develop the app again, so your mileage may vary with its value, but it does aggregate what I initially prompted in a series.


Prompt:

Create a self-contained web application in a single HTML file, using HTML, CSS, and JavaScript, that can be opened directly in a standard web browser with no server or external libraries.

The app should be a regular expression practice quiz with these features:

Use a mixture of regular expressions involving concatenation, alternation, Kleene star, plus, optional characters, character classes, repetitions, and binary strings. Keep all exercise data in a clearly editable JavaScript array so the regular expressions and example strings can easily be changed later.

Return the completed app as a downloadable .html file.

Citation

BibTeX citation:
@online{turkett2026,
  author = {Turkett, William},
  title = {Developing {Course} {Practice} {Apps} {With} {Generative}
    {AI}},
  date = {2026-08-24},
  url = {https://turketwh.github.io/posts/20260824-GenAIDevelopedCSPractice/},
  langid = {en}
}
For attribution, please cite this work as:
Turkett, William. 2026. “Developing Course Practice Apps With Generative AI.” August 24. https://turketwh.github.io/posts/20260824-GenAIDevelopedCSPractice/.