O and A are two vowels in the word SHLOKA-
There are 6 letters in the word SHLOKA of which 2 are vowels.
Considering 2 vowels as one letter, total 5 letters can be arranged in P5 ways and in each of these arrangements two vowels can be arranged among themselves in P2 ways.
∴ Total permutations = 5P5 × 3P3 = 5 ! × 2!
= 120 × 2 = 240