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

Preview:

Citation preview

1

MT-201 Computer Fundamentals with Java

Tutorial 1 ( part 1 )

Group 10Tutor : Kenny YUEN

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

IntroductionPreparation &

Course Familiarization

2

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

3

Help I: Answer Questions Telephone

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

Tutorial Surgery Email

t441063@study.ouhk.edu.hk] Tutorial page

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

4

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

5

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

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)

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

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

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

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.

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

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

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)

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

15

http://webct.ouhk.edu.hk

16

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

17

TMA: Late Submission

18

TMA: Late Submission

Ext-L1 Tutor approval

<= 7 days

Ext-L2 CC approval8 ~ 21 days Ext-L3

Dean approval< 21 days

19

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

20

Click any one of them

21

Step-1 Fill in all these

entries

Step-2 click Submit

button

22

click the Confirm to Submit

button

23

Submission ConfirmedAwaiting for approval

24

TMA : Score / Comments

25

Discussion Board / Forum

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

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. mt201@852.net 5M web hosting,

eg. http://mt201.852.net

28

JDK Installation ( Demo )

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

30

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

31

Step-4 Press [ Next ] to continue

32

Step-5 Press [ Yes ] to continue

33

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

34

Step-7 Press [ Next ] to continue

35

Step-8 Press [ Next ] to continue

36

37

38

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

39

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

Computer] Select [Properties]

40

Configuration: Win-2000 or Win-XP

click [Advanced]

41

Configuration: Win-2000 or Win-XP click

[Environment Variables]

42

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

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

44

Configuration testing

Start a [Command Prompt]1. <Start>

2. <Programs>

3. <Accessories>

4. <Command Prompt>

45

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

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

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

48

Method-2For win-98, or

win-2000/XP with classical menu

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

Programs]

49

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

50

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

click on a Java component

Click on [Add/Remove]

51

Click [OK] to confirm uninstalling a component

52

Removing JDK SE

53

Removing Web Start

54

Removing Web Start

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 ?

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

Recommended