The QR code is used to enhance the security of the exam process. In the event of irregularities or paper leaks, it helps trace the source.