When you eat whole grains, the sugars will be released in a controlled manner, so there will be no spike in your sugar levels which contribute to restlessness and lack of focus. 3.) Berries – Fruits in general are excellent foods to eat when you are studying. Not only do they supply energy in the form of simple carbohydrates, that doesn’t task the digestion process, but they don’t mess with your sugar levels either.