L2-API-SE-Ethics-Class1

L2-API-SE-Ethics-Class1 - CSE205 Object-Oriented...

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

View Full Document Right Arrow Icon
CSE205 Object-Oriented Programming and Data Structures
Background image of page 1

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

View Full DocumentRight Arrow Icon
1-2 Outline Java API Software Engineering Social and Ethical Issues of Computer Science Internet Citizenship Introduction of Classes
Background image of page 2
1-3 API (Application Programmer Interfaces) It contains the list of all pre-defined Java classes in the Java libraries. There is a link to API Specification from CSE205 course web site - > “Links” -> Java API Specification API contains packages, and each packages contain classes. Examples of packages: java.lang package, java.util package, etc. java.lang package contains the String class, the System class, and so on. Notes: java.lang is always imported without an "import" statement. However, to use a class in any other package, you need to import it. import java.util.Scanner, OR import java.util.*; //to import all classes in this package
Background image of page 3

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

View Full DocumentRight Arrow Icon
1-4 Class Libraries A class library is a collection of classes that we can use when developing programs The Java standard class library is part of any Java development environment Its classes are not part of the Java language per se, but we rely on them heavily Various classes such as System , Scanner , String are part of the Java standard class library Other class libraries can be obtained through third party vendors, or you can create them yourself
Background image of page 4
1-5 Packages The classes of the Java standard class library are organized into packages Some of the packages in the standard class library are
Background image of page 5

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

View Full DocumentRight Arrow Icon
1-6 System.out System.out is a destination (object) to which we can send output. Commonly used methods are "print" and "println". In order to print out "Hello World" in a console, we can use a code: System.out.print("Hello World"); You can print out a primitive data type using "print" method as well as strings. To concatenate a string with a string, or a primitive data, you can use "+". For instance, int number = 10; System.out.print("The number is " + number); "println" method adds a carriage return at the end. Thus System.out.print("Hello World\n"); and System.out.println("Hello World");
Background image of page 6
Software Engineering (this topic is taught extensively in CSE360)
Background image of page 7

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

View Full DocumentRight Arrow Icon
1-8 An attempt to produce a repeatable process for the development and management of software projects. The quality of the software is a direct result of the process we follow to create it 1. Cost Estimation 1. Time 2. Money 3. resources 2. Division of project work 3. Problem analysis 4. Design 5. Implementation 6. Testing
Background image of page 8
1-9 The Software Life Cycle The overall life cycle of a program includes use and maintenance: A version of the software that is made available to user is called a release Use Development Maintenance
Background image of page 9

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

View Full DocumentRight Arrow Icon
1-10 Development vs. Maintenance Use and Maintenance Development
Background image of page 10
1-11 Development and Maintenance Effort Development Maintenance Development Maintenance Small increases in development effort can Small increases in development effort can reduce maintenance effort reduce maintenance effort
Background image of page 11

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

View Full DocumentRight Arrow Icon
1-12 The Build-and-Fix Approach Write program Modify program
Background image of page 12
Image of page 13
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 04/18/2011 for the course CSE 205 taught by Professor Matasu during the Spring '08 term at ASU.

Page1 / 52

L2-API-SE-Ethics-Class1 - CSE205 Object-Oriented...

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

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