Answer: 30
Explanation:
Let, he gave x correct answer.
Since, He gets 2 stars for every 5 correct answer.
⇒ For 5 correct answers number of stars = 2
⇒ For 1 correct answer number of stars = 

⇒ For x correct answer number of stars = 

According to the question,
He want to get 12 stars,
⇒ 

⇒ 

⇒ 

Thus, the minimum number of correct answer is 30.