since the given language is havinga restriction on length of strings , i.e |w | < 1000 so maximum length of the string generated by this grammar is 1998 since there is limit to length the language generated by this grammar will be regular, but according to Chomsky Hierarchy all Regular languages are Context Free also therefore given Language is Context Free Language.