Logic comes into play. If it said you were a teacher, then you were perhaps looking for some tips on creating a good assignment. Since it said you were a student, then logically, you were browsing for [the purpose of completing] an assignment.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.