COP 2250 Java Programming - Spring 2012
Professor : Michael Robinson
e-mail : mrobi002@cs.fiu.edu
Web Page : www.cs.fiu.edu/~mrobi002/teaching
Course Title : Programming in Java
Course Number : COP 2250
Credits : 3
Type of Class : Required
Prerequisites Courses : None
Co-requisites Courses : None
Prerequisites Topics : None
Starts : Monday January 9th, 2012
Ends : Saturday April 21th, 2012
Catalog Description:
A first course in programming for IT majors. Syntax and semantics of Java. Classes and Objects.
Object-oriented program development. Not acceptable for credit for Computer Science majors.
Will satify MIS programming language requirement.
Required Text
Starting Out with Java: From Control Structures through Data Structures;
ISBN# 0-321-42102-7
Your textbook regular price is $124.00, you can find it used from $13.85 at Amazon,
Barnes & Nobles and others.
Goals
My goal is to make sure you learn, working together on programs is NOT PERMITTED,
if I notice that programs are similar I will start giving a quiz on the program the day it is due,
if your grades (program, quiz) are very different the final grade will the one of the quiz.
Attendance
If you attend every class, you will have a better chance of learning the material of this
course. Not everything I teach in this class is in the book.
Recommendations
DO NOT use any wordprocessor to write your programs.
The computers in the ECS lab contain all the necessary programs for his course, you can also
use your own computers, installing one of the following FREE softwares:
JDK Java Compiler
Eclipse IDE or
Netbeans IDE
Eclipse for Java is an IDE system dedicated for Java programming.
Netbeans IDE is very powerful, and has over 100 plugins to allow you to write programs
for multiple languages.
Windows and Linux users
To write your programs you can also use editors such as notepad, EditPad Pro, or gedit,
however I recommend Eclipse or Netbeans.
Class Policies
FIU Academic Affairs policy on academic dishonesty
Grading
3 Exams 20 points each = 60 points
5 Programs 8 points each = 40 points
Total = 100 points
Your grade, will be calculated as follows
A 100-95
A- 94-90
B+ 89-87
B 86-83
B- 82-80
C+ 79-76
C 75-70 PASS
C- 69-66 FAIL
D+ 65-60
D 59-56
D- 55-51
F 50-0
Important Dates
Exam 1: TBA (covering ch 1, 6, 5, 2)
Exam 2: TBA (covering programs 1,2,3, and other material covered in class)
Exam 3: TBA (covering All programs and Exams 1 and 2)
Assignment Due Dates
Assignments must be turned in at the start of class on the due dates.
I do not accept late assignments without a valid reason.
Programming Assignments
Assignment #1:
Program 1 Due On Wed Feb 1th, 2012 at beginning of class.
Assignment #2:
Program 2 Due On Mon Feb 20th, 2012 at beginning of class.
Assignment #3:
Program 3 Due On Wed March 7th, 2012 at beginning of class.
Assignment #4:
Program 4 Due on Monday April 9, 2012 at the beginning of class.
Assignment #5:
Program 5 Due On April 16, 2012 at beginning of class.
Include the following header in every program
*********************************************************************
Author : Your Name
Course : COP 2250 M-W 11:00 AM
Professor : Michael Robinson
Program #: Program Purpose/Description
{A brief description of the program }
Due Date : MM/DD/YYYY
Certification:
I hereby certify that this work is my own and none of it is the work of any other person.
..........{ your signature }..........
*********************************************************************/
Expected Course Outcomes
1. Be familiar with concepts of Objects and Classes.
2. Master the fundamental java data types.
3. Master the java selection and iteration constructs.
4. Master using String, ArrayList, and wrapper classes.
5. Master analyzing problems and writing java program solutions to
those problems using the above features.
PROJECTED SCHEDULE (COULD BE MODIFIED)
Chapter
1 INTRODUCTION TO COMPUTERS AND JAVA
6 CLASSES (FIRST LOOK AT)
5 METHODS
2 JAVA FUNDAMENTALS (DATA TYPES)
3 DECISION STRUCTURES (SELECTIONS if else if, switch,..)
4 LOOPS AND FILES (ITERATIONS)
8 ARRAYS AND ARRAYLIST CLASSES
9 CLASSES AND OBJECTS (SECOND LOOK AT)
10 TEXT PROCESSING AND MORE ABOUT WRAPPER CLASSES
12 EXCEPTIONS AND STREAM I/O (IF TIME ALLOWS)
Chapter 1 Introduction to Computerss and Java
Chapter 1, some Chapter 6 Classes, first look
Chapter some 6, 5 Methods, using print statements
Chapter 5 and Publish Program 1 (covering ch 6, 5)
Chapter 5 Methods passing parameters
Chapter 2 Data Types. Program 1 Due (covering ch 6, 5)
Chapter 2 Methods using Data types and String class
Chapter 3 Decision Structures, Selections: if else if, switch..
Review for Exam 1 (covering chapters 1, some 6, some 5 and 2)
EXAM 1 TBA (covering chapters 1, some 6, some 5, 2), Publish Program 2 (chapters 2, 3)
Chapter 3 Return Exam 1, graded, Chapter 3
Chapter 4 Loops and Files - Iterations. Program 2 Due (covering ch 2, 3)
Chapter 4 Return Program 2, graded.
Chapter 8 Arrays (one dimension)
Chapter 8 Arrays (two dimensions)
Chapter 8 More Methods, Files
Chapter 9 Files
Chapter 9 Files, Numeric Format
Program 3 Due, Exam 2 Review, go over Program 3
EXAM 2 TBA covering programs 1,2,3, and other material covered in class
Chapter 9 Classes and Objects, second look at
Chapter 9 Classes and Objects, second look at
Chapter 10 Text Processing and more about Wrapper Classes
Chapter 8 Arrays and ArrayList Classes
Chapter 10 Text Processing and more about Wrapper Classes
Chapter 10 Text Processing and more about Wrapper Classes
Chapter 12 Exceptions and Stream I/O
Chapter 8 Arrays and ArrayList Classes
Chapter 10 Text Processing and more about Wrapper Classes
Chapter 12 Exceptions and Stream I/O
Chapter 12 Final Exam review (covering ch 9, 10, 11, 12)
FINAL EXAM TBA (covering programs 1-5 and exams 1 and 2)
DATA TYPES BYTES MIN VAL
MAX VAL
char
1
-128
128
unsigned char 1
0
256
int or short 2
-32,768 32,768
unsigned short 2
0
65,535
long
4 -2,147,483,648 2,147,483,647
unsigned long 4
0 4,294,967,295
float
4 -+1.701411E-38 -+1.701411E38
double
-+1.0E-307 -+1.0E307
For example, 2.345E6 is equivalent to 2,345,000
|