I am trying to understand differential forms. Now I tried to evaluate
$$ \oint_{S^1}dx$$
I should get anything non-zero but I don't know how to do it (even though I know the result).
If $S^1$ in the integral is one of the circles that goes around the torus,
how do I go about actually calculating the integral?
It's clear to me that the function I am integrating is $f(x,y)=1 $. Now it's not clear to me whether I can just choose any parametrisatioin of $S^1$ and then integrate, like for example
$$ \int_0^{2\pi} 1 \cdot |r'(t)| dt = 2 \pi$$
where $r = (\cos t, \sin t)$.
The reason why I think that this might be wrong is that it does not take into account any information about the space in which $S^1$ lies. But the shape of the space should determine whether a given $1$-form is exact or not.
Edit
In response to the comment by jflipp:
If I use $d \theta = {x dy - y dx \over x^2 + y^2}$ then I can do it: I see that the integral is $2\pi$. Now I want to use either $dx$ or $dy$, the differential $1$-forms in the expression $d \theta = {x dy - y dx \over x^2 + y^2}$.
$dx$ is exact by definition, provided that $x$ is a globally well-defined function on your space.
So if I understood your question correctly you're asking about an abstract torus that is considered to be the quotient space of $R^2$, on which the function $x$ is not globally defined.
In this case, you'll need to compute your integral like $\oint_{S^1}dx=x(2\pi)-x(0)=2\pi$