According to the Nernst equation for the Daniell cell:
Ecell=Ecell∘−nF2.303RTlog[Cu2+][Zn2+]
For the first case (E1), [Zn2+]=0.01 M and [Cu2+]=1.0 M, n=2.
E1=Ecell∘−20.059log(1.00.01)=Ecell∘−20.059(−2)=Ecell∘+0.059 V
For the second case (E2), [Zn2+]=1.0 M and [Cu2+]=0.01 M.
E2=Ecell∘−20.059log(0.011.0)=Ecell∘−20.059(2)=Ecell∘−0.059 V
Comparing the two equations, it is clear that E1>E2.