News
[3/17/2006] Week 10 review is posted. Good luck to your final.
[3/10/2006] Here comes the week 9. Today we will introduce Stack & Queue data structures and use ArrayList to implement the their operations, such as push(), pop(), isempty().
[3/3/2006] 8th week's material is posted. We will review the 2nd-midterm questions in the beginning and then practice a program to check if a number is prime.
[2/24/2006] OK, I figure out how to check if the input is an integer. My approach is to use hasNextInt() to see if the input is an int, if yes then I read (use nextInt()); otherwise, I skip that input and continueously ask the user to input again. Please check updated code again. Btw, there's one minor error we did in discussion, go to Line 37, we need to update 'guess' value when we're done checkRange() otherwise the 'guess' is always an old one.
[2/24/2006] 7th week's is posted. We will play a bingo game using iteration structures.
[2/17/2006] 6th week's material will be posted after discussion. We will practice if-else-if statements and boolean expression. In the end, a debug game will be served.
[2/10/2006] 5th week's material will be posted after discussion. We are going to play drawing in today's discussion, and implement java applet as well.
[2/3/2006] Today we will go through the questions on the Midterm.
[1/27/2006] 3rd week's material is posted.
[1/20/2006] 2nd week's material is posted. You are welcome to download and play around.
[1/14/2006] 1st week's material is posted. Your first homework is due on Jan. 20, 9pm.
[1/13/2006] This is the website for CS 5JA. Discussion material will be posted here.

