Example Context-Free Grammar Problems

The syntax has been changed. The empty string is no longer $ but "".

Throughout these problems, the alphabet is {a, b}. Consider the language of the strings that contain the same number of a's as b's. The empty string is denoted with "".

Write a string of length 4 that is in the language.
Write a string of length 4 that is not in the language.
or

Write a grammar for the language.

or

Suggestion: S ::= aSb | bSa | SS | ""