If you had classes in August and in December that would be considered 5 months, one semester. You would be considered a student for the school year. The IRS states " you must be a full time student some part of 5 months" during the tax year so the Fall semester would be enough to fulfill the requirement for education credit and the dependency rules.