The three types of mandamus are alternative mandamus, peremptory mandamus, continuing mandamus. The alternative mandamus is first issued in the application for relief, then the defendant can either perform the act demanded or show up to court saying why he/she did not perform the act. The peremptory mandamus is an absolute and unqualified command to the defendant to perform the act. It is issued when the defendant defaults on/fails to show sufficient cause in answer to an alternative mandamus. The continuing mandamus is issued to a lower authority in general public interest asking an officer or the authority to perform its tasks for a period of time to prevent miscarriage of justice.