1 / 28

COMP 14 Introduction to Programming

COMP 14 Introduction to Programming. Mr. Joshua Stough January 12, 2005 Monday/Wednesday 11:00-12:15 Peabody Hall 218. About COMP 14. Learn how to develop algorithms Learn the basic components of computer programming can be applied to any programming language (Java, C++, etc.)

Download Presentation

COMP 14 Introduction to Programming

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. COMP 14Introduction to Programming Mr. Joshua Stough January 12, 2005 Monday/Wednesday 11:00-12:15 Peabody Hall 218

  2. About COMP 14 • Learn how to develop algorithms • Learn the basic components of computer programming • can be applied to any programming language (Java, C++, etc.) • Is COMP 14 right for you? • Requirements / prerequisites • no programming knowledge assumed • Math, algebra

  3. Is COMP 14 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 COMP114 instead.

  4. About Me • UNC grad student, 4th year • undergrad: Carleton College (MN) • hometown: Wichita, Kansas • Research interests: image analysis, radiation treatment planning, image segmentation • Other interests • sports I play/watch- Ultimate/all others • Blues, jazz • http://www.cs.unc.edu/~stough/

  5. By Class freshman - 19% sophomore - 11% junior - 33% senior - 36% Common Majors PSY, BIO, ENGL, JOMC About You • Introductions • email, phone number, major, class, etc.

  6. Course Web Page • UNC Blackboard System • http://blackboard.unc.edu • http://www.cs.unc.edu/~stough/teaching/COMP14-S05/comp14.html • Staff Information • Course Documents • Assignments • Checking Grades

  7. Weekly Schedule • Lecture • Monday/Wednesday, 11:00AM-12:15PM • Friday, 11:00-11:50AM • Peabody Hall 218 • You must attend the above recitation.

  8. Lecture Format • Review previous material • questions • Present new material • In-class exercises • work in groups • Lecture notes are posted, but may be modified shortly after lecture. • Notebook computers closed please.

  9. What’s A Recitation? • 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 • No new material will be covered

  10. Textbook Required Java Programming: From Problem Analysis to Program Design D. Malik, P. Nair ISBN: 0-619-06497-8 Lightly Recommended Java Programming: Lab Manual Judy Scholl ISBN: 0-619-15982-0

  11. Software • jGRASP • on public lab machines • All Programs / UNC Courseware / COMP 14 • you can install on your machine • see “Course Documents” on web • this Friday's recitation • We’ll do a tour later...

  12. Computer Labs • 8 Labs • Maintained by UNC ITS • Locations, schedules, and a map on course web site • You may do homework there (jGRASP is installed on all UNC lab machines)

  13. COMP 14 Map

  14. Grades • assignments 65% • both programs and book • midterm 15% • final 20-30% • If the final is an improvement over the midterm, it may count more. • total 100%

  15. Assignments • Please submit both paper AND electronic copies by 11:59PM on the due date. • turn in using Blackboard, box for COMP 14-002 on Sitterson 0th floor near elevator • Homework assignments from textbook • practice for exams • Programming assignments • budget 10-12 hours per program • design, code, debugging • start early!

  16. Submitting Assignments • All assignments will be submitted through Blackboard • All assignments must include the honor code pledge • I need signed pledge on paper before Assn 0 due. • Make it the first thing you put onto any assignment. • Submission Errors • I will email you and give a deadline for re-submitting • don't change your assignment (not even if you need to add the honor code pledge) • not checking your email is not an excuse for missing the deadline

  17. Late Policy • Late assignments are not accepted • Exceptions will be made as necessary "I started late and something came up" is not an acceptable excuse

  18. 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

  19. 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 • see External Links on the course Blackboard site

  20. 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

  21. 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

  22. Collaborating • Don’t cheat! • You can • talk to each other about the lecture topics • talk about assignment requirements • work in groups during recitation on recitation assignments only • You should • do your own assignments -- design and code • You should never • talk to each other about assignment solutions • share code -- it is easy to detect and we will prosecute • Pledge Form

  23. Sending Email to me • Put COMP 14 in subject line • For example: • COMP 14, I’m lost • COMP 14, This course is too easy

  24. Homework 0 • Introduction to Blackboard • 10 points • instructions online under “Assignments” • Due Monday (Jan 17) at 11:59pm • Write a text document and turn it in using Blackboard

  25. jGRASP Tour

  26. This Week's Recitation • Bring your laptop! • We will install jGRASP • We will write our first Java program • Read Chapter 1 to get in the mood and look at the Quick Review sections for Chapters 1 and 2.

  27. Summary • HW0 ASAP • Download Java SDK from • http://www.cs.unc.edu/~stough/teaching/COMP14-S05/jgrasp.html • Read Chapters 1 and 2 • Be sure your laptop is powered up for Friday

  28. Wednesday • What is Computer Science? • Introduction to Programming • Reading Assignment: Chapters 1 and 2 • Turn in pledge form • bring to recitation Friday OR • turn in at front desk of Sitterson Hall by Monday at 5pm • Homework 0 is due at 11:59 pm

More Related