In a test, +3 marks are given for every correct answer and –1 mark are given for every incorrect answer. Sona attempted all the questions and scored +20 marks though she got 10 correct answers.
(i) How many incorrect answers has she attempted?
(ii) How many questions were given in the test?