Skip to main content

Introduction to Computing with Java (Winter 2016-17) HKUST

Enrollment in this course is by invitation only

Remarks: Course invitation is required.

Detailed information about the course including the important dates and the grading scheme can be found in this page.

For non-HKUST students who would like to registered for this course, please kindly fill in and submit this Google Form. Limited seats are available on a first come first served basis. Successful applications will receive an invitation email to join the course.


About this course

Do you want to become a better problem solver?

This Java course will provide you with a strong understanding of basic Java programming elements and data abstraction using problem representation and the object-oriented framework. As the saying goes, “A picture is worth a thousand words.” This course will use sample objects such as photos or images to illustrate some important concepts to enhance understanding and retention. You will learn to write procedural programs using variables, arrays, control statements, loops, recursion, data abstraction and objects in an integrated development environment.

At the end of the course, you will be able to:

  • Take a "real-life" problem and abstract out the pertinent aspects necessary to solve it in an algorithmic manner
  • Formulate formal solutions to well-defined problems using the logic of a programming language
  • Implement formal solutions in Java using an integrated development environment
  • Understand the basics of data abstraction using the object-oriented framework

This course is comprised of two 5-module parts.

Part 1 introduces programming fundamentals.

  • Problem solving
  • Primitive data types and arithmetic expressions
  • Object-oriented programming basics
  • Branching and Loops
  • Arrays

Part 2 covers the following topics.

  • String manipulation
  • File I/O
  • Simple event-driven programming
  • Recursion
  • Abstract data types

FAQ

What software will be required for this course?

We will use Java Platform, Standard Edition Runtime Environment (JRE) or Java Platform, Standard Edition Development Kit (JDK) to give the computer the capability to run java programs and use BlueJ as the Integrated Development Environment (IDE) for developing Java programs.

Which version of Java will be used in this course?

The course is based on Java Version 7. It is fine that if you would like to use Java Version 8, but the new features introduced in Version 8 will not be covered by this course.

What are the system requirements for MS Windows users?

Java Version 7 and BlueJ are supported by MS Windows XP or above (except Windows RT). Java Platform, Standard Edition Runtime Environment (JRE) will need to be installed on the system. You will also need Internet Explorer 8+ or Firefox 3.6+ or Google Chrome to access the demonstration programs on the course web site. Documentation on the setup details can be found in the course handout to be given in week 1.

What are the system requirements for Mac users?

Java Version 7 and BlueJ are supported by Mac OS X 10.7.3 (Lion) or above. Java Platform, Standard Edition Runtime Environment (JRE) will need to be installed on the system. You will also need Safari 5.1.3+ or Firefox 3.6+ (64-bit) to access the demonstration programs on the course web site. Google Chrome is not supported. Documentation on the setup details can be found in the course handout to be given in week 1.

What are the system requirements for Linux users?

Java Version 7 and BlueJ are supported by Ubuntu/Debian Linux. OpenJDK, an implementation of the Java Platform, Standard Edition Development Kit (JDK), will need to be installed on the system. You will also need Firefox 3.6+ to access the demonstration programs on the course web site. Documentation on the setup details can be found in the course handout to be given in week 1.

Can I use an Integrated Development Environment (IDE) other than BlueJ?

In this course, we would recommend BlueJ to beginning programmers as it is compact and provides just enough features for learning programming. Most of the programming examples in this course assume using BlueJ. However, you may use other professional IDEs such as Eclipse and NetBeans according to your own preference.

Will I be required to view Java Applets for learning the course materials?

There will be some demonstration programs shown as Java Applets in this course. However, these applets will only act as supplementary materials. Inaccessible to the applets would not affect the learning of the course materials. To access the applets, you will have to enable or activate Java plug-in on the browser. The plug-in requires 32-bit version of Java Platform, Standard Edition Runtime Environment (JRE) on MS Windows, 64-bit version of JRE on Mac OS X or 32/64-bit version of OpenJDK on Linux depending on the architecture of the system.


What you'll learn

  • Take a "real-life" problem and abstract out the pertinent aspects necessary to solve it in an algorithmic manner.
  • Formulate formal solutions to well-defined problems using the logic of a programming language.
  • Implement formal solutions in Java using an integrated development environment.
  • Understand the basics of data abstraction using the object-oriented framework.

Meet the instructors

Course Staff Image #1

Ting-Chuen PONG

 

Course Staff Image #2

Tony W K FUNG

 

Tony W K Fung

Leo P M FAN

 


Registration steps

Registration of a HK MOOC Platform Account

Enrollment to this course

  1. If you have a HK MOOC Platform account, please click 'Sign in' on the upper right-hand corner. Then you will need to input your email address and password and jump to step 7 for enrollment . If you do not have a HK MOOC Platform account, please click 'REGISTER NOW' on the upper left-hand corner.
  2. After you click 'REGISTER NOW', you should see a form which requires some basic personal information (your password for the HK MOOC account, your active email address, your name (for certificates) and your public username (for discussion forum)). Please be reminded that your email address must be one that you are using in your daily life.
  3. Please check the two boxes ("I agree to the Terms of Service" and "I agree to the Honor Code").
  4. Please click "Create my HK MOOC Platform Account" to create your account.
  5. You will see a message show "Thanks for Registering!" upon successful registration. Then you will need to go back to your email account that you gave in the registration form and look for an email with title "Activate Your HK MOOC Platform Account" in order to activate your HK MOOC Platform account.
  6. Please click the link in the email to finish the activation process. You should see "Activation Complete!" after clicking the link.
  7. Please click 'REGISTER FOR COMP1022P".
  8. Then you are redirected to your own course dashboard and you can see that 'COMP 1022P Introduction to Computing with Java' is listed under 'CURRENT COURSE'.
  9. Please click 'View Course' underneath the course title to access the course materials.

About This Course

Do you want to become a better problem solver?

This Java course will provide you with a strong understanding of basic Java programming elements and data abstraction using problem representation and the object-oriented framework. As the saying goes, “A picture is worth a thousand words.” This course will use sample objects such as photos or images to illustrate some important concepts to enhance understanding and retention. You will learn to write procedural programs using variables, arrays, control statements, loops, recursion, data abstraction and objects in an integrated development environment.

At the end of the course, you will be able to:

  • Take a “real-life” problem and abstract out the pertinent aspects necessary to solve it in an algorithmic manner
  • Formulate formal solutions to well-defined problems using the logic of a programming language
  • Implement formal solutions in Java using an integrated development environment
  • Understand the basics of data abstraction using the object-oriented framework

This course is comprised of two 5-module parts.

Part 1 introduces programming fundamentals.

  • Problem solving
  • Primitive data types and arithmetic expressions
  • Object-oriented programming basics
  • Branching and Loops
  • Arrays

Part 2 covers the following topics.

  • String manipulation
  • File I/O
  • Simple event-driven programming
  • Recursion
  • Abstract data types

FAQ

What software will be required for this course?

We will use Java Platform, Standard Edition Runtime Environment (JRE) or Java Platform, Standard Edition Development Kit (JDK) to give the computer the capability to run java programs and use BlueJ as the Integrated Development Environment (IDE) for developing Java programs.

Which version of Java will be used in this course?

The course is based on Java Version 7. It is fine that if you would like to use Java Version 8, but the new features introduced in Version 8 will not be covered by this course.

What are the system requirements for MS Windows users?

Java Version 7 and BlueJ are supported by MS Windows XP or above (except Windows RT). Java Platform, Standard Edition Runtime Environment (JRE) will need to be installed on the system. You will also need Internet Explorer 8+ or Firefox 3.6+ or Google Chrome to access the demonstration programs on the course web site. Documentation on the setup details can be found in the course handout to be given in week 1.

What are the system requirements for Mac users?

Java Version 7 and BlueJ are supported by Mac OS X 10.7.3 (Lion) or above. Java Platform, Standard Edition Runtime Environment (JRE) will need to be installed on the system. You will also need Safari 5.1.3+ or Firefox 3.6+ (64-bit) to access the demonstration programs on the course web site. Google Chrome is not supported. Documentation on the setup details can be found in the course handout to be given in week 1.

What are the system requirements for Linux users?

Java Version 7 and BlueJ are supported by Ubuntu/Debian Linux. OpenJDK, an implementation of the Java Platform, Standard Edition Development Kit (JDK), will need to be installed on the system. You will also need Firefox 3.6+ to access the demonstration programs on the course web site. Documentation on the setup details can be found in the course handout to be given in week 1.

Can I use an Integrated Development Environment (IDE) other than BlueJ?

In this course, we would recommend BlueJ to beginning programmers as it is compact and provides just enough features for learning programming. Most of the programming examples in this course assume using BlueJ. However, you may use other professional IDEs such as Eclipse and NetBeans according to your own preference.

Will I be required to view Java Applets for learning the course materials?

There will be some demonstration programs shown as Java Applets in this course. However, these applets will only act as supplementary materials. Inaccessible to the applets would not affect the learning of the course materials. To access the applets, you will have to enable or activate Java plug-in on the browser. The plug-in requires 32-bit version of Java Platform, Standard Edition Runtime Environment (JRE) on MS Windows, 64-bit version of JRE on Mac OS X or 32/64-bit version of OpenJDK on Linux depending on the architecture of the system.

What you'll learn

  • Take a "real-life" problem and abstract out the pertinent aspects necessary to solve it in an algorithmic manner.
  • Formulate formal solutions to well-defined problems using the logic of a programming language.
  • Implement formal solutions in Java using an integrated development environment.
  • Understand the basics of data abstraction using the object-oriented framework.

Meet the instructors

Course Staff Image #1

Ting-Chuen PONG

 

Course Staff Image #2

Tony W K Fung

 

Tony W K Fung

Leo P M Fan