the art of or being a smart ass.
We were treated like a 3rd grader when the car salesman was trying to sell us the extended warranty with his smart-alecky attitude .