No, you only get a total of 5 grace marks provided that your internal marks are 30 out of 50.
So for instance you scored 30 out of 50 in internals,
And 25 out of 100 in externals,
Then 5 grace marks will be given and you will be cleared in that semester.