Description
CS209A SPRING2019
CS209 – Assignment3
Description
Please write a program named “UgradScraping” that can scrawl specific webpages.
The program should connect http://www.cs.princeton.edu/people/ugrad and get the names and years of all undergraduates.
Output
You are asked to output the following information:
1. output all student names in this format: first name + “ ” + last name+ “, ”+ Graduating Year One students one line.
Before After
Abreu, Lila ’19 Abreu Lila, 19
Beattie-Moss, Noah ’19 Beattie-Moss Noah, 19
2. output the student number of each graduating year:
Output example:
Graduating year:19, Student number:??
Graduating year:20, Student number:??
Graduating year:21, Student number:??
You should fill the ?? a correct number.
Rules:
1. Please submit “.java” file. (upload it to Sakai)
2. The name of the “.java” file should be UgradScraping.java 3. No Chinese characters include.
1 / 2
YAO ZHAO
CS209A SPRING2019
4. No package include.
5. The arguments and the output must be followed the description of each questions.
6. Your program compiles correctly (javac)
7. The result is obtained in a reasonable time.
8. Your program isn’t the same as someone else’s
DO NOT COPY!! We will check carefully!!
2 / 2
Reviews
There are no reviews yet.