250 likes | 451 Views
COMP 110 Introduction to Programming. Luv Kohli August 20, 2008 MWF 2-2:50 pm Sitterson 014. About COMP 110. Learn how to develop algorithms Learn the basic components of computer programming can be applied to any programming language (Java, C++, etc.) Requirements / prerequisites
E N D
COMP 110Introduction to Programming Luv Kohli August 20, 2008 MWF 2-2:50 pm Sitterson 014
About COMP 110 • Learn how to develop algorithms • Learn the basic components of computer programming • can be applied to any programming language (Java, C++, etc.) • Requirements / prerequisites • no programming knowledge assumed
About Me • UNC grad student, working on PhD • undergrad: George Washington University • hometown: Dunn Loring, Virginia (just outside DC) • Research interests: human perception and touch feedback in virtual reality • Other interests • Ultimate frisbee, guitar, dancing, gaming
Why learn to program? • You get to create! • Useful for many different application areas • Games and entertainment • Medicine • Bioinformatics • Air traffic control • Training • The list goes on and on…
About You • Homework 0 by email • Name • E-mail • Major • Some other information (see full list in Homework 0 on the course schedule) • Due tonight by 11:59pm
Course Web Page • http://www.cs.unc.edu/~luv/teaching/COMP110/ • Course documents • Assignments • Labs
Weekly Schedule • Lecture • Monday/Wednesday • 2-2:50 pm • Sitterson 014 • Recitations • Friday • 2-2:50pm • Sitterson 014 (bring your laptop) • Office hours • Wednesday 3-4pm • Friday 11-12am • Sitterson 006
Lecture Format • Review previous material • Questions • Present new material • In-class exercises • work in groups • Lecture notes will be posted online before class • Updated after class
Recitation • Mini-lab • Extra programming practice • Homework help • Answer questions from lecture • Each group should always have a laptop and textbook
Textbook Required Java: An Introduction to Problem Solving & Programming Fifth edition (Walter Savitch & Frank M. Carrano) Fourth edition (Walter Savitch) OR
Software • jGRASP • On public lab machines • All Programs / UNC Courseware / COMP 110 • You can install on your machine • We will do this during this Friday’s recitation • Please download the Java SDK and the appropriate version of jGRASP to your laptop before Friday’s recitation! (See course schedule on web site for details)
Computer Labs • 7 Labs • Maintained by UNC ITS • You may do homework there (jGRASP is installed on all UNC lab machines) • http://help.unc.edu/?id=1908
Grades • Assignments 60% • Midterm 15% • Final 20% • Participation 5%
Assignments • Labs due at 2:00pm following Friday • Some labs will build on previous labs • Programming Assignments • Start Early! • Reading Assignments • Self-Test Questions from textbook • practice for exams
Submitting Assignments • Submitted through e-mail • E-mail to: luv@cs.unc.edu • Subject - COMP110 Lab# yourname • Naming scheme • lastname_lab#.jar • lastname_pro#.jar • lastname_hw#.txt (or .doc)
Late Policy • Late assignments are not accepted • 3 free late days (including weekends) • Unused late days are each worth 2 extra credit points on the final exam
Exams • Mid-Term • to take a make-up mid-term, you must notify me in advance or have a doctor's excuse • Final • to take the exam at a different time, you must get permission from your Dean and bring me the blue slip you get from the Dean
Working in the Lab • Before you open jGRASP and start coding: • read the assignment • think about what the assignment is asking for • review lectures and examples on the topic • write (on paper) your plan for completing the assignment (i.e., your algorithm)
Back up Your Work! • Back up your work! • You will lose something at some point • you might have to learn the hard way • Use your AFS space • use of AFS space is not required, but is recommended
Campus File SystemAndrew File System (AFS) • Disk space associated with your Onyen • automatically backed up by UNC • AFS in the lab • automatically appears as drive H: when you log in • On your personal machine • you can install the AFS Client • won’t see drive H: unless you’re connected to the network (i.e., can access the Internet) • More information • http://help.unc.edu/?id=215
Help! • For help on general computer problems, including getting AFS enabled on your laptop or at home • Also, for free software http://help.unc.edu 962-HELP
Collaborating • Don’t cheat! • You may discuss general approaches with one another, but you may nevershare code • Do Not give assignment solutions until after assignment is handed in • Struggle with the assignment before asking for help • Sign the Honor Code document and return it to me
Sending Email to me • Important! Put COMP110 in subject line • For example: • COMP110, I’m lost • COMP110, This course is too easy • COMP110, The monkeys are after me again!
This Week's Recitation • jGRASP • Your first Java program • Download jGRASP before lab (see webpage) • Start reading sections 1.1, 1.3 • Bring • Laptop (fully charged) • Textbook