Download Training - courses.wccnet.edu

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project

Document related concepts
no text concepts found
Transcript
Beginning JAVA Programming
CIS 175
First Day Orientation
http://courses.wccnet.edu/~bgoldber
email: bgoldber@wccnet.edu
Part-time Instructor - Brian Goldberg
1
First Day Orientation
•
•
•
•
•
•
Introduction
Text Book
Syllabus
Course Objectives
Grade Determination
Getting Started with Java Programming
2
Introduction
• Mr. Brian Goldberg – Programmer
• Started in the early 80’s working for a small
company predicting enlistment in the
military
• Hardware: pre IBM PC
• Software: BASIC, Word processing, general
data clerk
3
Computer Experience (cont)
• 1990, Computer Sciences Corporation, EPA
• Predicting emissions from cars, trucks and
motorcyles
• Hardware: long since gone, non-existent,
UM based, MTS mainframe, IBM PC and
MAC
• Software: FORTRAN
4
Computer Experience (cont)
• 1994, MEDSTAT, Data Conversion
• Health Care Information Company, any
more explanation is too complicated
• Hardware: HP3000
• Software: FORTRAN
5
Computer Experience (cont)
• 1996, STATPROBE, Statistical Reporting
• Helps pharmaceutical companies get new
drugs and medical procedures approved by
the FDA
• Hardware: IBM PC with OS/2
• Software: SAS and SAS Macros
6
Computer Experience
• 1997, M-CARE, Customer Service, Data
and Operations
• HMO owned by UM
• Hardware: HP3000 obsolete in 2006
• Software: COBOL, AMISYS a million
dollar claims payer package
7
M-CARE (cont)
• AMISYS uses all the HP3000 tools and
4GL’s which will all go away when HP3000
goes away
• SUPRTOOL a database handy man
• Image databases not "visual" image
• COGNOS Powerhouse – a suite of tools –
QUICK, QTP, and QUIZ
8
Computer Experience
•
•
•
•
2003, M-CARE, Corporate Reporting
Everything not on the HP3000
Hardware: HP9000 with UNIX
Software: PL/SQL, Crystal Reports (on a
PC oh what a headache), Oracle 8i
9
Introduction
• Taught CIS175 Fall of 2002 and Winter
2003
• Taught CPS171 - 16 times, CPS271 (6/0)
• Taught CIS121 - 3 times
• Other classes
– CIS100
– CIS116/117 when it was two classes
– CIS103/104 predecessor to CIS117
10
Introduction
• M.A. Math/CS, EMU 1994
• B.S. Math/Stats, Carnegie Mellon
University, Pittsburgh, PA 1990
Part-time Instructor - Brian Goldberg
11
Text Book
• A First Book Of Java
– by Gary J. Bronson
– Publisher: Course Technology
– Copyright 2002
Part-time Instructor - Brian Goldberg
12
Web Based E-Mail -- User ID
and Password
• http://nwmail.wccnet.edu/activate.htm
Part-time Instructor - Brian Goldberg
13
Course Objectives
• Chapters 1-13. Almost the whole book
• Chapter 13 is I/O and will be covered early
on and the rest in the order of the text book
• Chapter 14 is parameters to a program and
there is not enough time
14
Misc
• Labs are due in class
• Homework submission web page
• Download the JAVA language,
environment and documentation
15
Good Study Habits
•
•
•
•
•
Class Attendance / Discussion
Complete assigned reading
Homework completed on time
Study for Tests
Ask questions about Programming in
general and JAVA in specific
16
Grade Determination
•
•
•
•
•
Six Machine Problem Programs MP1-MP6
Three tests and one Final
Attendance
Labs
Add up the points and divide by the total
17
Compiling
• A solution to a problem can be written in a
programming language
• A solved problem is translated into a
programming language like JAVA
• Compiling is turning a program into
instructions that a computer understands
Part-time Instructor - Brian Goldberg
18
Running Programs
• A compiled program can be run
• This is when a computer actually carries out
the instructions
Part-time Instructor - Brian Goldberg
19
Program Structure
• Every JAVA program is a class and the
name of the JAVA program is the name of
the class
Part-time Instructor - Brian Goldberg
20
The method called main
• Every class program must have a method
called main
Part-time Instructor - Brian Goldberg
21
Syntax
• The JAVA syntax tells us
• What is meant by syntax?
Part-time Instructor - Brian Goldberg
22
Identifier syntax
• There is a proper syntax associated with an
identifier name (True/False)?
• LetterOrUnderScore followed by one or
more LetterOrDigitOrUnderscore
Part-time Instructor - Brian Goldberg
23
Blocks
• Groups of statements are called blocks
• Begin with a {
• and end with a }
Part-time Instructor - Brian Goldberg
24
Style
• It is good programming style to document
your programs
• Use constants also known as final values
• Doesn’t change the outcome of the program
• What does good style achieve?
Part-time Instructor - Brian Goldberg
25
Examples
• See an example on the web of a simple
program
• http://courses.wccnet.org/~bgoldber/course/
JAVAS03/inc/Hello.java
Part-time Instructor - Brian Goldberg
26
Lab 1
• In this simple exercise you will learn to
make your first program.
• http://courses.wccnet.org/~bgoldber/course/
JAVAS03/labs/lab1.htm
Part-time Instructor - Brian Goldberg
27