1 / 25

COMP 110 Introduction to Programming

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

faustine
Télécharger la présentation

COMP 110 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 110Introduction to Programming Luv Kohli August 20, 2008 MWF 2-2:50 pm Sitterson 014

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

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

  4. 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…

  5. Why learn to program?

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

  7. Course Web Page • http://www.cs.unc.edu/~luv/teaching/COMP110/ • Course documents • Assignments • Labs

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

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

  10. Recitation • Mini-lab • Extra programming practice • Homework help • Answer questions from lecture • Each group should always have a laptop and textbook

  11. Textbook Required Java: An Introduction to Problem Solving & Programming Fifth edition (Walter Savitch & Frank M. Carrano) Fourth edition (Walter Savitch) OR

  12. 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)

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

  14. Grades • Assignments 60% • Midterm 15% • Final 20% • Participation 5%

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

  16. 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)

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

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

  19. 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)

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

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

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

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

  24. 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!

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

More Related