cmsc 131 discussion 08-31-2011
TRANSCRIPT
CMSC 131Object-Oriented Programming I
Instructor: Larry Herman
Section: 0403
Room: CSI 2118
People to Know
• Instructor• Larry Herman• Email: [email protected]
•Teaching Assistant• Philip Dasler• Email: [email protected]
Me
• Philip Dasler
• From Texas• Did not ride a horse to school
• Research focus: Artificial Intelligence
You
• Where are you from?
• Any programming experience?
• CS major?
• First years?
Lecture vs. Discussion
• Lecture• Taught by the instructor• Large class• Exams
Lecture vs. Discussion
• Lecture• Taught by the instructor• Large class• Exams
• Discussion• Taught by the TA• Smaller class• Quizzes• Projects• Meant to reinforce concepts covered in the lecture
Office Hours
• Location: AV Williams ????• Time: TBD
• Purpose:• Individual help• Answering specific questions• NOT for the answers
• You can go to anyone’s office hours, but only your own discussion section. Quizzes only count for your section!!
Useful Info
• Class webpage• http://www.cs.umd.edu/class/fall2011/cmsc131/webpage/information-main.shtml
OR
• Go to www.cs.umd.edu and follow the link for class pages in the menu on the left
Useful Info
• You will need a password to get to certain sections of the class web page.
• These will be given to you at the lecture later today.
Useful Info
• If you own a laptop, start bringing it to discussion
• If it has Java on it already, make sure you have Java 6. If you don’t know what this means, don’t worry.
• If you don’t have a laptop, we’ve got you covered
• Show of hands, who’s got ‘em?
Announcement• There are a lot of students in this course
• Ask questions here and in office hours• Keeps lectures moving• Get more attention in discussion
• Please use email only for urgent matters.
• Questions about quizzes, homework, projects, etc. should be asked here.
IDE
• Integrated Development Environment
• An application for writing code
• Similar to a word processor, but much more powerful
Eclipse• Instructions for installing Eclipse can be found on the
class webpage under “Information and documentation.”
• After being launched Eclipse will ask you to specify the workspace to use.
• The workspace is a folder used by eclipse to keep all your work.
Eclipse• Eclipse uses what are called “perspectives”.
• These are different ways in which files can be viewed and manipulated.
• For now, we will be using the default Java perspective.
• To change perspectives: Window → Open Perspective
• To reset: Window → Reset Perspective
Eclipse• To create a program you need to have a project where the
program file will reside.• File → New → Java Project• Name the project• Set project folder as root directory• Default can be changed under “Configure Default”
• To create an actual program• Start in the Java perspective• File → New → Class• Name it• Write code!
Some Quick Tricks
•Edit → Find/Replace
• “Replace With”• Right click on file
CVS
• Concurrent Versions System
• Saves copies of your work to a repository on Grace machines, allowing roll back and anywhere access
• You need a TerpConnect account!!
• Go get one now at www.oit.umd.edu/new
• We will tell you how to get Eclipse and CVS to work together later
QUESTIONS?
SURVEY