Welcome to CS-IT 114 Introduction to Java Spring 2006 Namita Singla Department of Computer Science University of Massachusetts Boston.

Slides:



Advertisements
Similar presentations
Foundations of Programming and Problem Solving Introduction.
Advertisements

CSc 2310 Principles of Programming (Java)
CS210 Intermediate Computing with Data Structures (Java)
Lecture 1: Overview CMSC 201 Computer Science 1 (Prof. Chang version)
Introduction to programming with Visual Basic.NET Dr. Marty Sirkin.
COMP 110 Introduction to Programming Tabitha Peck M.S. January 9, 2008 MWF 3-3:50 pm Philips 367.
1-1 CMPU125 Topics in Computer Science Lecture 1 Jenny Walter Fall 2008.
Welcome to Introduction to Java Programming At J.D.O’Bryant Science & Mathematics Chonho Lee Department of Computer Science University of Massachusetts.
Fall 2004 WWW IS112 Prof. Dwyer Intro1: Overview and Syllabus Professor Catherine Dwyer.
CS – 600 Introduction to Computer Science Prof. Angela Guercio Spring 2008.
OBJECT ORIENTED PROGRAMMING I LECTURE 1 GEORGE KOUTSOGIANNAKIS
1 Are you ready?. 2 Professor: Vladimir Misic Office : Phone: Office Hours : Mon, Tue; 2:00pm – 4:00pm Website :
Summer 2009 Math 1431 and Math 1432 begin. What to do… Watch the orientation video from the spring online classes. Please note that the spring classes.
COP4020/CGS5426 Programming languages Syllabus. Instructor Xin Yuan Office: 168 LOV Office hours: T, H 10:00am – 11:30am Class website:
Computer Science 102 Data Structures and Algorithms V Fall 2009 Lecture 1: administrative details Professor: Evan Korth New York University 1.
Welcome to CS 115! Introduction to Programming. Class URL Please write this down!
Introduction COMP104: Fundamentals and Methodology.
CS110/CS119 Introduction to Computing (Java)
Computer Network Fundamentals CNT4007C
Welcome to CS 3260 Dennis A. Fairclough. Overview Course Canvas Web Site Course Materials Lab Assignments Homework Grading Exams Withdrawing from Class.
COMP Introduction to Programming Yi Hong May 13, 2015.
CMSC 202 Computer Science II for Majors Object-Oriented Programming.
Chapter 1.4 Programming languages Homework Due: Monday, August 11, 2014.
SE-308 Software Engineering-II 7th Term SE University of Engineering & Technology Taxila, Pakistan Software Engineering Department.
CSc 2310 Principles of Programming (Java) Dr. Xiaolin Hu.
Instructor: Tina Tian. About me Office: RLC 203A Office Hours: Wednesday 1:30 - 4:30 PM or .
Course Introduction Software Engineering
Welcome to CS 101! Introduction to Computers Spring 2015 This slide is based on Dr. Keen slides for CS101 day sections, with some modifications.
Spring 2011 ICS321 Data Storage & Retrieval Mon & Wed 12-1:15 PM Asst. Prof. Lipyeow Lim Information & Computer Science Department University of Hawaii.
Fundamentals of Databases CIS-235 Dr. Samir Tartir 2014/2015 Second Semester.
CSCI 51 Introduction to Computer Science Dr. Joshua Stough January 20, 2009.
Introduction to Databases Computer Science 557 September 2007 Instructor: Joe Bockhorst University of Wisconsin - Milwaukee.
CAP 211 Visual Programming Introduction. 2 Lecturers: Lecturers: Reham Al-Abdul Jabbar, Office hours & office location:
B. Prabhakaran1 Multimedia Systems Textbook Any/Most Multimedia Related Books Reference Papers: Appropriate reference papers discussed in class from time.
Welcome to CS 115! Introduction to Programming. Class URL Write this down!
Introduction to Data Structures
CT 1503 Network Operating Systems Instructor: Dr. Najla Al-Nabhan 2014.
Course Information Andy Wang Operating Systems COP 4610 / CGS 5765.
Software Development CSCI-1302 Lakshmish Ramaswamy.
1 CS210 Intermediate Computing with Data Structures (Java) Saaid Baraty S-3-90.
CS351, Programming III: C++ 9:30am-10:20am TR, Biology 202 Two Credit Hours and Xiaoyan Hong SEC Office hours: 10:30.
Lecture.1: Getting Started With Java Jiang (Jen) ZHENG May 9 th, 2005.
Welcome to the MTLC MATH 115 Spring MTLC Information  Hours of Operation  Sunday:4:00pm – 10:00pm  Monday – Thursday: 8:00am – 10:00pm  Friday:8:00am.
OO Data Structures SE Dr. Samir Tartir 2010/2011 Second Semester.
11/21/20151 Operating Systems Design (CS 423) Elsa L Gunter 2112 SC, UIUC Based on slides by Sam King and Andrew.
Fall 2010 ICS321 Data Storage & Retrieval Mon & Wed 12-1:15 PM Asst. Prof. Lipyeow Lim Information & Computer Science Department University of Hawaii at.
Lecture 1: Overview CMSC 201 Computer Science 1. Course Info This is the first course in the CMSC intro sequence, followed by 202 CS majors must pass.
COP4610/CGS5765 Operating Systems Syllabus. Instructor Xin Yuan Office: 168 LOV Office hours: W M F 9:10am – 10:00am, or by appointments.
CS Introduction to Computer Science Spring 2011 Dr. Angela Guercio (
Welcome to CS 101! Introduction to Computers Fall 2015.
CSE 1340 Introduction to Computing Concepts Class 1 ~ Intro.
B. Prabhakaran1 Multimedia Systems Reference Text “Multimedia Database Management Systems” by B. Prabhakaran, Kluwer Academic Publishers. – Kluwer bought.
COP4610 Principles of Operating Systems Prof. Robert van Engelen Department of Computer Science Florida State University.
Computer Networks CNT5106C
CS110 Introduction to Programming Lecture 1 January 27, 2004 Ethan Bolker Philosophy Bank: user interface, Java, object model Programming environment Homework.
CS Computer Architecture Fall 2010 Dr. Angela Guercio ( Course Web Page
PROBLEM SOLVING AND PROGRAMMING ISMAIL ABUMUHFOUZ | CS 170.
Computer Science I ISMAIL ABUMUHFOUZ | CS 180. CS 180 Description BRIEF SUMMARY: This course covers a study of the algorithmic approach and the object.
Welcome to CS 115! Introduction to Programming Spring 2016.
CS 201 Accelerated Introduction to Computer Science LECTURE 1 GEORGE KOUTSOGIANNAKIS 1 Copyright: FALL 2016 Illinois Institute of Technology/ George Koutsogiannakis.
CS210 Intermediate Computing with Data Structures (Java)
Computer Engineering Department Islamic University of Gaza
CSc 1302 Principles of Computer Science II
Java programming lecture one
Programming COMP104: Fundamentals and Methodology Introduction.
CS210 Intermediate Programming with Data Structures
Accelerated Introduction to Computer Science
Computer Networks CNT5106C
CS201 – Course Expectations
Presentation transcript:

Welcome to CS-IT 114 Introduction to Java Spring 2006 Namita Singla Department of Computer Science University of Massachusetts Boston

2 Primary Goals A student who successfully completes CS- IT 114 should be able to: –Understand and apply Java primitive data types –Understand and apply basic java statements and control structures –Write simple Java methods that call methods of other Java objects –Be prepared for CS-IT 115

3 Secondary Goals The theme of Spring 2006 CS-IT 114 is writing small java programs. A student who successfully completes Spring 2006 CS-IT 114 should understand: –Java variables –Control structures –Algorithms for Image manipulation

4 CS-IT 114/5 and CS 110 Alternative sequences for beginning Computer Science students –Both cover the same material –Both provide a strong foundation for programming and Computer Science CS 110 –One semester course –Appropriate for students with some programming background in any language –Prerequisite: Math 140 or placement exam CS-IT 114 & CS-IT 115 –Two Semester Sequence –Appropriate for students with little or no programming background –Prerequisite: Math 130 or placement exam

5 Web Page The source for all things CS-IT 114 –Schedule –Syllabus –Homework assignments –Lecture slides –Contact information –…–… By taking this course, you acknowledge that you are reading the web site –You are responsible for knowing what is there

6 Namita Singla Call me “Namita” Masters in CS from IIT, Kharagpur, India Working on Ph.D. at UMB Third year of teaching CS Career: –Did Bachelors and Masters in CS –Teaching in India –Working on Ph.D. in the field of Data Mining with Prof. Simovici. Research Interests –Data Mining –Machine learning –Semantic Modeling in Databases Contact Information –Office: S –Office Hours Tuesday and Thursday 2: PM – - –Phone:

7 Teaching Assistants TAs –TBA

8 Textbook –JSS – fourth edition Previous editions are not sufficient – va.edu/jss1/index.htmlhttp://duke.csc.villano va.edu/jss1/index.html

9 Other Materials Some RW storage device (every class)

10 Room We meet Tuesdays and Thursdays PM –H03-009A White Lab

11 Grades Three components of your final grade: –Classroom work – 10% –Projects – 30% Approximately 8 programming projects during the semester Pairs or individual –Exams – 60% Midterm 1 – 20% Midterm 2 – 20 % Final – 30%

12 Collaboration You can work individually or in teams of 2 for every assignment. If you work in a team of 2, each individual must submit a statement of –My role and contribution to the project –My partner’s role and contribution to the project Each teammate will receive the same grade for the project –Unless there is a disparity in the contributions

13 Exams Exam Grade –60 percent of your final grade Two exams –Midterm 1&2 – 20 percent of your final grade each –Final Exam – 20 percent of your final grade To get a late exam, you need a documented excuse –Within 2 days after the exam Final exams are in May 15-19, 2006 –You must be at the scheduled exam –You cannot get an earlier exam if you are traveling –Make your travel plans accordingly

14 Final Grade Your final grade will be determined from the sum of your homework and exam grades Passing is 60% You also must pass the exam portion to pass the course –You need at least 60% of the total exam points If P is your percent grade, your letter grade will be: P ≥ 93A 90 <= P < 93A-A- 87 <= P < 90B+B+ 83 <= P < 87B 80 <= P < 83B-B- 77 <= P < 80C+C+ 73 <= P < 77C 70 <= P < 73C-C- 67 <= P < 70D+D+ 63 <= P < 67D 60 <= P < 63D-D- P < 60F

15 Honesty Cheaters will be caught –All assignments are to follow collaboration guidelines –All exams are to be your own work Zero-tolerance policy for cheating –You cheat – you fail the course –No second chances See the code of student conduct –

16 Acknowledging Sources You must acknowledge any source that provided intellectual content to your assignment –You then must explain your contribution Example: –I used code from in creating my artificial psychiatrist program. I added functionality to react in ways a CS student would understand, such as “how long have you felt this special bond between you and the operating system?”

17 Withdrawals and Incompletes Dates –Add/Drop ends January 30, 2006 –Withdrawal Deadline April 6, 2006 –Pass/Fail Deadline April 6, 2006 Note: You can only get an incomplete if you are passing the course and cannot complete the course –Not if you are failing and want to take the course again

18 Students with Disabilities If you have a documented disability and need adaptation: –Contact Ross Center for Disability Services Campus Center 2nd Floor Room –Obtain an adaptation recommendation –See me to discuss the recommendation –Best before the drop/add date

19 Getting Extra Help The Math Resource Center offers tutoring –30 Minute Sessions –Schedule TBA –By appointment only –Student Center, 1300 Street, Room 401 –Call

20 Learning to program Lots of fun Practical Hard, time consuming Exercise in reading, writing, thinking Key is practice

21 Teaching/learning style To learn a language well, live in a land where it’s spoken – anxiety producing, but efficient! Learn to write by reading and writing about what you learn 60% of a lot is more than 100% of a little Ask questions (to slow me down)

22 Why Java? Fashionable, modern (for good reasons) Object oriented: when you have designed the architecture a program almost writes itself Portable: the same Java code can run on any computer. Well designed: –easy to learn –hard to make serious mistakes –prebuilt objects plug into your programs

23 Types of Software (Programs) Computers are very powerful pieces of hardware that can’t do much useful work until they are properly programmed There are three different types of software: –Operating Systems –Application Programs –Software Development Tools (or Kits) As a computer programmer, you may need to write any or all three types of programs

24 Operating System Programs “O/S” programs control the hardware and allow application programs to be executed An O/S is usually built to run on a specific underlying hardware platform. Generally these are the most complex types of programs to write and test Examples: –M/S DOS, Windows, UNIX, Linux, Solaris, etc.

25 Application Programs “Apps” perform useful work for their users Apps are usually built to run on a specific operating system (and specific underlying hardware platform) Users typically need to provide a lot of information about their job tasks for a programmer to write a good application program for that purpose Examples: –Word, Excel, PowerPoint, Netscape, etc.

26 Software Development Tools Software Development Tools or Kits (SDK’s) are specialized application programs that allow programmers to write and test programs Experienced programmers generally prefer an “Integrated Development Environment” (IDE) Examples (that we’ll be using in this course): –Sun’s Java SDK (sometimes called JDK) –Dr Java IDE

27 Styles of User Interface There are two predominant styles of User Interface for any type of program: –Command Line Interface (CLI) –Graphical User Interface (GUI) As a computer programmer, you must be able to use and write programs for both styles of user interface

28 Software Development Tools Using Sun Java SDK alone Source File(s) (.java) Programmer Compiler (javac) Class File(s) (.class) Virtual Machine (java) Editor Program executes Parts of Sun Java SDK Command Line Interface

29 Using Sun Java SDK Alone Example DOS Commands and Parameters C:\ > edit HelloWorld.java (Create/edit “source file” in an external window) C:\ > javac HelloWorld.java (creates.class file) C:\ > java -classpath … HelloWorld Hello World C:\ > exit

30 Software Development Tools We will use a combination of the Dr Java IDE and the Sun Java SDK Source File(s) (.java) Programmer Dr Java IDE Compiler (javac) Class File(s) (.class) Virtual Machine (java) EditBuildRun Program executes Parts of Sun Java SDK Graphical User Interface

31 Program Development Steps Edit and save source code Build source code to create program Run program and evaluate results Errors Classical “Waterfall” Development Steps

Georgia Institute of Technology32 Errors A program can have three types of errors: The IDE editor and/or compiler will find syntax errors and other basic problems (compile-time errors) –If compile-time errors exist, an executable version of the program is not created A problem can occur during program execution, such as trying to divide by zero, which causes a program to terminate abnormally (run-time errors) A program may run, but produce incorrect results, perhaps using an incorrect formula (logical errors)