Add phenolphthalein to a portion of each solution in separate test tube. If it turns pink, the beaker contains base whereas if it remains colourless, it is an acid.
If phenolphthalein is not available, pH paper can be used. Acid will turn pH paper red, base will turn pH paper blue.