Programming
Easy App CSV

Question Description

I’m studying for my Programming class and don’t understand how to answer this. Can you help me study?

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.yahoo.it, +,  

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

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

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

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

First parse the csv file and then I have to do a ranking by assigning a score to each site based on the position he occupies for each keyword.

In this case, for example, by assigning to the first position 3 points, 2 points to the second position, and the 3 position 3 points, the ranking is as follows:

wikipedia: 8 points ( 3 beer + 3 ale + 2 dark beer)

birra: 5 points (2 beer + 3 dark beer)

yahoo: 3 points (2 ale + 1 dark beer)

albanesi: 1 point

ciao: 1 point

The output file with the ranking must be CSV.

I hope I was clear enough and thank you again.


Student has agreed that all tutoring, explanations, and answers provided by the tutor will be used to help in the learning process and in accordance with Studypool's honor code & terms of service.

Final Answer

Thank you for the opportunity to help you with your question!

In most cases, the discipline is self-governed by the entities which require the programming, and sometimes very strict environments are defined

Please let me know if you need any clarification. I'm always happy to answer your questions.

fitting k (56)
UC Berkeley

Anonymous
I was on a very tight deadline but thanks to Studypool I was able to deliver my assignment on time.

Anonymous
The tutor was pretty knowledgeable, efficient and polite. Great service!

Anonymous
I did not know how to approach this question, Studypool helped me a lot.

Studypool
4.7
Trustpilot
4.5
Sitejabber
4.4

Brown University





1271 Tutors

California Institute of Technology




2131 Tutors

Carnegie Mellon University




982 Tutors

Columbia University





1256 Tutors

Dartmouth University





2113 Tutors

Emory University





2279 Tutors

Harvard University





599 Tutors

Massachusetts Institute of Technology



2319 Tutors

New York University





1645 Tutors

Notre Dam University





1911 Tutors

Oklahoma University





2122 Tutors

Pennsylvania State University





932 Tutors

Princeton University





1211 Tutors

Stanford University





983 Tutors

University of California





1282 Tutors

Oxford University





123 Tutors

Yale University





2325 Tutors