Survey
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
241-211 OOP (using Java) Semester 2, 2015-2016 0. Preliminaries Please ask questions Who we are: Andrew Davison CoE, Wig Lab Office [email protected] • Objective – to give some background on the course 241-211 OOP (Java): Prelim/0 1 Overview 1. 2. 3. 4. 5. 6. Outline of the Course Meeting Time / Location Workload Course Materials Reading Materials Further Information 241-211 OOP (Java): Prelim/0 2 1. Outline of the Course • To develop skills in (introductory) object oriented programming (using Java) and object oriented modeling. • You must have passed 240-204 or 240-222 “Computer Programming Techniques” – a good knowledge of C is assumed • We will use JDK 8, 7 or Java SE 6.0 on Windows – also called Java SE 1.6 and J2SE 6.0 241-211 OOP (Java): Prelim/0 3 Main Topics • • • • • More OOP; less Java Java basics, imperative features Classes and Objects Object Interaction; Grouping Objects Using Libraries; Good Class Design More on Inheritance, Abstraction • GUIs: the event model, layout • Exception (error) handling 241-211 OOP (Java): Prelim/0 4 2. Meeting Time / Location Wednesday 14:00 – 14:50 A205 Thursday 13:00 – 13:50 R201 Friday 14:00 – 14:50 R201 I can change the times if most of the class ask me. 241-211 OOP (Java): Prelim/0 5 3. Workload (% of total score) • Mid-term Exam: 35% (2 hours) • Two Exercises, each worth 5% • Project: 20%: Java application – 2 weeks; probably weeks 14-15 • Final Exam: 35% 241-211 OOP (Java): Prelim/0 (3 hours) 6 Non-Attendence Penalty • I may take registration at the start of a class. • If someone is not there, they lose 1% (unless they have a good excuse). • A maximum of 10% can be lost – deducted from your final mark 241-211 OOP (Java): Prelim/0 7 4. Course Materials • All the handouts (and other materials, such as code examples) will be placed on-line at: http://fivedots.coe.psu.ac.th/ Software.coe/Java(OOP)/ • Print using 6 slides/page to save trees. 241-211 OOP (Java): Prelim/0 8 5. Reading Materials In our library • A good starting book on Java and OOP: Java: How to Program H.M. Deitel & P.J. Deitel (called D&D) Prentice Hall, 2003 (5th ed.) Web page: http://www.deitel.com • There are a lot of editions of this book – the 4th, 5th, or later editions are fine – later is better 241-211 OOP (Java): Prelim/0 continued 9 • It is a good idea if you have access to a copy of D&D – if you do not understand me, then you can read the book • An electronic version is at Aj. Somchai's CoE Java site: http://java.coe.psu.ac.th/ ForMember/Books.html#J2SE 241-211 OOP (Java): Prelim/0 10 Good Books (in our library) • Thinking in Java Bruce Eckel, Prentice Hall, 2006, 4th ed. – 3rd ed. can be downloaded from http://java.coe.psu.ac.th/ FreeOnline.html (it is misnamed as "Think in Java") • Beginning Java 2 Ivor Horton, Wrox Press, 1999 241-211 OOP (Java): Prelim/0 11 6. Further Information • A recent version of Java (known as Java SE 6.0 or 1.6) and its docs are at: http://java.coe.psu.ac.th/RefImp.html#JavaSE • You should get the JavaSE 6.0 SDK, WindowsFull (76.7 MB) and the 6.0 documentation (53.7 MB) 241-211 OOP (Java): Prelim/0 continued 12 Download three things. • The Java tutorial is at: http://java.coe.psu.ac.th/ FreeOnline.html – the first entry under the heading "Sun Press" – get the 2006 zipHTML version (23.5 MB) 241-211 OOP (Java): Prelim/0 13 • Aj. Somchai Limsiroratana maintains a great CoE Java resource at: http://java.coe.psu.ac.th/ – everything is here, great links, current – comments written in Thai – you need to become a member to access some things (membership is free) 241-211 OOP (Java): Prelim/0 continued 14 • Java’s home Web site: http://www.oracle.com/technetwork/java/ javase/downloads/jdk8-downloads-2133151.html – for Java SE Development Kit 8 (JDK 8), update 65 • Top 20 Java Websites see the JavaWebSites.txt file on the course Website 241-211 OOP (Java): Prelim/0 15