What is the difference between direct current generator and alternate current generator.State the advantages of alternate current over direct current?