A little ncurses program that lends itself to a class github activity The exam ( finalexam.c ) is a C program that uses ncurses.
apt install libncurses-dev build-essential
make
After compiling, you'll have an executable finalexam. Run this like
./finalexam
and then you can take the exam!
The class will help make the final exam by creating questions. Questions can be submitted via pull request. If I review your questions and they're good, I'll accept the PR and they'll become part of the final.
Then the students must provide some questions in the questions directory.
Each question should be a file called student_name.txt
And the file format is like
QUESTION
CHOICE1
CHOICE2
CHOICE3
CHOICE4
ANSWER_INDEX
Answer index should be a single char from 1-4