1-1 CMPU125 Topics in Computer Science Lecture 1 Jenny Walter Fall 2008.

Slides:



Advertisements
Similar presentations
Course Overview CSE8313 Object-Oriented Analysis and Design Spring 2015 Dr. LiGuo Huang Dept. of Computer Science and Engineering Southern Methodist University.
Advertisements

Intro to CIT 594
Object Oriented Programming in Java George Mason University Fall 2011
CPSC150 Fall 2008 Dr. L. Lambert. CPSC150 Overview Syllabus Use Textbook, ask questions, extra thorough, I will post sections covered All information.
COMP 110 Introduction to Programming Tabitha Peck M.S. January 9, 2008 MWF 3-3:50 pm Philips 367.
IT 240 Intro to Desktop Databases Introduction. About this course Design a database: Entity Relation (ER) modeling and normalization techniques Create.
CMSC 132: Object-Oriented Programming II
CMSC 132: Object-Oriented Programming II Nelson Padua-Perez William Pugh Department of Computer Science University of Maryland, College Park.
Introduction to Java Lab CS110A – Lab Section 004 Instructor: Duo Wei.
CS101- Lecture 11 CS101 Fall 2004 Course Introduction Professor Douglas Moody –Monday – 12:00-1:40 – – –Web Site: websupport1.citytech.cuny.edu.
CS – 600 Introduction to Computer Science Prof. Angela Guercio Spring 2008.
OBJECT ORIENTED PROGRAMMING I LECTURE 1 GEORGE KOUTSOGIANNAKIS
COMP 110 Introduction to Programming Mr. Joshua Stough August 22, 2007 Monday/Wednesday/Friday 3:00-4:15 Gardner Hall 307.
Honors 101, Fall 2006 Please do not sit in back of room! Lots of info on web page Join the mailing list Download Eclipse and start using it Read the text.
Computer Science - I Course Introduction Computer Science Department Boston College Hao Jiang.
Natural Environments: The Atmosphere GG 101 – Spring 2005 Boston University Professor: Ranga B. Myneni Office: Room 449 Stone Science Building (675 Commonwealth.
Intro to CIT 594
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!
Fall AboutMichael Fung, CS&E, The Chinese University of HK1 CSC1030 Hands-on Introduction to JAVA Dept of Computer Science and Engineering The.
Introduction COMP104: Fundamentals and Methodology.
CS110/CS119 Introduction to Computing (Java)
Introduction to Programming Summer 2010 Akil M. Merchant.
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.
An intro to programming. The purpose of writing a program is to solve a problem or take advantage of an opportunity Consists of multiple steps:  Understanding.
CS 106 Introduction to Computer Science I 01 / 25 / 2010 Instructor: Michael Eckmann.
1 COMS 261 Computer Science I Title: Course Introduction Date: August 25, 2004 Lecture Number: 01.
CSC 212 – Data Structures Prof. Matthew Hertz WTC 207D /
Course Introduction Software Engineering
Welcome to IIT and cs115!.
Programming in Java This is a one semester course. You will learn the language and some basic programming skills. You are expected to read, program,
Sadegh Aliakbary Sharif University of Technology Fall 2012.
Prof. Barbara Bernal NEW Office in J 126 Office Hours: M 4pm - 5:30 PM Class Lecture: M 6 PM - 8:30 in J133 Weekly Web Lecture between Tuesday to Sunday.
1.8History of Java Java –Based on C and C++ –Originally developed in early 1991 for intelligent consumer electronic devices Market did not develop, project.
1 Object Oriented Design COP 3331 Spring 2011 MWF 11:50 AM – 12:40 PM CHE 103 Instructor:Dr. Rollins Turner Dept. of Computer Science and Engineering ENB.
CS1201: Programming Language 2 C++(Course Introduction) Level 2 Nouf Aljaffan 1 st Term Nouf Aljaffan (C) CSC 1201 Course at KSU.
CS 11 java track: lecture 1 Administrivia need a CS cluster account cgi-bin/sysadmin/account_request.cgi need to know UNIX
© 2012 Pearson Education, Inc. All rights reserved. 1-1 Why Java? Needed program portability – Program written in a language that would run on various.
Catie Welsh January 10, 2011 MWF 1-1:50 pm Sitterson 014.
CSCI 51 Introduction to Computer Science Dr. Joshua Stough January 20, 2009.
Salman Marvasti Sharif University of Technology Fall 2014.
Java Programming Computer Engineering Department JAVA Programming Course Asst. Prof. Dr. Ahmet Sayar Kocaeli University - Fall 2014.
Bilgisayar Mühendisliği Bölümü CENG 102 – Computer Programming Melek OKTAY Syllabus Administrative Information.
Welcome to CS 115! Introduction to Programming. Class URL Write this down!
Introduction to Data Structures
Computer Science 102 Data Structures and Algorithms CSCI-UA.0102 Fall 2012 Lecture 1: administrative details Professor: Evan Korth New York University.
1 CPRE210: Introduction to Digital Design Instructor –Arun K. Somani –Tel: – –Office Hours: MWF 10:00-11:00 Teaching Assistant.
CSE 113 Introduction to Computer Programming Lecture slides for Week 1 Monday, August 29 th, 2011 Instructor: Scott Settembre.
Principles of Computer Science I Honors Section Note Set 1 CSE 1341 – H 1.
CPS120: Introduction to Computer Science Winter 2002 Instructor: Paul J. Millis.
Lecture.1: Getting Started With Java Jiang (Jen) ZHENG May 9 th, 2005.
Introduction to Computer Science II CSE1030Z 1. Your Instructor 2  Dr. Burton Ma  office  CSEB 1012J (near Gillian Moore's office)  hours : 2:30–4:00.
Jongwook Woo CIS 528 Introduction to Big Data Science (Syllabus) Jongwook Woo, PhD California State University, LA Computer and Information.
Monday, Jan 6, 2003Kate Gregory with material from Deitel and Deitel CO 204 Object Oriented Programming 2003 Trent University Kate Gregory.
1 COMS 261 Computer Science I Title: C++ Fundamentals Date: September 05, 2005 Lecture Number: 4.
© 2012 Pearson Education, Inc. All rights reserved types of Java programs Application – Stand-alone program (run without a web browser) – Relaxed.
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.
CS 201 Accelerated Introduction to Computer Science LECTURE 1 GEORGE KOUTSOGIANNAKIS 1 Copyright: FALL 2016 Illinois Institute of Technology/ George Koutsogiannakis.
CS140 – Computer Programming 1 Course Overview First Semester – Fall /1438 – 2016/2017 CS140 - Computer Programming 11.
Computer Engineering Department Islamic University of Gaza
Introduction to Programming
Course Overview CSE8313 Object-Oriented Analysis and Design
Programming COMP104: Fundamentals and Methodology Introduction.
Welcome to CS 1010! Algorithmic Problem Solving.
CSC2310 Principles of Computer Programming
Accelerated Introduction to Computer Science
CS201 – Course Expectations
Presentation transcript:

1-1 CMPU125 Topics in Computer Science Lecture 1 Jenny Walter Fall 2008

1-2 Goals of this Course Introduce concepts and techniques of computer science. Course work will include writing and analyzing computer programs. Java, an object-oriented programming language, will be our tool.

1-3 Prerequisites Some previous experience in programming and/or computer science. Otherwise, talk to Prof. Walter to see if this is the right course for you. If you have sufficient experience, it may be better for you to take CMPU102 which meets MWF at 1:30

1-4 Topics to be Covered A review of CS1 (CMPU101) and all of CS2 (CMPU102) in one semester. I will review Java programming, starting at the very beginning. But I will go through it quite quickly. Take a look at the topics on the web page and on the syllabus.

1-5 Course Web Page Overview of the course. Schedule of topics and readings. Lab and homework assignments. Summary of grading policy. Professor Walter's lecture notes.

1-6 Communication I often send messages to the entire class. My messages typically contain hints or clarifications of course material. I will send messages to individuals if I have specific comments or questions for that person

1-7 Contacting Professor Walter Office: 124 OLB Phone: or

1-8 Office Hours Mon-Thu: 2pm-4:30pm Also by appointment

1-9 Reading Carrano and Prichard, “Data Abstraction and Problem Solving with Java” (Second Edition), Addison-Wesley (Required) The Java Tutorial, Sun Microsystems, Available on line at: (Recommended resource.)

1-10 Labs One lab each week. Friday, 3:10pm-4:40pm. OLB 104. Required.

1-11 Homework One programming assignment each week. Absolutely essential for learning the course material. Try not to fall behind, since it can be difficult to catch up.

1-12 Grading Labs: 10%. Assignments: 25% Midterm Exam 1: 20% Midterm Exam 2: 20% Final Exam: 20% Class Participation: 5%

1-13 Deadlines and Lateness Assignments will generally be due on Thursdays by midnight. Any exceptions will be announced. Late assignments will be accepted with a penalty and will not be accepted once solutions have been distributed.

1-14 Coaching There will be a coaches (teaching assistants) assigned to our class. The coaches will answer questions in the lab and will hold office hours in the evenings and on weekends. Keep an eye on the web page for coaching schedule.

1-15 Examinations Open book and open notes. Cumulative, by the nature of the material. Exam dates shown on the course web page and in the syllabus.

1-16 Academic Integrity You may discuss general ideas with classmates. You must do each programming assignment entirely by yourself. You may not discuss or share programs with other students. Vassar regulations require the professor to report suspected violations of academic integrity to the Dean of Studies. Read the “Originality and Attribution” pamphlet.

1-17 Disability Services Academic accommodations are available for students with disabilities but you must be registered with the Office of Disability and Support Services. If you need disability accommodations, please schedule an appointment with me early in the semester and bring your DSS letter.

1-18 END OF COURSE INTRODUCTION… QUESTIONS?

1-19 Java Why was Java invented? –To make programs portable via the internet. Why do we teach Java? –It's a widely-used programming language. –Has a minimum of troublesome details. –Learning a high-level programming language allows you to learn other programming languages faster.

1-20 Object Variables Methods Object Variables Methods Object Variables Methods Messages Input Output User System Object Oriented Programming

1-21 Program Structure Java program basic elements: –Packages –Classes Java Class elements: –Data fields –Methods

1-22 Java Programming Java programming involves mix of 1.using standard, predefined classes documented in the Java API and 2.writing and documenting your own classes. Because of your previous experience writing Java code, you have already used Java library classes including –String, System, Integer, Double, Math This semester, you should become much more familiar with using the Java API = Application Programming Interface.

1-23 Classes and Instances A class defines a data type. –Specifies properties of all objects in the class. –Indicates ways in which objects in the class may differ from each other. –Defines ways in which objects in the class may communicate with each other and with the user. An instance is an individual object. –Sharing the common properties of the class. –Manifesting properties that distinguish it from other objects in the class.

1-24 Skin Color: Brown Shirt Color: _________ Pants Color: ________ Shoe Size: __________ Shoe Color: Black Class Person Instances of Person (I.e., Person objects) bobedsam Data fields

1-25 Java Development Process Programmer types Java source code. Programmer stores source code in file “Widget.java”. Compiler translates source code into Java byte code. Compiler stores byte code in file “Widget.class”. Compiled code runs on the Java Virtual Machine.

1-26 Java Development Process Widget.java Java Compiler Widget.class Java Virtual Machine InputOutput Computer javac Widget.java java Widget

1-27 Java Development Process Programmer prepares Java source code. Programmer stores source code in files: Widget.java, Helper1.java, …, HelperN.java that are part of the same package. Compiler translates source code into Java byte code. Package compressed into file Widget.jar Compiled code runs on the Java Virtual Machine.

1-28 Java Development Process Widget.jar Java Virtual Machine InputOutput Computer Widget.javaHelper1.java HelperN.java Java Compiler

1-29 NetBeans Integrated Java Development Environment. Editor, Compiler, Debugger, and more. Free version available for Windows, Mac and Linux. See link to download site on our class web page. Be sure to download NetBeans bundled with JDK5.0 (third column from the left with "Java SE" for heading - 31 MB).

1-30 acm package We used the acm package in CMPU 101 to 1.Simplify the creation of graphics programs (GraphicsProgram) 2.Simplify read/write operations (ConsoleProgram) The acm package also has its own API documentation. Links to download the acm.jar file and to the acm API are on the course web page.

1-31 Projects A single program (called a project in most IDEs) is usually composed of a set of one or more interacting classes. One of these classes must contain the line of code where execution will begin: the main method public static void main(String[] args){} (IDE = Integrated Development Environment)