Each correctly-entered Glyph gains the agent 100 AP. If the entire sequence is correctly entered, the speed bonus will be applied to the AP reward. This AP is independent of the 200 AP reward for hacking an enemy Portal.
There are different types of hay, and the different types have different nutritional values and usages. Alfalfa, red clover, timothy, bermudagrass and tall fescue are all types of hay grown as feed crops for animals from horses to rabbits.
Hay is a crop that is grown specifically for the purpose of creating hay, while straw is a byproduct of different kinds of crops. Hay is geared toward being a nutrient-rich food for livestock, while straw is more often used for bedding instead of food.