The normal procedure in case of all the three courses is that the student has to reappear in all the papers of a particular group/stage in which he/she has not qualified.
However a student may be exempt from appearing in one or more papers of a module in the subsequent examinations, on account of having scored high marks (more than 60%) in the examination in which he/she was declared failed.
One should note that a student may also be exempt from appearing in one or more papers of a module on account of having specified academic qualifications.