cs401 - Course Notes for CS 0401 Intermediate Programming...

Info iconThis preview shows pages 1–7. Sign up to view the full content.

View Full Document Right Arrow Icon
Course Notes for CS 0401 Intermediate Programming (with Java) By John C. Ramirez Department of Computer Science University of Pittsburgh
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
2 These notes are intended for use by students in CS0401  at the University of Pittsburgh and no one else These notes are provided free of charge and may not be  sold in any shape or form Material from these notes is obtained from various  sources, including, but not limited to, the following: 4 Starting Out with Java, From Control Structures  through Objects, Third and Fourth Editions by Gaddis 4 Java Software Solutions, Fourth and Fifth Editions by  Lewis and Loftus 4 Java By Dissection by Pohl and McDowell 4 The Java Tutorial, by Campione, Walrath and Huml 4 java.sun.com and its many sub-links
Background image of page 2
3 Lecture 1: Prerequisites Students taking CS401 should already  have some programming background: 4 Previous experience with Java (ex: CS 0007)  is recommended, but Pascal, C, C++ and VB  are also acceptable 4 Concepts that you are expected to be familiar  with include:  Basic program structure and syntax How do we build programs and how do we get them  to run Primitive types and expressions Numbers, characters, operators, precedence
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
4 Lecture 1: Prerequisites Control Statements and Decisions Boolean expressions if and switch (or case) statements Loops (for and while) Methods (or functions) and parameters Calling methods and flow of execution Arguments and parameters Arrays and their uses One-dimensional only 4 If you do not have this background, you should  consider taking CS 0007 before taking CS0401
Background image of page 4
5 Lecture 1: Goals of the Course Goals for CS 0401 Course: 4 To (quickly) cover the basics of the Java language  (including items mentioned in the previous slide) These will be covered more from a Java implementa- tion point of view than from a conceptual point of view You should already be familiar with (most of) the  concepts, so learning the Java implementations should  be fairly straightforward Also will touch on the foundations of object-oriented  programming This includes  Chapters 1-5 of the Gaddis text Those who have had CS 0007 should consider this to  be an extended review!
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
6 Lecture 1: Goals of Course 4 To learn the principles of object-oriented  programming and to see Java from an object- oriented point of view Objects, methods and instance variables References and their implications Creating new classes Syntax and logic required Inheritance and composition Building new classes from old classes Polymorphism and dynamic binding Accessing different objects in a uniform way Chapters  6, 9-11 of Gaddis We will focus a lot of attention on these chapters
Background image of page 6
Image of page 7
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 09/01/2009 for the course CS 401 taught by Professor Staff during the Fall '08 term at Pittsburgh.

Page1 / 248

cs401 - Course Notes for CS 0401 Intermediate Programming...

This preview shows document pages 1 - 7. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online