Welcome to JeffreyGarcia.net

I love Programming

Main Work Study JAVA Linux News

Hello Buddy! Welcome to my personal home page.
This is a place where you can find my story, study, business... and many many things about me.
So if you are really interest on me, check this out!

Data Structures (Objects) and Algorithms using JAVA
This is my favourite subject in the university, it talks about problem solving techniques that allow construction of sophisticated, time-efficient programs. I am especially interested when the implementation is done by JAVA, I've been studying this subject during my early days in the Computer Industry, where the programming language being used was PASCAL and C.

One of the key topic is Sorting.

Sorting is a fundamental application for computers. Much of the output eventually produced by a computation is sorted in some way, and many computations are made efficient by invoking a sorting procedure internally. Therefore sorting is perhaps the most intensively studied and important operation in computer science.

Why is sorting so important?

In real-life, finding a person's name in a phone book is easy, but finding a phone number without knowing the person's name is virtually impossible. As a result, any significant amount of computer output is generally arranged in some sorted order so that it can be interpreted. Below are some examples:
  • Words in dictionary are sorted
  • Files in a directory are often listed in sorted order
  • Index of a book is sorted
  • Card catalog in a library is sorted by author and title
  • Banks provide statements that list checks in increasing order by check number


I've once developed a Sorting Algorithm Visualizer, during one of the projects in my study of the course - Software Development Process Management. The application aims at visualizing sorting steps, number of comarisons performed and number of swaps of various popular Sorting Algorithm such as:
  • Insertion Sort
  • Shell Sort
  • Merge Sort
  • Quick Sort
Click HERE to view the demo


Preparing the SCJP Examination v1.4
This section is written for those people who decided to take the SCJP Exam, and to share my experience on it, as I can't really find any relevant websites or forum in Hong Kong.

The night before the exam, I was reading a Taiwan Forum on JAVA Certification, and those resources are really useful and help me a lot understanding the keypoints of passing the exam.

I haven't buy any books for the exam nor did I joined any course. Most of the time I am learning by my own and just practice over an over lots of JAVA programs, as long as you have an internet access, you can search through the web and get your answers to many problems.

I couldn't remember where did I heard this:
Asking the compiler is always better than asking anybody.
This is very true, if you have any doubt on the coding of JAVA, try to compile it and see what's the output. It always give you the explanation.


Examination Topics
  • Chapter 1: Language Fundamentals
  • Chapter 2: Declarations and Access Control
  • Chapter 3: Operators and Assignments
  • Chapter 4: Flow Control, Exceptions, and Assertions
  • Chapter 5: Object Orientation, Overloading and Overriding, Constructors and Return Types
  • Chapter 6: Java.lang -- The Math Class, Strings, and Wrappers
  • Chapter 7: Objects and Collections
  • Chapter 8: Inner Classes
  • Chapter 9: Threads



Taking the Exam
To pass the exam, you need to answer total 61 questions within 2 Hours and score at least 52%.

Most of the questions are selection based, maybe multiple or single choice(s). And about half of the question will require you to read through a program of 10~20 lines JAVA code.





Study Notes written based on http://www.jchq.net

Download and decompressed by WinZip or JAR



1