Download - CMSC 131 Discussion 08-31-2011
![Page 1: CMSC 131 Discussion 08-31-2011](https://reader036.vdocument.in/reader036/viewer/2022083002/5585e12dd8b42ab1518b4f4c/html5/thumbnails/1.jpg)
CMSC 131Object-Oriented Programming I
Instructor: Larry Herman
Section: 0403
Room: CSI 2118
![Page 2: CMSC 131 Discussion 08-31-2011](https://reader036.vdocument.in/reader036/viewer/2022083002/5585e12dd8b42ab1518b4f4c/html5/thumbnails/2.jpg)
People to Know
• Instructor• Larry Herman• Email: [email protected]
•Teaching Assistant• Philip Dasler• Email: [email protected]
![Page 3: CMSC 131 Discussion 08-31-2011](https://reader036.vdocument.in/reader036/viewer/2022083002/5585e12dd8b42ab1518b4f4c/html5/thumbnails/3.jpg)
Me
• Philip Dasler
• From Texas• Did not ride a horse to school
• Research focus: Artificial Intelligence
![Page 4: CMSC 131 Discussion 08-31-2011](https://reader036.vdocument.in/reader036/viewer/2022083002/5585e12dd8b42ab1518b4f4c/html5/thumbnails/4.jpg)
You
• Where are you from?
• Any programming experience?
• CS major?
• First years?
![Page 5: CMSC 131 Discussion 08-31-2011](https://reader036.vdocument.in/reader036/viewer/2022083002/5585e12dd8b42ab1518b4f4c/html5/thumbnails/5.jpg)
Lecture vs. Discussion
• Lecture• Taught by the instructor• Large class• Exams
![Page 6: CMSC 131 Discussion 08-31-2011](https://reader036.vdocument.in/reader036/viewer/2022083002/5585e12dd8b42ab1518b4f4c/html5/thumbnails/6.jpg)
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](https://reader036.vdocument.in/reader036/viewer/2022083002/5585e12dd8b42ab1518b4f4c/html5/thumbnails/7.jpg)
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](https://reader036.vdocument.in/reader036/viewer/2022083002/5585e12dd8b42ab1518b4f4c/html5/thumbnails/8.jpg)
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](https://reader036.vdocument.in/reader036/viewer/2022083002/5585e12dd8b42ab1518b4f4c/html5/thumbnails/9.jpg)
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](https://reader036.vdocument.in/reader036/viewer/2022083002/5585e12dd8b42ab1518b4f4c/html5/thumbnails/10.jpg)
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](https://reader036.vdocument.in/reader036/viewer/2022083002/5585e12dd8b42ab1518b4f4c/html5/thumbnails/11.jpg)
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](https://reader036.vdocument.in/reader036/viewer/2022083002/5585e12dd8b42ab1518b4f4c/html5/thumbnails/12.jpg)
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](https://reader036.vdocument.in/reader036/viewer/2022083002/5585e12dd8b42ab1518b4f4c/html5/thumbnails/13.jpg)
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](https://reader036.vdocument.in/reader036/viewer/2022083002/5585e12dd8b42ab1518b4f4c/html5/thumbnails/14.jpg)
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](https://reader036.vdocument.in/reader036/viewer/2022083002/5585e12dd8b42ab1518b4f4c/html5/thumbnails/15.jpg)
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](https://reader036.vdocument.in/reader036/viewer/2022083002/5585e12dd8b42ab1518b4f4c/html5/thumbnails/16.jpg)
Some Quick Tricks
•Edit → Find/Replace
• “Replace With”• Right click on file
![Page 17: CMSC 131 Discussion 08-31-2011](https://reader036.vdocument.in/reader036/viewer/2022083002/5585e12dd8b42ab1518b4f4c/html5/thumbnails/17.jpg)
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](https://reader036.vdocument.in/reader036/viewer/2022083002/5585e12dd8b42ab1518b4f4c/html5/thumbnails/18.jpg)
QUESTIONS?
![Page 19: CMSC 131 Discussion 08-31-2011](https://reader036.vdocument.in/reader036/viewer/2022083002/5585e12dd8b42ab1518b4f4c/html5/thumbnails/19.jpg)
SURVEY