How to choose a specific quadrature rule?

For the first set of questions, I would recommend Total number of gauss point - #2 by dokken

Yes, to see an effect of the quadrature choice, you cannot just integrate a CG-1 function, as it is exact with degree=1. If you instead use

x=ufl.SpatialCoordinate(domain)
f = x[0]**2

you should see an effect with degree=1 and all the others.