Monday, May 13, 2013
Solutions to homework 10 and practice final questions
I have uploaded an example solution to homework 10 and the solutions to the practice final questions I wrote in class today.
Sunday, May 12, 2013
Practice questions for final exam
I posted some practice questions for the final exam. We'll talk about these in lecture on Monday.
As a reminder, the final exam is Wednesday, May 15 at 8am.
As a reminder, the final exam is Wednesday, May 15 at 8am.
Monday, May 6, 2013
SinglyLinkedList
Here is a link to the in-class demo today, SinglyLinkedList.java. If you are so inclined, try fixing the add(...) method to work for nonzero indices by making it recursive.
Thursday, May 2, 2013
Homework 9 solution
Here is an example solution to homework 9. You can use it however you like in homework 10 without attribution.
Wednesday, May 1, 2013
Monday, April 22, 2013
Homework 9, etc.
Homework 9 is up. It is due Wednesday, May 1.
Homework 8 is graded. Marks are in Subversion as usual. I also posted an example solution.
Homework 8 is graded. Marks are in Subversion as usual. I also posted an example solution.
Monday, April 15, 2013
Homework 8 posted
Homework 8 has been posted. It strongly resembles the second midterm. We talked about the first question in lecture today. We'll talk about the second one in lecture on Wednesday.
Marks for homework 7 and midterm 2 are available in Subversion now.
Marks for homework 7 and midterm 2 are available in Subversion now.
Saturday, April 13, 2013
Optional exercises on numbers
If you have time, I recommend reading chapter 10 of Head First Java, "Numbers Matter," and doing the exercises.
Tuesday, April 9, 2013
Wednesday, April 3, 2013
Monday, April 1, 2013
Midterm 2
Midterm 2 will be in class on Wednesday, April 10. It will cover the material covered in all lectures up to April 1 and homeworks 2 to 7. The best way to prepare for it is to do homework 7.
Saturday, March 30, 2013
Homework 7, etc.
- Homework 7 has been posted. It is due Monday, April 8.
- Homework 6 has been graded. Marks are in your Subversion directory. A solution will be posted Monday.
- Mid-term estimated grades have been sent to the registrar. They don't count for anything official; they are a way to let you know how you are doing. If you are considering withdrawing from the class, the CAS deadline is Friday, April 5.
- The course information is inconsistent on the date of the second midterm. It will be on April 10, not April 15.
Monday, March 25, 2013
Eclipse
If you want to try out Eclipse, here are CSCI 0101-specifc Eclipse instructions. General documentation is available in many places on the web. Use a search engine to find instructions on editing, debugging, etc. Lars Vogel has a good Eclipse tutorial.
Sunday, March 24, 2013
Limited lab hours
This week and next will have limited lab hours. They will be:
Monday March 25: 10:00am–1:00pm and 4:00pm–7:00pm
Tuesday March 26: 10:30am–3:30pm
Wednesday March 27: none
Thursday March 28: 11:00am–7:30pm (unchanged)
Friday March 29: 2:00pm–6:00pm (unchanged)
Monday April 1: 10:00am–1:00pm and 4:00pm–7:00pm
Tuesday April 2: 10:30am–3:30pm
Wednesday April 3: 2:15pm–4:30pm (unchanged)
Thursday April 4: 11:00am–7:30pm (unchanged)
Friday April 5: 2:00pm–6:00pm (unchanged)
Thursday, March 14, 2013
Homework 6
Homework 6 has been posted. It is due the Friday after Spring break. I also posted a solution to Homework 5.
Tuesday, March 5, 2013
Saturday, March 2, 2013
Homework 5
I uploaded Homework 5. It is not due until a week from Monday because it uses material from class we haven't talked about yet. I'll talk more about the assignment in class Monday. In the meantime, I recommend reading chapters 2 and 3 of Head First Java and doing the exercises in those chapters. Having some practice will make the part of the assignment to be turned in much easier.
Monday, February 25, 2013
Review question solution
I uploaded a possible solution to the second midterm review question, MidtermReview2.java.
If you're curious, func() in the first question returns the (k+2)th Fibonacci number or -1 when k is not positive, but you don't need to have seen that to work through the loops and get an answer.
Homework 3 solutions
Homework 3 is graded; type “svn update” and look in readonly/marks.txt for your score. I also uploaded an example PrimeFactor.java.
Thursday, February 21, 2013
Midterm practice questions
I posted a few practice questions for Wednesday's midterm in Not Homework 4. As a warm-up, try the exercise in §13.6 of the lecture notes.
Subscribe to:
Posts (Atom)