cmsc 131 discussion 08-31-2011

19
CMSC 131 Object-Oriented Programming I Instructor: Larry Herman Section: 0403 Room: CSI 2118

Upload: daslerpc

Post on 21-Jun-2015

542 views

Category:

Education


3 download

TRANSCRIPT

Page 1: CMSC 131 Discussion  08-31-2011

CMSC 131Object-Oriented Programming I

Instructor: Larry Herman

Section: 0403

Room: CSI 2118

Page 2: CMSC 131 Discussion  08-31-2011

People to Know

• Instructor• Larry Herman• Email: [email protected]

•Teaching Assistant• Philip Dasler• Email: [email protected]

Page 3: CMSC 131 Discussion  08-31-2011

Me

• Philip Dasler

• From Texas• Did not ride a horse to school

• Research focus: Artificial Intelligence

Page 4: CMSC 131 Discussion  08-31-2011

You

• Where are you from?

• Any programming experience?

• CS major?

• First years?

Page 5: CMSC 131 Discussion  08-31-2011

Lecture vs. Discussion

• Lecture• Taught by the instructor• Large class• Exams

Page 6: CMSC 131 Discussion  08-31-2011

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

Page 7: CMSC 131 Discussion  08-31-2011

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!!

Page 8: CMSC 131 Discussion  08-31-2011

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

Page 9: CMSC 131 Discussion  08-31-2011

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.

Page 10: CMSC 131 Discussion  08-31-2011

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?

Page 11: CMSC 131 Discussion  08-31-2011

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.

Page 12: CMSC 131 Discussion  08-31-2011

IDE

• Integrated Development Environment

• An application for writing code

• Similar to a word processor, but much more powerful

Page 13: CMSC 131 Discussion  08-31-2011

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. 

Page 14: CMSC 131 Discussion  08-31-2011

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

Page 15: CMSC 131 Discussion  08-31-2011

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!

Page 16: CMSC 131 Discussion  08-31-2011

Some Quick Tricks

•Edit → Find/Replace

• “Replace With”• Right click on file

Page 17: CMSC 131 Discussion  08-31-2011

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

Page 18: CMSC 131 Discussion  08-31-2011

QUESTIONS?

Page 19: CMSC 131 Discussion  08-31-2011

SURVEY