Step 1: Calculate normal reaction.
\[
N = mg = 4 \times 10 = 40\,\text{N}
\]
Step 2: Calculate maximum static friction.
\[
f_{\text{max}} = \mu_s N = 0.5 \times 40 = 20\,\text{N}
\]
Step 3: Compare applied force with limiting friction.
Applied force $= 4\,\text{N}<f_{\text{max}} = 20\,\text{N}$
So the block does not move.
Step 4: Frictional force.
For static condition, friction equals the applied force.
\[
f = 4\,\text{N}
\]
Step 5: Conclusion.
The force of friction acting on the block is $4\,\text{N}$.