giving NPCs items?

I'm new to RPG maker I started getting heavily into it yesterday so its all very new. I am currently working on a "test run" where I can figure out how to do certain things. 

I am currently trying to figure out how to give an NPC an item but also not being able to open certain dialogues afterwards.

Example of what I wanted to do. 

NPC asks for turnip you can respond with yes or no 

yes opens up more options and you can't get back to choosing yes or no if you pick yes 

NPC then asks if you have their turnip choices are yes or no 

yes gives the NPC the turnip and closes the "quest" and when you talk to the NPC all they say is thank you and no other choices are available  

I hope this makes sense  BD
You need to use multiple event pages and switches. Please take a look at the beginner tutorials - link in my signature.

Original thread: https://forums.rpgmakerweb.com/threads/giving-npcs-items.45788/