This discussion is archived
3 Replies Latest reply: Jun 14, 2013 1:01 AM by jwenting RSS

Easy App CSV

7acf1e59-4efb-4318-a5c9-fd5607906195 Newbie
Currently Being Moderated

Hi guys, thank you in advance for the help that you give me, I'll explain my situation.

I comed from Android but I'm a newbie in programming in general.

I am now in contact with Java.

I have to develop an app that given as input a CSV file with 6 fields such as fact:

 

{

Keyword, Competitor, Search Engine, Position, Web Page, Changes,

 

beer, 27300000, Google Universal Italy, 1, http:/it.wikipedia.org/wiki/Birra, +, 

beer, 27300000, Google Universal Italy, 2, http:/www.birra.it, +, 

beer, 27300000, Google Universal Italy, 3, http:/www.albanesi.it/, + 

ale, 7300000, Google Universal Italy, 1, http:/it.wikipedia.org/wiki/Birra, +, 

ale, 7300000, Google Universal Italy, 2, http:/www.birra.it, +, 

ale, 7300000, Google Universal Italy, 3, http:/www.albanesi.it/, + 

dark beer, 300000, Google Universal Italy, 1, http:/it.wikipedia.org/wiki/Birra, +, 

dark beer, 300000, Google Universal Italy, 2, http:/www.birra.it, +, 

dark beer, 300000, Google Universal Italy, 3, http:/www.albanesi.it/, +

}

 

face a ranking by assigning a score to each domain based on the position in the standings and finally the final classification by the sum of the rankings for each key.

 

for example

Keyword Domination Score

beer, Wikipedia, 30

beer, Birra, 20

beer, Albanesi, 10

 

etc. etc.

 

final Standings

Domination Score

Wikipedia, 90

Birra, 40

Albanesi, 30

 

The output file must be CSV.

I hope I was clear enough and thank you again.

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points