Step 1: Greatest integer part
\(\int_{0}^{2}[x]dx=\int_{0}^{1}0\,dx+\int_{1}^{2}1\,dx=1\).
Step 2: Modulus part
\(\int_{0}^{2}|x-1|dx=\int_{0}^{1}(1-x)dx+\int_{1}^{2}(x-1)dx=\frac12+\frac12=1\).
Step 3: Add
The sum is \(1+1=2\).
Final Answer:
The sum of the two integrals is 2.
\[ \boxed{\text{(D) }2} \]