Help for developing script

I want to develop a unix script.
Scenario:A folder is containing many text files and there is one text file eg. test.csv which is having 2 words at line 1 & line 2.The script should search for word at line 1 in test.csv file in all other text file present in folder & replace it with word at line 2 in test.csv file...pls help

What have you tried?
What do you think would work?

We like to assist, but not simply provide free software solutions.

I wanted to know how can parse through the files in folder using loop

What do you want to achieve with that, what is the purpose for doing so?
Simply repeating what you already said is no further information...

Can any1 pls help..i hav no idea abt unix

If you "hav no idea abt unix" then anything you might pick up in here might wreak havoc in your system (admittedly not necessarily in above simple case). I'd advise to learn some basics before applying e.g. mass modification scripts. You may want to create a "sandbox" in which you can test whatever you scripted/programmed/copied.
For your request in post#1, sed or awk or perl are the candidates to go for, although you can do it in shell script as well.