hello,, my first post here..
im a 1st year CS student..
i need a help on having the idea of how to make this assignment..
i need to make a program,,a question bank,, with this functions:
1. Add a question
2. Delete question(s)
3. Modify a question
4. Display question(s)
a. All questions
b. Questions by subject
c. Questions by subject-level (category)
5. Search for a question by keyword (displays questions that have the keyword found in the question or answer)
(THERE ARE 7 SUBJECTS ad 5 LEVELS,, so 35 CATEGORIES all in all)
The questions database must be persistent across usage sessions. That is to say, changes made to the Bank will have to be retained once the program is closed and then re-opened. To make this possible, the filesystem is used to store the questions for the quiz game. Load it once at startup, then save before quitting. Also, the Bank must be able to store an unlimited number of questions.
is it wise to use vectors here, then store them to files? if so,, how?
i think its easier to manipulate many textfiles,, instead of one,, maybe 1 textfile per subject..
i'm not that good in file processing and manipulations(like my english!).. so i really need help how to do this one... even without codes,, just specific ideas and algorithms.... thX..