Courses aren't supposed to be pure memorization. If you can only answer questions directly covered in the material but can't apply it to new situations, you should not get an A.
Many "straight A" high school students earn their first B (or C) with this misunderstanding.
Many "straight A" high school students earn their first B (or C) with this misunderstanding.