I am working on Automated question paper generation through the web using Java Enterprise Edition. We have completed Admin module, Faculty Module, Chairperson module. Now we reached the state of generating question paper from the respective course question pool. I would like to generate question paper randomly using shuffle algorithm. Can anyone help me to represent shuffle algorithm mathematically?