The correct option is B Both are wrong
Articles are words (a, an, the) that precede the noun and express whether the noun is specific or non specific. When a common noun is non specific, the articles 'a' or 'an' are used ('a' is used when the noun begins with a consonant: a baseball, 'b' is a consonant; and 'an' is used when the noun begins with a vowel: an actor, 'a' is a vowel). When the noun is a particular, specific person or a thing, then the definite article 'the' is used.
In the given sentence P, the noun 'appointment' is not preceded by an article. 'Appointment' is an abstract noun, it means 'an arrangement to meet with someone'. Abstract nouns usually do not take an article (when used in general sense), unless the noun is used in a particular sense. The noun 'appointment' is used in a specific sense , hence P is a grammatically incorrect statement (the article used before 'appointment' is 'an').
Similarly, 'game' is made particular by the adverb of time 'yesterday'. It must be preceded by an article ('a'). Hence Q is also an incorrect statement.
Option B has both sentences as incorrect, hence we choose this option. (We have to choose the option that speaks the truth about these sentences.)
Option A is incorrect because P and Q are both not right, the nouns 'appointment' and 'game' are both missing an article each.
Similarly, options C and D are incorrect because C states that the sentence in P is right and D states that the sentence in Q is right; both are wrong.