Step 1: Name the two parts of the integrand.
Write \( u = \sqrt{x} \) and \( v = \sqrt{a-x} \). Then the integral is \( I = \int_0^a \frac{u}{u+v}\,dx \). Also define the partner integral \( J = \int_0^a \frac{v}{u+v}\,dx \).
Step 2: Add I and J.
Because the denominators match, $I + J = \int_0^a \frac{u+v}{u+v}\,dx = \int_0^a 1\,dx = a$.
Step 3: Show that I and J are equal.
Substitute $t = a - x$ in $J$. When $x$ runs from 0 to $a$, $t$ runs from $a$ to 0, and $dx = -dt$, so the limits flip back. Also $\sqrt{a-x}$ becomes $\sqrt{t}$ and $\sqrt{x}$ becomes $\sqrt{a-t}$. This gives
\[ J = \int_0^a \frac{\sqrt{t}}{\sqrt{a-t}+\sqrt{t}}\,dt = I \]
Step 4: Solve for I.
From $I + J = a$ and $J = I$ we get $2I = a$, so $I = \dfrac{a}{2}$.
Step 5: Quick numerical check.
Take $a = 1$. Near $x = 0$ the integrand is close to 0, near $x = 1$ it is close to 1, and it passes through $\frac{1}{2}$ at $x = \frac{1}{2}$. The graph is symmetric about the point $(\frac{1}{2}, \frac{1}{2})$, so the area under it is $\frac{1}{2}$. This matches $\frac{a}{2}$ and rules out $a$, $2a$ and $3a$.
Final Answer:
The integral equals $\frac{a}{2}$, so option (B) is correct.
\[ \boxed{\dfrac{a}{2}} \]