'I will' and 'I'll' mean exactly the same thing.
Usually people speak fast, so we probably say 'I'll' most of the time, but if we want to be really definite about something, we might choose 'I will' with the stress on the word 'will' to emphasise that we mean what we say. I think that might be what the teacher means.