COMS W1004 Introduction to Computer Science June 24, 2009 Announcements • Homework #5 due at the beginning of class Monday – Submit a paper copy.

Download Report

Transcript COMS W1004 Introduction to Computer Science June 24, 2009 Announcements • Homework #5 due at the beginning of class Monday – Submit a paper copy.

COMS W1004
Introduction to Computer Science
June 24, 2009
Announcements
• Homework #5 due at the beginning of class
Monday
– Submit a paper copy of the Theory part
– Electronic and paper copy of Programming part
• If you have topics you want reviewed on
Monday, please email me asap
Upcoming Office Hours
• Thursday Jun 25
– Suhas: 5-7pm, 122 Mudd
• Friday Jun 26
– Chris: 11am-1pm, 608 CEPSR
• Monday Jun 29
– Swapneel: 11am-1pm, 608 CEPSR
• Wednesday Jul 1
– Chris: 3-5pm, 608 CEPSR
Previously
•
•
•
•
Memory & Cache
Control Unit
Machine Language & Assembly Language
Operating Systems
• Reading: S&G 5-6
Today
• Computer Networks
• Internet History
• Wireless Networking
• Reading: S&G 7
Homework #5
• Sample file containing names has been
posted (linked from assignment page).
• Some solutions:
– Most friends: Charlie
– Friends in common: Charlie + Sally = 2
– Suggest a friend: Charlie = Sally
Homework #5 Hints
• Make sure you get the loadFile and findPerson
methods working first
• Be careful about values that are null (Person
objects and Strings): check for null values before
trying to use them, and handle those situations
accordingly
• mostFriends and friendsInCommon are much
easier than suggestFriend, so work on those first
Final Exam Sneak Preview
• Wednesday, 5:40-8:40pm (note the start time)
• Big Java chapters 1-7
– Except the brown “testing” and purple “graphics” sections
• Big Java sections 11.1, 11.4, and 11.5
• Anything discussed in class, including example
Java code posted on the website
– Except for student research presentations
Format of the exam
•
•
•
•
•
10-15 “concept” questions
5-6 problem solving questions
1-2 “Find the bugs” questions
Writing Java code (methods or classes)
Understanding Java code
Preparing for the exam
• A list of concepts that you should know is
posted on the class website
• This includes the methods from the Java
API that we have seen
• There is also a collection of practice
questions
• We will review the solutions on Monday