COMP 110 Introduction to Programming Tabitha Peck M.S. January 9, 2008 MWF 3-3:50 pm Philips 367.

24
COMP 110 Introduction to Programming Tabitha Peck M.S. January 9, 2008 MWF 3-3:50 pm Philips 367
  • date post

    19-Dec-2015
  • Category

    Documents

  • view

    224
  • download

    2

Transcript of COMP 110 Introduction to Programming Tabitha Peck M.S. January 9, 2008 MWF 3-3:50 pm Philips 367.

Page 1: COMP 110 Introduction to Programming Tabitha Peck M.S. January 9, 2008 MWF 3-3:50 pm Philips 367.

COMP 110Introduction to Programming

Tabitha Peck M.S.

January 9, 2008

MWF 3-3:50 pm

Philips 367

Page 2: 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 no programming knowledge assumed

Page 3: COMP 110 Introduction to Programming Tabitha Peck M.S. January 9, 2008 MWF 3-3:50 pm Philips 367.

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

Page 4: COMP 110 Introduction to Programming Tabitha Peck M.S. January 9, 2008 MWF 3-3:50 pm Philips 367.

About You Assignment 0 by-email

Name E-mail Major Phone number Class Fun Fact about yourself

Page 5: COMP 110 Introduction to Programming Tabitha Peck M.S. January 9, 2008 MWF 3-3:50 pm Philips 367.

Course Web Page

http://www.cs.unc.edu/~tpeck/COMP110/

Course Documents Assignments Labs

Page 6: COMP 110 Introduction to Programming Tabitha Peck M.S. January 9, 2008 MWF 3-3:50 pm Philips 367.

Weekly Schedule Lecture

Monday/Wednesday 3-3:50 pm Phillips 367

Recitations Friday 3-3:50pm Phillips 367(bring your laptop)

Page 7: COMP 110 Introduction to Programming Tabitha Peck M.S. January 9, 2008 MWF 3-3:50 pm Philips 367.

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

Page 8: COMP 110 Introduction to Programming Tabitha Peck M.S. January 9, 2008 MWF 3-3:50 pm Philips 367.

Recitation

Mini-lab Extra programming practice Homework help Answer questions from lecture

Each group should always have a laptop and textbook

Page 9: COMP 110 Introduction to Programming Tabitha Peck M.S. January 9, 2008 MWF 3-3:50 pm Philips 367.

Textbook

RequiredJava: An Introduction to Problem Solving & Programming (Fourth Edition)Walter Savitch

Page 10: COMP 110 Introduction to Programming Tabitha Peck M.S. January 9, 2008 MWF 3-3:50 pm Philips 367.

Software

jGRASP on public lab machines

• All Programs / UNC Courseware / COMP 110 you can install on your machine

• see “Schedule” on web

Page 11: COMP 110 Introduction to Programming Tabitha Peck M.S. January 9, 2008 MWF 3-3:50 pm Philips 367.

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

Page 12: COMP 110 Introduction to Programming Tabitha Peck M.S. January 9, 2008 MWF 3-3:50 pm Philips 367.

Grades

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

Page 13: COMP 110 Introduction to Programming Tabitha Peck M.S. January 9, 2008 MWF 3-3:50 pm Philips 367.

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

Page 14: COMP 110 Introduction to Programming Tabitha Peck M.S. January 9, 2008 MWF 3-3:50 pm Philips 367.

Submitting Assignments

Submitted through e-mail E-mail to: [email protected] Subject - COMP110 Lab# yourname

Naming code scheme peck_01.jar

Page 15: COMP 110 Introduction to Programming Tabitha Peck M.S. January 9, 2008 MWF 3-3:50 pm Philips 367.

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

Page 16: COMP 110 Introduction to Programming Tabitha Peck M.S. January 9, 2008 MWF 3-3:50 pm Philips 367.

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

Page 17: COMP 110 Introduction to Programming Tabitha Peck M.S. January 9, 2008 MWF 3-3:50 pm Philips 367.

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)

Page 18: COMP 110 Introduction to Programming Tabitha Peck M.S. January 9, 2008 MWF 3-3:50 pm Philips 367.

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

Page 19: COMP 110 Introduction to Programming Tabitha Peck M.S. January 9, 2008 MWF 3-3:50 pm Philips 367.

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

Page 20: COMP 110 Introduction to Programming Tabitha Peck M.S. January 9, 2008 MWF 3-3:50 pm Philips 367.

Help!

http://help.unc.eduhttp://help.unc.edu962-HELP962-HELP

For help on general computer problems, including getting AFS enabled on your laptop or at home

Also, for free software

Page 21: COMP 110 Introduction to Programming Tabitha Peck M.S. January 9, 2008 MWF 3-3:50 pm Philips 367.

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

Page 22: COMP 110 Introduction to Programming Tabitha Peck M.S. January 9, 2008 MWF 3-3:50 pm Philips 367.

Sending Email

Put COMP110 in subject line

For example: COMP110, I’m lost COMP110, This course is too easy

Page 23: COMP 110 Introduction to Programming Tabitha Peck M.S. January 9, 2008 MWF 3-3:50 pm Philips 367.

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

Page 24: COMP 110 Introduction to Programming Tabitha Peck M.S. January 9, 2008 MWF 3-3:50 pm Philips 367.

Monday

What is Computer Science?

Introduction to Programming

Reading Assignment: 1.1

Homework 0 is due tonight 11:59 pm