COMP 110 Introduction to Programming Luv Kohli August

  • Slides: 25
Download presentation
COMP 110 Introduction to Programming Luv Kohli August 20, 2008 MWF 2 -2: 50

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

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 Ph. D ◦ undergrad: George Washington University

About Me UNC grad student, working on Ph. D ◦ 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

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…

Why learn to program?

Why learn to program?

About You Homework 0 by email ◦ ◦ Name E-mail Major Some other information

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: 59 pm

Course Web Page http: //www. cs. unc. edu/~luv/teaching/COMP 110/ Course documents Assignments Labs

Course Web Page http: //www. cs. unc. edu/~luv/teaching/COMP 110/ Course documents Assignments Labs

Weekly Schedule Lecture ◦ Monday/Wednesday ◦ 2 -2: 50 pm ◦ Sitterson 014 Recitations

Weekly Schedule Lecture ◦ Monday/Wednesday ◦ 2 -2: 50 pm ◦ Sitterson 014 Recitations ◦ Friday ◦ 2 -2: 50 pm ◦ Sitterson 014 (bring your laptop) Office hours ◦ Wednesday 3 -4 pm ◦ Friday 11 -12 am ◦ Sitterson 006

Lecture Format Review previous material ◦ Questions Present new material In-class exercises ◦ work

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

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 OR

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

Software j. GRASP ◦ On public lab machines All Programs / UNC Courseware /

Software j. GRASP ◦ 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 j. GRASP 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 (j.

Computer Labs 7 Labs Maintained by UNC ITS You may do homework there (j. GRASP is installed on all UNC lab machines) http: //help. unc. edu/? id=1908

Grades Assignments 60% Midterm Final 20% Participation 5% 15%

Grades Assignments 60% Midterm Final 20% Participation 5% 15%

Assignments Labs due at 2: 00 pm following Friday ◦ Some labs will build

Assignments Labs due at 2: 00 pm 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 -

Submitting Assignments Submitted through e-mail ◦ E-mail to: luv@cs. unc. edu ◦ Subject - COMP 110 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) ◦

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

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 j. GRASP and start coding: ◦ read

Working in the Lab Before you open j. GRASP 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

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 System Andrew File System (AFS) Disk space associated with your Onyen ◦

Campus File System Andrew 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

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

Collaborating Don’t cheat! You may discuss general approaches with one another, but you may never share 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 COMP 110 in subject line For example: ◦

Sending Email to me Important! Put COMP 110 in subject line For example: ◦ COMP 110, I’m lost ◦ COMP 110, This course is too easy ◦ COMP 110, The monkeys are after me again!

This Week's Recitation j. GRASP Your first Java program Download j. GRASP before lab

This Week's Recitation j. GRASP Your first Java program Download j. GRASP before lab (see webpage) Start reading sections 1. 1, 1. 3 Bring ◦ Laptop (fully charged) ◦ Textbook