星期五, 3月 25, 2005

3/25 Homework

Reading Assignments:

1. Redo Display 2.03 using d=123.456789 & money=0.001. Watch the results.
2. Do Display 2.01 using 5 different Locale. (For example, Taiwan, China, France.)
3. Hit the Internet and do a search. Based on the results you find, write a Cellular Phone Java Game market report on your own blog.
4. Reading Assignments: Sec. 1.4; Sec. 2.1, Sec. 2.2 of Textbook.

3/25 Lab

Programming Project 1.02 using JBuilder

星期五, 3月 18, 2005

3/18 Homework

Do 3/18 Lab


Reading Assignments:
1. Read Sec. 1.3, Sec. 1.4; Sec. 2.1, Sec. 2.2 of Textbook.

3/18 Lab

Practice JBuilder

Do 1.02, 1.7, 1.8

星期五, 3月 11, 2005

3/11 Homework

Do 3/11 Lab

Reading Assignments:
1. Review Sec 1.1, Sec 1.2 of textbook.
2. Read Sec. 1.3, Sec. 1.4; Sec. 2.1, Sec. 2.2 of Textbook.

Due next Friday 18:30

3/11 Lab

3/11 Lab

1. Let i=2;
Print i;
Print 2 * (i++);
Print i;

Ans: 2, 4, 3

2. Let i=2;
Print i;
Print 2 * (++i);
Print i;

Ans: 2, 6, 3

3. Let m=7, n=2;
Print (double) m/n;
Print m/ (double)n;

Ans: 3.5, 3.5

4. Codemate 1.01

Ans: Consumption of 1136.3636363636365 kg of soda would kill a person weighing 50.0 kg.


5 Codemate 1.03

星期五, 3月 04, 2005

Homework 2

CodeMate Programming Projects:

  • 1.01 - page 54
  • 1.02 - page 55
  • 1.03 - additional project
  • 1.04 - additional project
Reading Assignments:
Read Chapter 1 of textbook.

Due next Friday 18:30

課程大綱

Syllabus: Object Oriented Programming in Java

Time: 18:55 p.m. - 21:30 p.m. Monday

Place:

Grading Policy: Participation (Presence, Challenging and Answers, Proactiveness) 40%, Lab 30%, Homework 30%,

Instructor: Associate Professor Yao-Jen Chang

Email: yjchang@cycu.edu.tw (for general purpose communication)

Teaching Assistant:

Textbooks:

Walter Savitch, Absolute Java ,2/e, Addison Wesley, 04/08/2005

Course Outline

1. Introduction to Java

2. Java variables & assignments

3. Java control structures

4. Object oriented design concepts

5. Java abstract data type

6. Java recursion


Learning Packages:

IDE: JBuilder Foundation Edition, Free full version for free download, no registration required http://www.borland.com/products/downloads/download_jbuilder.html

Links:

History of Java

Java Tutorials by Sun

Java History: The Inside Story (Video)

James Gosling (on Wikipedia)

作業繳交方式