Chris Pollett > Old
Classes > |
HW2 Solutions PageFor this homework, I asked the grader to send me some of the better student solutions to pick from. Of the three best homeworks he sent me I chose what I thought was the best. Each student that had their homework chosen will receive 1 bonus point after curving for having their homework selected. The only changes I made were to convert the names listed in the homework files to SJSU student. Let me comment that for the regular expression for urls, I had intended that the url could either have the scheme http or it have the scheme https. For some reason most assignments only handle the http case even though a simple union with the other case would have given you a regular expression for both cases. As I stated in class, it is legal to, after each problem, come up with a simplified variant of the prior problem to serve as a starting point. If you don't do this, bad things might happen like JFLAP grinding to a halt, black holes swallowing the Starship Enterprise, etc. |