Top Banner
1 MT-201 Computer Fundamentals with Java Tutorial 1 ( part 1 ) Group 10 Tutor : Kenny YUEN http://learn.ouhk.edu.hk/~t441063 Introduction Preparation & Course Familiarization
56

1 MT-201 Computer Fundamentals with Java Tutorial 1 ( part 1 ) Group 10 Tutor : Kenny YUEN t441063 Introduction Preparation &

Mar 27, 2015

Download

Documents

Hayden Clarke
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: 1 MT-201 Computer Fundamentals with Java Tutorial 1 ( part 1 ) Group 10 Tutor : Kenny YUEN t441063 Introduction Preparation &

1

MT-201 Computer Fundamentals with Java

Tutorial 1 ( part 1 )

Group 10Tutor : Kenny YUEN

http://learn.ouhk.edu.hk/~t441063

IntroductionPreparation &

Course Familiarization

Page 2: 1 MT-201 Computer Fundamentals with Java Tutorial 1 ( part 1 ) Group 10 Tutor : Kenny YUEN t441063 Introduction Preparation &

2

Content How can I help? MT201 and its Components Demonstration What To Do?

Page 3: 1 MT-201 Computer Fundamentals with Java Tutorial 1 ( part 1 ) Group 10 Tutor : Kenny YUEN t441063 Introduction Preparation &

3

Help I: Answer Questions Telephone

my tel: 94370111 time slots (20-22 pm daily)

Tutorial Surgery Email

[email protected]] Tutorial page

http://learn.ouhk.edu.hk/~t441063 OLE Discussion Board (Main + Group 10)

Page 4: 1 MT-201 Computer Fundamentals with Java Tutorial 1 ( part 1 ) Group 10 Tutor : Kenny YUEN t441063 Introduction Preparation &

4

Course home page http://learn.ouhk.edu.hk/~mt201

Page 5: 1 MT-201 Computer Fundamentals with Java Tutorial 1 ( part 1 ) Group 10 Tutor : Kenny YUEN t441063 Introduction Preparation &

5

My tutorial page http://learn.ouhk.edu.hk/~t441063

Page 6: 1 MT-201 Computer Fundamentals with Java Tutorial 1 ( part 1 ) Group 10 Tutor : Kenny YUEN t441063 Introduction Preparation &

6

Help II: Tutorial

For ALL Students of This Class Answer questions interested to whole class

please attend surgery for individuals’ questions Summary of Important Concepts

(e.g. PowerPoint + whiteboard) Demonstration

(e.g. editing and compiling Java programs)

Page 7: 1 MT-201 Computer Fundamentals with Java Tutorial 1 ( part 1 ) Group 10 Tutor : Kenny YUEN t441063 Introduction Preparation &

7

Help IV: TMA Feedback Two Purposes

Learning from feedbackEncouragementComments will be givenMay refer to course materials

Assessment

Help III: Surgery For Individual Students

Answer Individuals’ Questions Two Tutors, each in a room First Come First Serve Computer / Notebook available

Page 8: 1 MT-201 Computer Fundamentals with Java Tutorial 1 ( part 1 ) Group 10 Tutor : Kenny YUEN t441063 Introduction Preparation &

8

MT201 Main Parts U1 : Introduction to computer concepts U2 : Software life cycle: analysis & design

Software Development Life Cycle (SDLC) U3-U10: Object-Oriented(OO) Programming in Java

Your Study Steps Special Instructions

Check News (WebCT) at least twice a week Normal Sequence

Find unit from Presentation Schedule Read the unit

Page 9: 1 MT-201 Computer Fundamentals with Java Tutorial 1 ( part 1 ) Group 10 Tutor : Kenny YUEN t441063 Introduction Preparation &

9

Components Printed units

Units 1 – 3 distributed Others : distribute when ready PDF version available on OLE

A textbook : KN King, 2000 Java 2 SDK 1.4 : on CDROM OLE: news, forum, file download

Page 10: 1 MT-201 Computer Fundamentals with Java Tutorial 1 ( part 1 ) Group 10 Tutor : Kenny YUEN t441063 Introduction Preparation &

10

Assessment Four Tutor-Marked Assignments (TMAs)

All required please download it about 4 weeks before cut-off 50% of total score TMA should be submitted with the TMA Form

3-hour written examination 50% of total score

Pass : 40 in TMAs & 40 in exam eg. if you get 70, 60, 0 (missing), 50 in TMA 01, 02, 03

and 04 respectively, average is (70+60+0+50)/4 = 45 ; so TMAs passed. Normally failing to get an average of 40 marks in

TMAs means you will fail in this course and you need to pay again to retake it.

Page 11: 1 MT-201 Computer Fundamentals with Java Tutorial 1 ( part 1 ) Group 10 Tutor : Kenny YUEN t441063 Introduction Preparation &

11

TMAs Extension / Late Submission (ref. WebCT pp-90)

Must apply before TMA cut-off (or the extended) date use the "Record and Extension" link on OLE (next screen)

use Ext-L1 for 1~7 day use Ext-L2 for 8~21 days use Ext-L3 more than 21 days

All TMAs must be sent to me via surface mail ( not eMail ) Only the 1st version of TMA received would be

marked & counted towards final score partly correct answers will partial marks

so hand in TMA even if you cannot complete it

Page 12: 1 MT-201 Computer Fundamentals with Java Tutorial 1 ( part 1 ) Group 10 Tutor : Kenny YUEN t441063 Introduction Preparation &

12

Demonstration OLE WebCT

Discussion Board / Forum TMA Late Submission TMA Status Enquiry (score / comment)

Java 2 SDK (JDK) installation? U-1 page 46~63

Edit Java program Compile Java program

Page 13: 1 MT-201 Computer Fundamentals with Java Tutorial 1 ( part 1 ) Group 10 Tutor : Kenny YUEN t441063 Introduction Preparation &

13

OLE WebCT ( Demo ) https://webct.ouhk.edu.hk/webct/homearea/homearea Should visit at least twice a week Need logging on

username: student_id (s1234567) password: HK_id_card_no (x123456)

Pay attention to the following sections: News Course Material Assignments Interactive Tools (Discussion Board / Forum)

Page 14: 1 MT-201 Computer Fundamentals with Java Tutorial 1 ( part 1 ) Group 10 Tutor : Kenny YUEN t441063 Introduction Preparation &

14

News latest news about the course TMAs announcement

Course Material divided into chapters according to the units modifications / errata of course units

Assignments TMAs will be posted there for download

Interactive Tools only Discussion Board can be found No eMail / Chat function is available

Page 15: 1 MT-201 Computer Fundamentals with Java Tutorial 1 ( part 1 ) Group 10 Tutor : Kenny YUEN t441063 Introduction Preparation &

15

http://webct.ouhk.edu.hk

Page 16: 1 MT-201 Computer Fundamentals with Java Tutorial 1 ( part 1 ) Group 10 Tutor : Kenny YUEN t441063 Introduction Preparation &

16

https://webct.ouhk.edu.hk/webct/homearea/homearea

Page 17: 1 MT-201 Computer Fundamentals with Java Tutorial 1 ( part 1 ) Group 10 Tutor : Kenny YUEN t441063 Introduction Preparation &

17

TMA: Late Submission

Page 18: 1 MT-201 Computer Fundamentals with Java Tutorial 1 ( part 1 ) Group 10 Tutor : Kenny YUEN t441063 Introduction Preparation &

18

TMA: Late Submission

Ext-L1 Tutor approval

<= 7 days

Ext-L2 CC approval8 ~ 21 days Ext-L3

Dean approval< 21 days

Page 19: 1 MT-201 Computer Fundamentals with Java Tutorial 1 ( part 1 ) Group 10 Tutor : Kenny YUEN t441063 Introduction Preparation &

19

Click on 1. Either the word [ TMA ] 2. Or the number

Page 20: 1 MT-201 Computer Fundamentals with Java Tutorial 1 ( part 1 ) Group 10 Tutor : Kenny YUEN t441063 Introduction Preparation &

20

Click any one of them

Page 21: 1 MT-201 Computer Fundamentals with Java Tutorial 1 ( part 1 ) Group 10 Tutor : Kenny YUEN t441063 Introduction Preparation &

21

Step-1 Fill in all these

entries

Step-2 click Submit

button

Page 22: 1 MT-201 Computer Fundamentals with Java Tutorial 1 ( part 1 ) Group 10 Tutor : Kenny YUEN t441063 Introduction Preparation &

22

click the Confirm to Submit

button

Page 23: 1 MT-201 Computer Fundamentals with Java Tutorial 1 ( part 1 ) Group 10 Tutor : Kenny YUEN t441063 Introduction Preparation &

23

Submission ConfirmedAwaiting for approval

Page 24: 1 MT-201 Computer Fundamentals with Java Tutorial 1 ( part 1 ) Group 10 Tutor : Kenny YUEN t441063 Introduction Preparation &

24

TMA : Score / Comments

Page 25: 1 MT-201 Computer Fundamentals with Java Tutorial 1 ( part 1 ) Group 10 Tutor : Kenny YUEN t441063 Introduction Preparation &

25

Discussion Board / Forum

Page 26: 1 MT-201 Computer Fundamentals with Java Tutorial 1 ( part 1 ) Group 10 Tutor : Kenny YUEN t441063 Introduction Preparation &

26

divided into different forums some forums are public: Main some forums are private: Tutorial Group-10 for asking questions, sharing ideas (not TMA

solutions) and discussions questions of general interests:

post to public forums questions concerning our tutorial group or

requesting me to answer: post to Tutorial Group-10

tutorial handouts will be put in Group-10 forum as well as my web site:

http://learn.ouhk.edu.hk/~t441063

Page 27: 1 MT-201 Computer Fundamentals with Java Tutorial 1 ( part 1 ) Group 10 Tutor : Kenny YUEN t441063 Introduction Preparation &

27

Email Service No email service in OLE ? WHY? Need email a/c to communicate with CC,

tutor and fellow classmates No email account is provided by OUHK If your ISP provides you with email a/c, use it. Otherwise, get any free (Web-based) email yourself

www.hongkong.com , www.852.net , www.yahoo.com , www.hotmail.com

Tools for sending and receiving emails: Netscape Communicator Microsoft Outlook Express Web-based ICQ, etc.

www.852.net offers : 50M email storage, and

eg. [email protected] 5M web hosting,

eg. http://mt201.852.net

Page 28: 1 MT-201 Computer Fundamentals with Java Tutorial 1 ( part 1 ) Group 10 Tutor : Kenny YUEN t441063 Introduction Preparation &

28

JDK Installation ( Demo )

Page 29: 1 MT-201 Computer Fundamentals with Java Tutorial 1 ( part 1 ) Group 10 Tutor : Kenny YUEN t441063 Introduction Preparation &

29

To ensure you can see the [File Download] pop-up, please

• Either adjust the size of your Internet browser windows

• Or close your Internet browser

Page 30: 1 MT-201 Computer Fundamentals with Java Tutorial 1 ( part 1 ) Group 10 Tutor : Kenny YUEN t441063 Introduction Preparation &

30

Anytime, click Cancel, if you like to stop installing it

Page 31: 1 MT-201 Computer Fundamentals with Java Tutorial 1 ( part 1 ) Group 10 Tutor : Kenny YUEN t441063 Introduction Preparation &

31

Step-4 Press [ Next ] to continue

Page 32: 1 MT-201 Computer Fundamentals with Java Tutorial 1 ( part 1 ) Group 10 Tutor : Kenny YUEN t441063 Introduction Preparation &

32

Step-5 Press [ Yes ] to continue

Page 33: 1 MT-201 Computer Fundamentals with Java Tutorial 1 ( part 1 ) Group 10 Tutor : Kenny YUEN t441063 Introduction Preparation &

33

Step-6 Press [ Next ] to continue (no need to alter the installation directory)

Page 34: 1 MT-201 Computer Fundamentals with Java Tutorial 1 ( part 1 ) Group 10 Tutor : Kenny YUEN t441063 Introduction Preparation &

34

Step-7 Press [ Next ] to continue

Page 35: 1 MT-201 Computer Fundamentals with Java Tutorial 1 ( part 1 ) Group 10 Tutor : Kenny YUEN t441063 Introduction Preparation &

35

Step-8 Press [ Next ] to continue

Page 36: 1 MT-201 Computer Fundamentals with Java Tutorial 1 ( part 1 ) Group 10 Tutor : Kenny YUEN t441063 Introduction Preparation &

36

Page 37: 1 MT-201 Computer Fundamentals with Java Tutorial 1 ( part 1 ) Group 10 Tutor : Kenny YUEN t441063 Introduction Preparation &

37

Page 38: 1 MT-201 Computer Fundamentals with Java Tutorial 1 ( part 1 ) Group 10 Tutor : Kenny YUEN t441063 Introduction Preparation &

38

Step-9 Press [ Finish ] (now you have finish the JDK installation

Page 39: 1 MT-201 Computer Fundamentals with Java Tutorial 1 ( part 1 ) Group 10 Tutor : Kenny YUEN t441063 Introduction Preparation &

39

Configuration: Win-2000 or Win-XP Right click on [My

Computer] Select [Properties]

Page 40: 1 MT-201 Computer Fundamentals with Java Tutorial 1 ( part 1 ) Group 10 Tutor : Kenny YUEN t441063 Introduction Preparation &

40

Configuration: Win-2000 or Win-XP

click [Advanced]

Page 41: 1 MT-201 Computer Fundamentals with Java Tutorial 1 ( part 1 ) Group 10 Tutor : Kenny YUEN t441063 Introduction Preparation &

41

Configuration: Win-2000 or Win-XP click

[Environment Variables]

Page 42: 1 MT-201 Computer Fundamentals with Java Tutorial 1 ( part 1 ) Group 10 Tutor : Kenny YUEN t441063 Introduction Preparation &

42

Configuration: Win-2000 or Win-XP click [ New ]

Page 43: 1 MT-201 Computer Fundamentals with Java Tutorial 1 ( part 1 ) Group 10 Tutor : Kenny YUEN t441063 Introduction Preparation &

43

Configuration: Win-2000 or Win-XP

enter [path] to Variable Name enter [%path%;c:\J2sdk1.4.0_01\bin] to Variable

Value Click [OK] to close this and all other windows

Page 44: 1 MT-201 Computer Fundamentals with Java Tutorial 1 ( part 1 ) Group 10 Tutor : Kenny YUEN t441063 Introduction Preparation &

44

Configuration testing

Start a [Command Prompt]1. <Start>

2. <Programs>

3. <Accessories>

4. <Command Prompt>

Page 45: 1 MT-201 Computer Fundamentals with Java Tutorial 1 ( part 1 ) Group 10 Tutor : Kenny YUEN t441063 Introduction Preparation &

45

Configuration testing In the [Command Prompt] window Enter “Javac” and follow with <Enter> The [Usage] menu will be displayed

Page 46: 1 MT-201 Computer Fundamentals with Java Tutorial 1 ( part 1 ) Group 10 Tutor : Kenny YUEN t441063 Introduction Preparation &

46

Re-Installing JDK It is the best way to restore a clean development

environment whenever your PC works abnormally Should there be any installation problems,

Method-1: using the installation CD (incomplete)perform steps 1~3 againThe installation program will ask if you like to

uninstall this JDKAfter uninstalling JDK, install the JDK again from

step 1 Method-2: using Control Panel (suggested)

See next screensAfter uninstalling JDK, install the JDK again from

step 1

Page 47: 1 MT-201 Computer Fundamentals with Java Tutorial 1 ( part 1 ) Group 10 Tutor : Kenny YUEN t441063 Introduction Preparation &

47

Method-1: using the installation CD

After step 3 of the installation, this confirmation window will be displayed

Click [OK] to confirm removing JDK SE Only Java 2 SDK SE will be removed All other components remain unchanged

Java Runtime Environment (JRE) Java Web Start

Page 48: 1 MT-201 Computer Fundamentals with Java Tutorial 1 ( part 1 ) Group 10 Tutor : Kenny YUEN t441063 Introduction Preparation &

48

Method-2For win-98, or

win-2000/XP with classical menu

Click [Start] Click [Settings] Click [Control Panel] Click [Add/Remove

Programs]

Page 49: 1 MT-201 Computer Fundamentals with Java Tutorial 1 ( part 1 ) Group 10 Tutor : Kenny YUEN t441063 Introduction Preparation &

49

Method-2 : For win-XP’s stylistic menu Double click [Add/Remove Programs]

Page 50: 1 MT-201 Computer Fundamentals with Java Tutorial 1 ( part 1 ) Group 10 Tutor : Kenny YUEN t441063 Introduction Preparation &

50

For each of these 3 components whose names start with Java,

click on a Java component

Click on [Add/Remove]

Page 51: 1 MT-201 Computer Fundamentals with Java Tutorial 1 ( part 1 ) Group 10 Tutor : Kenny YUEN t441063 Introduction Preparation &

51

Click [OK] to confirm uninstalling a component

Page 52: 1 MT-201 Computer Fundamentals with Java Tutorial 1 ( part 1 ) Group 10 Tutor : Kenny YUEN t441063 Introduction Preparation &

52

Removing JDK SE

Page 53: 1 MT-201 Computer Fundamentals with Java Tutorial 1 ( part 1 ) Group 10 Tutor : Kenny YUEN t441063 Introduction Preparation &

53

Removing Web Start

Page 54: 1 MT-201 Computer Fundamentals with Java Tutorial 1 ( part 1 ) Group 10 Tutor : Kenny YUEN t441063 Introduction Preparation &

54

Removing Web Start

Page 55: 1 MT-201 Computer Fundamentals with Java Tutorial 1 ( part 1 ) Group 10 Tutor : Kenny YUEN t441063 Introduction Preparation &

55

Checklist: Have you ... Connected to the Internet ?

Own ISP or OLE/E-Library lines Before accessing to Web pages, OLE and email service,

your computer has to be connected to the Internet Join a commercial ISP (recommended) or use OUHK Electronic Library’s dial-up

Using dial-up or broadband is up to your choice Install the Internet connection software

refer to Computing guide Log-on your ISP

Logged in OLE ? read course News

Installed Java 2 SDK ?

Page 56: 1 MT-201 Computer Fundamentals with Java Tutorial 1 ( part 1 ) Group 10 Tutor : Kenny YUEN t441063 Introduction Preparation &

56

What to do next?

Get familiar with OLE WebCT Install Java 2 SDK from CDROM Read Unit 1 & the King’s book

Next Tutorial

More on Unit 1 4 May, room at CityUY-4302Y-4302