Optimal Protocols for Studying & Learning