Hi, don't know if it will help, but I like to do it by learning the pattern that they all follow and then working it out from that. Then I only have to remember the one thing and I can work out all the scales.
First visualize a piano keyboard. ( or look at a real one!)
Look at how many tones or semitones are inbetween each note for a major scale.
For a C major scale the second note is two semitones up, the third is two up from that, but the fourth is the note next door to the third. Then it goes up in gaps of two semitones until the seventh, which is just one semitone away from the end note.
In other words, all the notes are a whole tone away from each other apart from the 3rd and 4th, and the 7th and 8th.
If you take any other note to start on, the major scale follows the same pattern. Just look at a keyboard to see it. To remember the basic pattern, visualize the keyboard with the C scale and see where the black notes go and where the whites are next to each other.
You can work out minor scales from their relative majors.
Maybe this sounds more complicated than usefull!

But it helps me because I hate learning by rote, I was pleased when I found out I didn't have to learn all the scales one by one. Knowing that there was a pattern made it make sense. I found that looking at/ working out / playing all the scales helped me get a handle on it all. The circle of fiths is also good for seeing patterns.
I suspect I haven't explained this very well....
I guess it would work best for people who are already familiar with piano keyboards....and it is probably quicker just to know the scales by heart.....and knowing what notes to play is not the same as playing them...and I haven't taken any exams using this method....but I hope you get the idea