CS 115
OBJECT ORIENTED PROGRAMMING I
LECTURE 1
GEORGE KOUTSOGIANNAKIS
Copyright: FALL 2014 Illinois Institute of Technology/ George Koutsogiannakis
1
COURSE INFORMATION
-Instructor
• George Koutsogiannakis
– Office: SB214
– Office Hours:
• Mondays and Wednesdays
11:20 .a.m. – 1:40 p..m.
Feel free to walk in without an appointment!
– Email: [email protected]
You can email me any time. I will answer within 24 hours maximum.
2
COURSE INFORMATION
-Instructor
– Other contact means
• You can call me on my office phone :
312- 567-5288 (although I prefer an email).
• In special cases we can make appointments outside the
office hours time frame as needed. Evenings on
Mondays or Wednesdays for instance is a good time to
meet.
• Sometimes right after the class is over is a good time to
answer short questions or resolve minor problems.
3
COURSE INFORMATION
-Instructor
• PLEASE MAKE SURE THAT YOU MEET WITH ME
EARLY ENOUGH IN THE COURSE IF YOU NEED
HELP!!
• My job is to help you understand the topics
and pass the exams. If there is an issue BRING
IT UP TO ME.
4
COURSE INFORMATION
-Teaching Assistants and course help
• Try to maintain the same seat and computer STATION through
out the Semester (it facilitates your recognition by name).
• The TAs grade the Lab assignments only. I grade everything
else. TAs are assigned students, therefore the same TA grades
your lab assignments thoughout the Semester.
• Another source for help, besides myself and the Tas, is the
ARC (Academic Resource Center). They could have assistants
there who can give you some help with some of the
homework assignments.
– http://arc.iit.edu/
– Hermann Hall Building-First Floor
5
COURSE INFORMATION
-TEXT
• JAVA ILLUMINATED- An Active Learning
Approach
By Julie Anderson and Herve Franceschi
Jones and Bartlett Publishers.
Third Edition
• BRING THE TEXT TO CLASS !!
• SOMETIMES EXERCISES FROM THE TEXT ARE
ASSIGNED for practice in class.
6
COURSE INFORMATION
-Web site
• COURSE WEB SITE:
– http://www.cs.iit.edu/~cs115
– Use it to get :
•
•
•
•
•
•
•
Instructor’ s office hours
TAs (teaching assistants) office hours.
Access to extra credit exercises
Access to laboratories
Access to the lecture presentations
Information on grading policies.
Information on upcoming quizzes and examinations.
7
COURSE INFORMATION
-Course Work
• All work assignments in this course are to be
uploaded on Blackboard.
– If you don’t know how to use Blackboard one of the
Teaching Assistants or myself can help you.
– Files should be zipped (ask one of us to help you out with
compressing files using zip. DO NOT use RAR!!)
– You should name the zipped file as
yourFirstNameLastNameAssignment#.zip
i.e. JohnDoePracticeExercise1.zip or
JohnDoeLab1.zip
8
COURSE INFORMATION
-Blackboard submission
• You can use Blackboard to:
– View your grades.
– Submission of assignments:
• Go to your blackboard account then click on information
• Choose assignment that you are submitting.
• Only one submission is allowed per assignment. In case of errors
you have to email me so that I can approve a deletion and a
resubmission.
• Zip the files that you are submitting by:
Select files (or folders ) to be submitted
Right click the mouse and choose :
sent to->Compressed (zipped) folder.
9
COURSE INFORMATION
-Blackboard submission
• Be careful to submit under the assignment assignment.
• Most common error: submitting an extra credit exercise under a
lab assignment and vice versa.
10
Course Work
•
•
•
•
Extra Credit Exercises- 8.
Laboratories – 9 labs
Tests- 2 quizzes a midterm and a final exam.
Project
11
COURSE INFORMATION
-Course Work
• Extra Credit Practice Exercises:
–
–
–
–
Done during class time.
See schedule page on web site.
No grade issued until the end of the Semester.
They should be uploaded on Blackboard by the end of the
class period after either the instructor or your TA has
checked it for accuracy.
12
COURSE INFORMATION
-Course Work
– There are 8 practice exercises. Submitting correctly 5 or
more at the due time (end of class period) entitles you to 5
extra points awarded at the end of semester.
• Late submissions do not qualify you for the extra credit.
– Solutions will be posted on the course’s web site after the
submission.
– The extra credit exercises can help you with the topics
discussed in class and with the examinations.
– Students who do all 8 will receive 7 points at the end of
the semester.
13
COURSE INFORMATION
-Course Work
• Laboratories (to be done individually).
– Total of 9 lab assignments.
– Total points earned : 30
– Assignments are posted on web site and can be
downloaded from there (right click the mouse and
choose SaveAs)
– Read laboratory document in advance.
14
Lab grades
Lab #
Points earned
Lab 1
2
Lab 2
2
Lab 3
2
Lab 4
3
Lab 5
3
Lab 6
4
Lab 7
4
Lab 8
5
Lab 9
5
15
COURSE INFORMATION
-Course Work
– Work on lab. in class on specified dates (see schedule on
course’s web site).
– Ask questions in class and during office hours.
– Ask questions via emails to instructor or the TA.
– Finish lab by specified dateline and submit to Blackboard.
– Solutions will be posted on the course’s web site after the
due date.
16
COURSE INFORMATION
-Course Work
• Tests
• All tests are closed book closed notes.
• Require you to write a program or two that
tests concepts discussed inn class and in the
laboratory assignments.
• Answer some multiple choice questions.
17
COURSE INFORMATION
-Course Work
– Quiz 1
: 4 points
(9/22)
– Midterm exam.
: 20 points
(10/15)
– Quiz 2
: 8 points
(11/10)
– Final exam.
: 30 points
(as per exams schedule)
18
COURSE INFORMATION
-Course Work
• Project
– Programming assignment that is due at the end of the
Semester– 8 points.
– Can be done in a group of two students (no more than
two).
– Project is reviewed by the instructor. Questions about the
coding can be asked of each participant in a group.
19
ETHICS
• Work is to be done individually unless the instructor specifies
group work.
• Examinations: Copying or cheating will result in an immediate
zero on the exam for all parties involved and a notification to
the Academic Honesty Department
([email protected])
• Lab assignments: Very from Semester to Semester. Any
indication of copying lab or project work will result in an
immediate zero on the lab/project for all parties involved.
• Please read College of Science Academic Integrity Pledge document
posted on the course’s web site.
20
Course Topic
• CS115 covers Object Oriented Programming
(OOP)techniques using the Java programming
language.
• No previous programming experience is
required.
• You will be developing programs using Java.
21
Programming Languages
• Computers understand instructions called
statements.
• Statements are written in one of the many
available High Level Languages.
• Java is a High Level Language
– Others are: C++, Ada, C#, BASIC, C, Python etc.
22
Programs
• A program written in a high level language is called:
source program or source code.
• The written program is saved in a file called: source
code file.
• A source code program must be translated into
instructions called: machine code instructions.
• The translation is accomplished via a software tool
called: compiler.
• The machine code is then executed or interpreted.
23
Java Programs- Tools required
• Java Program Development Environment .
– A text Editor is needed to write a Java program.
– It can be as simple as Notepad.
– Or, it can be a IDE (Integrated Development Environment) like
Notepad++ , EditPlus or Eclipse.
– The java compiler and interpreter is needed. This is known as the JDK
(Java Development Kit).
• Both the Editor: Notepad++ and the JDK are available on your class
stations computers.
• We will be using Notepad++ in class. Outside of class, you can use
a text editor of your choice (your own computer) or do your work
in the open lab areas, of the SB building.
24
INFORMATION ON JAVA
• Web sites for Java material:
– To download Java Development Kit for your own
computer (optional)-• http://www.oracle.com/technetwork/java/javase/download
s/index.html
– For online Tutorial
• http://download.oracle.com/javase/tutorial/index.html
– For the Java API (Application Programming Interface)
• http://download.oracle.com/javase/7/docs/api/index.html
25
INFORMATION ON JAVA
• It is advisable that at some point you
download on your laptop (or desktop) what
you need in order to develop Java programs
(that is a text editor and the JDK).
• You will need help from me in order to install
it on your laptop. DO NOT HESITATE TO ASK
ME!!
26