CE00371-1 INTRODUCTION TO SOFTWARE DEVELOPMENT


Lab/Tutorial 1

Assessment weight : 0%

Due : Week 2
Part 1 Using the Web

Using any search engine of your choice find URLs for the following:
  1. The home pages of China, Taiwan, and HKSAR government
  2. An on-line dictionary (Englisg, Chinese, Chinese to English, and English to Chinese dictionary)
  3. A Java Programming Resource
  4. An on-line IT dictionary
  5. A home page for learning HTML
  6. A home page for learning Java
  7. Prioritize your finding in 1 to 6 above, rank a web page that, in your opinion, is a well-designed web page -- one that you like, find interesting, and feel that would attract a lot of "hits". List five things that make this your choice for this part of the exercise.
  8. Repeat question 6, find a Web page, in your opinion, is a bad designed web page -- the opposite of the one you found in the previous requirement. List five things that make this your choice for this part of the exercise.
Write up your answers using MicroSoft NotePad, and save in a file named "Ex1.txt".


Part 2 Publish your own Web page
  1. Use the simple Notepad editor in Windows (do not use those WP that provide HTML authoring features), using the following file as a reference, write your web page and save in a file named "index.html".
    		<HTML> 
    			<HEAD> 
    				<TITLE> this is the title 
    				</TITLE> 
    			</HEAD>
    			<BODY>  your name, student ID
    				 <A HREF= "Ex1.txt"> Part 1 answer </A>
    			</BODY> 
    		</HTML> 
    	
  2. Uploading both "index.html" and "Ex1.txt" files to your Personal Web Folder under Content Collection in our Blackboard eLearning portal.
  3. Publish your pages by giving permission to the "Public" user.
  4. Check if your page is available on the Web.


Part 3 Downloading the java 2 SDK

Although most system might have already installed the Java SDK 2, we still practise the procedure of installing the software so that you know how to install it at your own PC at home. For this exercise, we will install an older version of JDK from Sun. To download the laterest version, goto the Java SE Downloads instead.
  1. Access the web site Archive: Java 2 SDK, Standard Edition (J2SE), v 1.4.1_04

    click the download buttom circled, you will see the following License Agreement screen

    click accept and continue

  2. download the version for Windows platform
  3. click to start the InstallShield Wizard programe downloaded in your PC

  4. once you have installed in your system, use ¡§command prompt¡¨ to check the directory and use ¡§dir¡¨ to display the contents. Here the path is c:\j2sdk1.4.1_04\bin (it might be different for your own installation.)




Part 4 understand the components:
  1. Using the README file in your JAVA directory, find out what the following components are , and how you can use them in writing your programs
    javac
    java
    javadoc
    appletviewer
    javap
    jdb

  2. Or directly execute the command and select the option ¡§help¡¨ under the DOS prompt such as
    java ¡Vhelp | more

    if you have problem running the JDK tools and see similar output as follow:

    type PATH=%path%;C:\j2sdk1.4.2_02\bin; to reset the search path in your system, or follow the steps in Installation Notes to set the PATH permanently.



Part 5 Using components: