welcome to iit and cs115!

21
Welcome to IIT and cs115!

Upload: tave

Post on 07-Jan-2016

80 views

Category:

Documents


1 download

DESCRIPTION

Welcome to IIT and cs115!. CS 115 - Sec. Jon Hanrath - 214 SB Office Hours: TBD. [email protected] www.cs.iit.edu/~cs115hanrath. Lecture: TBD Lab: TBD Lab assignments are due by the end of class in lab each week. CS Intro Courses. - PowerPoint PPT Presentation

TRANSCRIPT

Welcome to IIT and cs115!

CS 115 - Sec.

• Jon Hanrath - 214 SB

• Office Hours: – TBD.

[email protected]

• www.cs.iit.edu/~cs115hanrath

• Lecture: TBD

• Lab: TBD

Lab assignments are due by the end of class in lab each week

CS Intro Courses

• CS 105: 1-Semester Requiring Little or No Previous Programming Experience, Programming in C++

• CS 115-116: 2-Semester Sequence Assuming Previous Programming Experience, Programming in JAVA, Primarily CS Majors

• CS 201: 1-Semester Sequence Equivalent of CS105-CS106, Requires Previous Programming Experience, Programming in JAVA

CS 115 – Required Textbook and Lab Manual

• “Java 6 Illuminated: An Active Learning Approach” Anderson and Franceschi

• Second (Orange) OR Third (Purple) Edition

CS 115 - Quizzes/Exams & Grading• 2 Quizzes – Each 5% of Grade• 2 Exams:

– Exam I - Lecture Exam - 10%– Exam II – Lecture - 20%

• Final Exam - 30%• Labs - 20%• Project - 10%• Must Take Final to Pass Course• Final Grade:

– A > 90%– B 80-89.99%– C 70 –79.99%– D 60 – 69.99%– E < 60%

CS115 Labs• Labs Assigned in Handout; on Website• Lab Exercises Comprised of Exercises and Programming

Exercises (Located at End of Each Chapter in Textbook)• Student Expected to Complete Labs *BEFORE* Lab Section

Meets• Labs Graded Either 10 (fully completed), 5 (partially

completed), or 0 (not completed)• TA Will Cover Labs/Questions/Other Topics in Lab Session• Save .java File(s) to flash drive, or send to yourself in email

and Bring to Lab Section for Discussion and Questions• Hand in assignments by end of lab to TA

Expectations

• Attendance in Lectures and Labs

• Completion of Quizzes and Exams

• Four to Six Hours per Week on Homework

• Outside Help If Necessary

• No Cheating

• Have fun!!

Rules

• No Swearing or Other Inconsiderate Behavior

• Turn Off Cell Phones, iPads, Laptops

• Questions, Discussion, Ideas Welcome

Excuses

• If You Will Miss an Exam or Quiz, Make Arrangements **BEFORE** the Exam or Quiz Date

• Exam, Quiz Dates Already Posted

• If Emergency:– Doctor/Hospital Note– Family Problem: Contact Info for Parents

Unacceptable Excuses

• Slept Late• Felt Sick• I’m Just a Freshman• Roommate Ate My Alarm

Clock/Textbook/Underwear• Missed Bus• Had a Game/Match/Practice• Didn’t Know When Exam/Quiz Was• If Any of Above Happen, Get to Class As SOON

as Possible!!!

CS 115 - Ethics

• Exams:– Closed Book, Closed Notes, Closed

Everything– Nothing in Ears (mp3 players, cell phones,

etc.)

• Labs Should Be Done Independently

CS 115 – Where to Get Help

• www.cs.iit.edu/~cs115hanrath

• Internet: Search for “JAVA tutorial”, or “JAVA help”

• GET HELP EARLY RATHER THAN LATER!!!

CS 115 – Web Page

• http://www.cs.iit.edu/~cs115hanrath

• Click on Syllabus– Weekly Assignments– Quiz and Exam Dates– Lecture Slides– Other Course Information

Course Philosophy

• Computer Science Side– Problem Solving– Logical Thought– Programming in JAVA

• “Real World” Side– Human Nature– Corporate World– Surviving during and after College

Problem Solving

• CS 115 Develops Logic Skills to Solve Problems by Writing a Program

• A Program is a Problem Solving Tool• Computers Follow Instructions Given to

Them• Computers Do Not Have “Intuition”• Computers Do Not Make Decisions “on

Their Own”

Problem Solving

• Arrange a Deck of Cards by Suit and Rank

• How Would You Do This?

• How Would You Tell a Child to Do This?

• How Would You Tell a Computer to Do This?

Why Use a Program?

• Computers Perform Tasks Many Times Faster than a Person

• Computers Are More Consistent than a Person

• Computers Can Work 24-7

Terminology• Source Code: the Original Problem-Solving, Logical

Solution Written in a Programming Language (e.g. JAVA, .java file)

• Interpretation: Converting source code into common language (.class file)

• Compiling: the Action of Turning the Source Code into a Format the Computer Can Use

• Linking: the Action of Bringing in Already Written Code (Libraries) for Use in a New Program

• Executable: the Result of Compiling and Linking a Source Program; the “.exe” file that the Computer Can Run

JAVA Required Elements

• Every JAVA Program Must Have:public class MyProgram

{ public static void main( String [ ] args)

{

}

}

Your First Program// Jon Hanrath

// CS115

// Section 042public class MyProgram

{ public static void main( String [ ] args)

{ System.out.println(“Hello World!!”); System.exit(0);

}

}

// End lect01