CSE 1341 Principles of Computer Science I Spring 2008 Mark Fontenot mfonten@engr.smu.edu Note Set 1 1 Note Set 1 Overview Administrative Material Quick review of Java 2 Who’s Teaching you? Mark Fontenot Caruth 110 mfonten@engr.smu.edu 214.768.2854 (official) Office Hours: Tu: 9 – 10 a.m., Th: 8 – 9 a.m. Website for class: engr.smu.edu/cse/1341 Blackboard will be used also 3 Materials for Class Textbook: Java: How to Program – 7th Edition Deitel & Deitel Comprehensive book, we won’t cover everything. We’ll follow it somewhat. Also think of it as a reference book about Java and associated technologies. Get a 3-ring binder for notes/handouts Always have a pencil for quizzes and tests USB drive would be helpful 4 Expectations for CSE 1341 One learns to program by programming. You should expect to work hard in this class some weeks, you may spend 10 hours or more working on one assignment this is where the learning really happens You cannot procrastinate. You must read the book. You need to learn to ask for help early. You will have questions – ask for help. do not wait until the day an assignment is due to try and find help – it will inevitably be unavailable for numerous reasons. 5 Graded Deliverables Homework assignments – WEEKLY May be written on on-line on Blackboard. Instructions will be clear on website Turn them in Wednesday before class Not accepted late – EVER!!! Programming Projects Will be discussed in lecture Will be the focus of much of lab time Most will have at least 2 phases such as pre-lab and project Exams and Quizzes guess! 100 point exams – 3 during the semester Quizzes randomly – may be online and outside of class No Late Assignments Accepted 6 Lab Time Focus on programming projects Led by TAs. Lab attendance is Mandatory You may only leave if you have completed the work for that week Don’t wait until lab to start your assignment. If you have a pre-lab for that week, make sure it is complete before you arrive to lab 7 Your Final Grade Final grade determined based on following weighted scale Type: Percentage: Exams 35% Projects 50% Homework & Quizzes 10% Attendance and Active Participation 5% If exam average < 60%, final course grade will be F If project average < 60%, final course grade will be F 8 Attendance Attendance is vitally important for both lecture and lab Historically, students who attend class are more successful Any in-class quizzes cannot be made up Given the nature of the material, each lecture builds upon previous material 9 Academic Ethics Collaboration with anyone is prohibited unless specifically 10 permitted for a particular assignment. You are expected to create, edit and print out YOUR OWN assignments and take tests without outside assistance. All work submitted is expected to be your own. The provider of help is as culpable as the receiver of help and will be treated the same. Penalties range from 0 on assignment to F in course and honor council referral at instructors discretion. More details in course syllabus What’s this course about? Fundamental concepts of Object Oriented Programming will use Java Major OOP tenets: Encapsulation, Inheritance, Polymorphism More GUI – Covered in Lab Basic ideas behind software engineering how to build good software the UML design of software testing and debugging 11 What should you know? Basic Java concepts covered in CSE 1340 primitive data types variables declarations expressions and assignments conditional constructs repetition constructs declaring methods return values parameters basic GUI We’ll review some of this as the first few weeks progress. 12 Development Environment Environment will be Linux Everyone should know how to get around in Linux/UNIX Will use VMWare to run Linux inside Windows XP Can run one OS inside another: Host OS = XP; Client OS = Linux We’ll use the command line and NetBeans to develop our projects Learn more about VMWare at www.vmware.com 13 14