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 she got 10 correct answers. Find how many questions were given in the test?

Let x be the total number of questions in the test.

Given that Sona got 10 correct answers, she received 10*3 = 30 marks for the correct answers.

Let y be the number of incorrect answers. The total number of questions attempted by Sona is x = 10 + y.

For the incorrect answers, she received -1*y = -y marks.

The total marks received by Sona is 30 - y.

Since each correct answer is worth +3 marks and each incorrect answer is worth -1 mark, the equation for the total marks is:

30 - y = 3*(10) - 1*y
30 - y = 30 - y

Solving this equation, we get:
0 = 0

This means that the number of questions attempted by Sona doesn't affect the total marks received.

Therefore, the total number of questions in the test is x = 10 correct answers + y incorrect answers = 10 + y. - So, we cannot determine the total number of questions in the test with the information given.