ExerciseCreator is an Application to create and solve Exercises.
It is written in Java and designed to easily create exercise generators.
The code is split into two seperate projects - ExerciseCreation and ExerciseCreationGUI. The GUI project depends on the ExerciseCreation project.
To develop in Eclipse you have to import both projects into your workspace and configure the build path.
File
->Import..
->Existing Projects into Workspace
-> SetSelect root directory
to the root path of this repository.- Check both the
ExerciseCreation
andExerciseCreationGUI
projects underProjects:
and hitFinish
. Right Click
onExerciseCreationGUI
in your package explorer and selectProperties
.- Go to
Java Build Path
->Projects
->Add
and selectExerciseCreation
->Apply and Close
.
You can take a look at the examples in de.fabianduerkop.exercise.exercises.math
- ExerciseArithmetic
and ExerciseMathQuiz
.
To create an exercise your class should extend MinimalExample
and override the methods createExercise
and checkAnswer
. You also need to register your class in de.fabianduerkop.exercise.ExerciseRegister
.
- Support for custom exercise generators
- Simple GUI
- Fancy GUI
- Support for code exercises
- More exercise types