CPSC 233 Tutorial 01 & 05 Jan 19 Edwin Chan
■“Office”: ICT 524 –Please me ■Continuous Tutorial: Thursdays, 12-2PM (outside MS labs help desk)
Orientation ■Computer Science UNIX accounts –This is different from your UCIT account (for Windows computers) –Bring your student ID to the Help Desk (MS 151) ■Computer labs, printing, handing in assignments (new students) –Questions? Talk to me after class, or me.
How to get started ■Method 1: Use school servers, do everything there in UNIX. ■Method 2: Use an IDE like Eclipse.
Method 1: UNIX ■Find any UNIX computer in the undergraduate lab (not Windows!) ■Login with your Computer Science UNIX account ■PROFIT. (we’ll get back to this later)
Method 1: UNIX (remote access) ■Get an SSH client –I use PuTTY for Windows ( ■If you prefer, you can also get a GUI (Graphical User Interface) for transferring files –I use WinSCP for Windows ( ■More instructions will be posted to my website (
Method 2: Use an IDE ■At school, the Windows workstations should have Eclipse installed ■At home, you will need to download two things: –JDK (Java Development Kit) ■Download it here: ■x86/x64, get the one that matches your computer –The IDE (Eclipse) ■
Problems? ■ me ■CT hours: Thursdays, 12-2PM, beside MS Help Desk (MS151)
Exercise (1/2) ■Java documentation: ■File Welcome.java 1. import java.awt.Graphics; 2. import java.applet.Applet; public class Welcome extends Applet { 5. public void paint(Graphics g) { 6. g.drawstring(“Welcome to Java!”, 25, 25); 7. } 8. }
Exercise (2/2) ■File Welcome.html ■appletviewer Welcome.html