Upvote:2
Yes, you did give false information during your landing interview.
If I were you, I would answer Yes to that question on the subsequent applications and explain the episode briefly. Since you were still let in the country, I believe that won't have a considerable effect on the outcome of your visa application.
If you have already submitted the application with a No:
But now that you have answered that question incorrectly, and you know from your experience that they know about that already, unfortunately there are strong chances of a refusal.