do your homework idiom       
 认真研究;仔细准备
to study a subject or situation carefully so that you know a lot about it and can deal with it successfully
  It was obvious that she had done her homework and thoroughly prepared for her interview. 很显然她为面试做足了功课,准备很充分。