Introduction to Java Programming

At John D. O'Bryant School of Math & Science Tu 2:00 - 3:30 & Th 2:00 - 3:30

Instructor: Chonho Lee Department of Computer Science University of Massachusetts, Boston Email : chonho@cs.umb.edu Email : chonho@gmail.com Web : http://cs.umb.edu/~chonho/teaching/index.html

Description

Welcome to the course of Introduction of Java Programming!
This is a first course in the Computer Science for majors and non-majors.
This course is appropriate for students with no programming background and also who want to
start learning Java programming.

In this course, you will learn to write useful and interesting computer programs that are easy
to read and modify.  We will explore the Java programming language and object-oriented techniques.
Remember: Key is practice! Have fun and play with java as much as possible!

This course is equivalent to CSIT 114 in University of Massachusetts, Boston. Taking this course,
you will earn 3 credits of the course.

Textbooks

All materials will be hand out.



Working from home

You can install the same software at home that we have in the labs. All the software you need is
available for free on the internet.  You need a broadband connection (or a lot of patience) because
the files are large.

You may want to download and install Java JDK6, and Dr.Java as a development environment.
See the instructions for setting up your home computer.
 
Warning: In the past, many students have had problems setting up their home computers. We will provide
some informal help with this task (and some of you may be able to help others) but we cannot provide
technical support for your home computer. 

Grading Policy

Your grade will be based on homeworks, and projects.
It is your responsibility to attend the class, review lecture slides, and read textbooks.
 
  • 60% Homeworks
  • 40% Projects

  • Schedule

    
    
    
    Date Topics Slides Reading Homework
    02/06 Course Description Lecture 1   Homework 0
    02/08 What is Class and Object? Lecture 2    
    02/13 What is Method? Lecture 3    
    02/15 Variables and arguments Lecture 4   Homework 1  sol
    02/27 Main Method, Operators Lecture 5 Chapter 1.1-1.5  
    03/01 for Loop Lecture 6   Homework 2  sol  drawRobot()
    03/06 (Midterm Review 1)      
    03/08 Arithmetic Expression Lecture 7 Chapter 3.1-3.3 Exercise1
    03/13 Java application Lecture 8    
    03/15 Char Data Type and String Lecture 9    
    03/20 Boolean and Relational operators Lecture 10 Chapter 3.4-3.5 Homework 3
    03/22 if Statement Lecture 11 Chapter 4.3  
    03/27 (Midterm Review 2)      
    03/29 while Loop Lecture 12 Chapter 4.5-4.6  
    04/03 (Discuss about project 1)      
    04/05 Random class Random Class   Homework 4
    04/10 (Exercise for Loop)     Exercise2
    04/12 (Lab and Discussion)      
    04/24 Methods Lecture 13 Chapter 5.1-5.3 Exercise3
    04/26 (Exercise for Method)     Exercise4
    05/08 Array Lecture 14 Chapter 11.1  
    05/10 (Exercise for Array)   Chapter 11.2  
    05/15 Array (ctd.) Lecture 15 Chapter 11.3 Homework 5
    05/22 (Final Review 1)      
    05/24 (Final Review 2)      

    Sample codes from the lecture here ...
  • Average1.java (basic)  Average2.java (for loop)  Average3.java (while loop) 
  • MyConverter1.java (basic)  MyConverter2.java (for loop)  MyConverter3.java (while loop) 
  • MyNameCard.java (String) 
  • GuessNumberGame1.java (basic)  GuessNumberGame2.java (count)  GuessNumberGame3.java (while loop) 
  • ExerciseMethod1.java   ExerciseMethod2.java   ExerciseMethod3.java   MyCalculator3.java  

  • Projects

    Project 1    How to draw a circle?    How to change the color?    Gallery

  • March 13: Assigned
  • March 15: Write a draft of your postcard
  • March 20: 1st evaluation (progress checking)
  • March 22: 2nd evaluation (progress checking)
  • March 29: Due date
  • Project 2    MyConverter.java   Project2.java  

  • April 24: Assigned
  • April 26: Write a draft of your converter
  • May 8: Evaluation (progress checking for panels)
  • May 10: Evaluation (progress checking for converter)
  • May 15: Due date


  • Resources