The thing with Riemann sums is that they are related to the Riemann integral through the equation
\lim_{\max\{\Delta x_i\}\rightarrow 0}\sum_{i=1}^n f(x_i^*)\Delta x_i=\int_a^bf(x)dx
This means that for a bounded integrable function f:[a,b]-->R and any sequence \{\mathcal{P}_n\}_{n\in\mathbb{N}} of partitions of [a,b] such that the largest subinterval in \mathcal{P}_n=\{a=x_0^{(n)}, x_1^{(n)},\ldots,x_N_n^{(n)}=b\} goes to zero as n\rightarrow\infty, the sequence of associated Riemann sums approaches the integral of f over [a,b]:
\left(\lim_{n\rightarrow\infty}\left[\max_{1\leq i\leq N_n}(\Delta x_i^{(n)})\right]= 0 \right)\Longrightarrow \left(\lim_{n\rightarrow\infty}\sum_{i=1}^{N_n}f(x_i^*)\Delta x_i^{(n)} = \int_a^bf(x)dx\right)
So...
What we have here is the limit
\lim_{n\rightarrow\infty}\sum_{i=1}^{n}\frac{1}{n} \left(\frac{i}{n} \right)^2
Notice that for each positive integer n, {0=0/n, 1/n, 2/n ...,(n-1)/n, n/n=1} is a partition of the interval [0,1] and in such a partition, each subinterval has length 1/n. And 1/n\rightarrow 0 as n\rightarrow\infty, so according to the big implication above,
\lim_{n\rightarrow\infty}\sum_{i=1}^{n}f(x_i^*)\frac{1}{n} = \int_0^1f(x)dx
for any bounded integrable function f:[0,1]-->R.
Now, for which function f and choice of x_i^*\in [(i-1)/n,i/n] do we have
f(x_i^*)=\left(\frac{i}{n}\right)^2
??
Once you figure that out, you can use the fundamental theorem of calculus to find the value of the integral of f and hence the value of the sum you're interested in.