thanks very much, this is exactly what I was looking for

PS: I'm already using the exam class but afaik there's no such thing like an answering line.
Regards,
Adalbert
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis