240 likes | 436 Views
COMP 110 Introduction to Programming. Tabitha Peck M.S. January 9, 2008 MWF 3-3:50 pm Philips 367. 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 Tabitha Peck M.S. January 9, 2008 MWF 3-3:50 pm Philips 367
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 (MS, working on PhD) • undergrad: Bucknell University • hometown: Cleveland, Ohio • Research interests: Virtual Reality and Human Perception • Other interests • Soccer, Photography, Music, Art, Cooking • Movies (Computer Graphics and Hitchcock) • Mad Max
Assignment 0 by-email Name E-mail Major Phone number Class Fun Fact about yourself About You
Course Web Page • http://www.cs.unc.edu/~tpeck/COMP110/ • Course Documents • Assignments • Labs
Weekly Schedule • Lecture • Monday/Wednesday • 3-3:50 pm • Phillips 367 • Recitations • Friday • 3-3:50pm • Phillips 367(bring your laptop)
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 (Fourth Edition) Walter Savitch
Software • jGRASP • on public lab machines • All Programs / UNC Courseware / COMP 110 • you can install on your machine • see “Schedule” on web
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 3: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: tpeck@cs.unc.edu • Subject - COMP110 Lab# yourname • Naming code scheme • peck_01.jar
Late Policy • Late assignments are not accepted • 3 late days (including weekends) • Unused late days are each worth 2 extra credit points on the final
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)
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
Backup Your Work! • Backup 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 • Search for “backup” in the Windows help
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! • Never share code • Do Not give assignment solutions until after assignment is handed in • Struggle with the assignment before asking for help
Sending Email • Put COMP110 in subject line • For example: • COMP110, I’m lost • COMP110, This course is too easy
This Week's Recitation • jGRASP • Your first java program • Download jGRASP before lab (see webpage) • Read 1.2-1.3 • Bring • Laptop (fully charged) • Textbook
Monday • What is Computer Science? • Introduction to Programming • Reading Assignment: 1.1 • Homework 0 is due tonight 11:59 pm