Spherical mirror A is a convex mirror as it form always a virtual image for all position of an object .
Spherical mirror B is a concave mirror as it form real image when the object is placed between infinity and focus and form virtual image if the object is placed between the focus and pole of the concave mirror .