Dr. Mark Humphrys

School of Computing. Dublin City University.

Online coding site: Ancient Brain

coders   JavaScript worlds

Search:

Free AI exercises


Free online AI programming exercises

For use in any AI course

A series of free online AI programming exercises, with exercise notes.
Students can code these AI exercises in the browser, with no install.


Features
  • Code runs on the Ancient Brain platform.
  • All code is in JavaScript.
  • Students can copy, edit and run the code online, in the browser, with no install.
  • Students are given challenges to code in the exercise notes.
  • Teachers can run and examine student code in the browser, with no risk, and no install.
AI exercises included
  • Binary tree
  • Breadth-first search
  • Breadth-first search (graphical)
  • A* search

  • Genetic Algorithm
  • Genetic Algorithm for TSP

  • Perceptron
  • Neural network for XOR
  • Character recognition neural network
Credits

Bonus World: Chat GPT


This World calls the OpenAI API to talk to GPT-3.5.
This is the model that ChatGPT uses.
We do not have exercises but you could think of some.