Thousands of students are due to discover how well they performed in their National 4 and 5, Higher and Advanced Higher exams.