An exam consists of six true-or-false questions. Assuming that every question is answered, in how many different ways can a student complete the exam? In how many ways may the exam be completed if a penalty is imposed for each incorrect answer, so that a student may leave some questions unanswered?