in reply to german nouns gender
I'd do something like, open the file and run through it. For each line I'd print out the noun and wait for a responce from STDIN. Then check the responce with the answer and print a the result. It shouldn't be overly difficult.