You will be able to work better if you eat a healthy diet and get plenty of sleep.
This applies both during your exam period and when you are revising. Surviving on junk food is not a good idea. For more about the importance of diet and sleep, see our pages on Food, Diet, and Nutrition and The Importance of Sleep.
It is also a good idea to take regular exercise when studying. A brisk walk, or more vigorous exercise will get your blood circulate through the body and ensure that you are able to concentrate better.