To reply to your comment about what to eat before an exam, you're right, bananas are great, because they're high in cabohydrates, which are fast acting and provide energy for your brain quickly. On the other hand, fats take longer to break down and contain lowers levels of oxygen in their molecular structure, so it's slower and less efficient at nourishing the brain. As for chocolate, I suppose a few squares might help lift your spirit mentally 😁, but too much of these kinds of sugars can send you on a sugar high but then suddenly your blood sugar levels drop and you're suddenly left feeling lethargic. Not good. Also, the caffeine might be a problem.
I hope this information is correct. I'm not an expert in this area, but this is the advice I get from teachers and from online ☺