00 - OoCities

advertisement
MT-201 Computer Fundamentals with Java
Introduction
Preparation &
Course Familiarization
Tutorial 1 ( part 1 )
Group 10
Tutor : Kenny YUEN
http://learn.ouhk.edu.hk/~t441063
1
Content




How can I help?
MT201 and its Components
Demonstration
What To Do?
2
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)
3
Course home page
http://learn.ouhk.edu.hk/~mt201
4
My tutorial page
http://learn.ouhk.edu.hk/~t441063
5
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)
6
Help III: Surgery
 For Individual Students
 Answer Individuals’ Questions
 Two Tutors, each in a room
 First Come First Serve
 Computer / Notebook available
Help IV: TMA Feedback
 Two Purposes
 Learning from feedback
Encouragement
Comments will be given
May refer to course materials
 Assessment
7
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
8
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
9
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.
10
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
11
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
12
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)
13
 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
14
http://webct.ouhk.edu.hk
15
https://webct.ouhk.edu.hk/webct/homearea/homearea
16
TMA: Late Submission
17
TMA: Late Submission
Ext-L1
Tutor approval
<= 7 days
Ext-L2
CC approval
8 ~ 21 days
Ext-L3
Dean approval
< 21 days
18
Click on
1. Either the word [ TMA ]
2. Or the number
19
Click any one of them
20
Step-1
Fill in all these
entries
Step-2
click Submit
button
21
click the
Confirm to Submit
button
22
Submission Confirmed
Awaiting for approval
23
TMA : Score / Comments
24
Discussion Board / Forum
25




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
26
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 www.852.net offers :
email storage, and
 Microsoft Outlook Express  50M
eg.
mt201@852.net
 5M web hosting,
 Web-based
eg. http://mt201.852.net
 ICQ, etc.
27
JDK Installation ( Demo )
28
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
29
Anytime, click Cancel,
if you like to stop
installing it
30
Step-4 Press [ Next ] to continue
31
Step-5 Press [ Yes ] to continue
32
Step-6 Press [ Next ] to continue (no need to alter the installation directory)
33
Step-7 Press [ Next ] to continue
34
Step-8 Press [ Next ] to continue
35
36
37
Step-9 Press [ Finish ] (now you have finish the JDK installation
38
Configuration: Win-2000 or Win-XP
 Right click on [My
Computer]
 Select [Properties]
39
Configuration: Win-2000 or Win-XP
 click [Advanced]
40
Configuration: Win-2000 or Win-XP
 click [Environment
Variables]
41
Configuration: Win-2000 or Win-XP
 click [ New ]
42
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
43
Configuration testing
Start a [Command Prompt]
1. <Start>
2. <Programs>
3. <Accessories>
4. <Command Prompt>
44
Configuration testing
 In the [Command Prompt] window
 Enter “Javac” and follow with <Enter>
 The [Usage] menu will be displayed
45
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 again
 The installation program will ask if you like to
uninstall this JDK
 After uninstalling JDK, install the JDK again from
step 1
 Method-2: using Control Panel (suggested)
 See next screens
 After uninstalling JDK, install the JDK again from
step 1
46
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
47
Method-2
For win-98, or
win-2000/XP with
classical menu




Click [Start]
Click [Settings]
Click [Control Panel]
Click [Add/Remove
Programs]
48
Method-2 : For win-XP’s stylistic menu
 Double click [Add/Remove Programs]
49
 For each of these 3
components whose
names start with Java,
 click on a Java
component
 Click on
[Add/Remove]
50
 Click [OK] to confirm uninstalling a component
51
Removing JDK SE
52
Removing Web Start
53
Removing Web Start
54
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 ?
55
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 Y-4302
at CityU
56
Download