Don't feel to bad, I would bet that most of us would not fair to well if we had to take the written test today. Many facts that you just don't think about "in the real world". Not saying they are not important...just facts you really don't use (or think about) in everyday driving.....
Just rememeber that when you pass (and you will) and you are driving out there...be careful and watch out for the other guy, because he's not watching out for you...
Be safe...