250 likes | 373 Views
COMP 110 Introduction to Programming. Mr. Joshua Stough August 22, 2007 Monday/Wednesday/Friday 3:00-4:15 Gardner Hall 307. 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.)
E N D
COMP 110Introduction to Programming Mr. Joshua Stough August 22, 2007 Monday/Wednesday/Friday 3:00-4:15 Gardner Hall 307
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.) • Is COMP 110 right for you? • Requirements / prerequisites • no programming knowledge assumed • Math, algebra
Is COMP 110 Right for You? • Do you have web programming experience with Java, perl, php? • Experience with “classes” in C++? • Some experience with Matlab, Mathematica? • Do you know what is meant by Object, method, member variable, recursion, array, sorting algorithms? • If yes to any, you may be ready for COMP401 instead.
By Class freshman – (9) 26% sophomore – (15) 43% junior – (9) 26% senior – (2) 6% Common Majors PSYB, BIOA, BIOB, UNDC About You
Course Web Page • UNC Blackboard System • http://blackboard.unc.edu • http://cs.unc.edu/~stough/teaching/COMP110-F07/comp110F07.html • Course Documents • Assignments • Checking Grades
Lecture Format • Review previous material • questions • Present new material • In-class exercises • Working together in class is fine. • Lecture notes are posted, but may be modified shortly after lecture. • Notebook computers please.
Recitation once per week • Mini-lab led by me • extra programming practice • I can answer questions from lecture • You will work in groups • Each group should always have a laptop and textbook
Textbook Required Java Programming: From Problem Analysis to Program Design D. Malik, P. Nair ISBN: 1-4239-0135-5 0-619-06497-8 (old edition)
Software • Java SDK. • jGRASP • on public lab machines • All Programs / UNC Courseware / COMP 110 • you can install on your machine • this Friday's recitation • We’ll do a tour later...
Computer Labs • 7 Labs • Maintained by UNC ITS • You may do homework there (jGRASP is installed on all UNC lab machines) • All computers have jGrasp. • http://help.unc.edu/?id=1908
Grades • assignments 60% • both programs and book • midterm 10-20% • final 20-30% • If the final is an improvement over the midterm, it may count more. • total 100%
Assignments • Please submit electronic copies by 11:59PM on the due date. • turn in using Blackboard • Homework assignments from textbook • practice for exams • Programming assignments • budget 10-12 hours per program • design, code, debugging • start early!
Submitting Assignments • All assignments will be submitted through Blackboard • Submission Errors • I will email you and give a deadline for re-submitting • not checking your email is not an excuse for missing the deadline
Late Policy • Late assignments are not accepted • Exceptions will be made as necessary
Working in the Lab • Before you open jGRASP and start coding (and asking for help): • read the assignment • think about what the assignment is asking for • review lectures and examples on the topic • write (yes, on paper) your plan for completing the assignment (i.e., your algorithm) • talk to/email me if you’re having trouble at this point
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 • You should • Struggle with the material before seeking help. • Come to office hours, email me. • Make sure you understand the solutions you receive help on, whether from fellow students or me.
Sending Email to me • Put COMP 110 in subject line • For example: • COMP 110, I’m lost • COMP 110, This course is too easy
Homework 0 • Introduction to Blackboard • 10 points • See Blackboard or Course Schedule • Due Monday (Aug 27) at 11:59pm • Write a text document and turn it in using Blackboard
This Week's Recitation • Bring your laptop! • We will install jGRASP • We will write our first Java programs • Read Chapter 1 to get in the mood and look at the Quick Review sections for Chapters 1 and 2.
Summary • HW0 ASAP • Download Java SDK from • http://cs.unc.edu/~stough/teaching/COMP110-F07/jgrasp.html • Read Chapters 1 and 2 • Be sure your laptop is powered up for Friday
Monday • What is Computer Science? • Introduction to Programming • Reading Assignment: Chapter 1 and Quick Review of Chapter 2 • Homework 0 is due at 11:59 pm