If you're visiting Quebec as a tourist or traveler, French is optional. It might help you get a better feel for Québécois culture, or it might help you avoid an awkward gesturing game if you encounter someone who speaks little-to-no English (which is somewhat likely outside of Montreal).