MTWRF 9:45-11:15 AM Sitterson 011

24
Darrell Bethea May 10, 2011 MTWRF 9:45-11:15 AM Sitterson 011

Transcript of MTWRF 9:45-11:15 AM Sitterson 011

Page 1: MTWRF 9:45-11:15 AM Sitterson 011

Darrell BetheaMay 10, 2011

MTWRF 9:45-11:15 AMSitterson 011

Page 2: MTWRF 9:45-11:15 AM Sitterson 011

Requirements / prerequisites◦ Math background ◦ Basic computer skills◦ No programming knowledge assumed

Learn how to develop algorithms

Learn the basic components of computer programming◦ can be applied to any programming language

(Java, C++, etc.)

Page 3: MTWRF 9:45-11:15 AM Sitterson 011

UNC grad student (working on PhD)◦ Undergrad: Tulane University◦ Masters: Columbia University◦ Hometown: New Orleans, LA

Research: Computer Security & Cryptography

Past full-time work:◦ Programmer◦ System administrator

Page 4: MTWRF 9:45-11:15 AM Sitterson 011

Homework 0 – submit via Blackboard◦ Name◦ E-mail◦ Major (Year)◦ Computer courses taken◦ Previous programming experience (if any)◦ Why you're taking COMP 110◦ What you've heard about COMP 110◦ What you hope to learn in COMP 110◦ Are you free during at least one of the scheduled

office hours? (M 1:00-2:00, W 1:00-2:00)

Page 5: MTWRF 9:45-11:15 AM Sitterson 011

http://www.cs.unc.edu/Courses/comp110-ss1-11/◦ (Linked to from cs.unc.edu)

Course Documents Assignments Labs Schedule

Page 6: MTWRF 9:45-11:15 AM Sitterson 011

We meet every weekday:◦ 9:45-11:15 AM◦ Sitterson 011

Mix of lectures and in-class labs◦ Bring your laptop and textbook to every class

Faster pace than a fall or spring class

Page 7: MTWRF 9:45-11:15 AM Sitterson 011

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: MTWRF 9:45-11:15 AM Sitterson 011

Extra programming practice

Homework help

Answer questions from lecture

Each group should always have a laptop and textbook

Lab Time

Page 9: MTWRF 9:45-11:15 AM Sitterson 011

RequiredJava: An Introduction to Problem Solving & Programming (Fifth Edition)Walter Savitch & Frank Carrano

Page 10: MTWRF 9:45-11:15 AM Sitterson 011

Eclipse◦ You can install on your machine◦ Please try to install Java and Eclipse onto your

laptop before tomorrow’s class. (instructions on course website)

Page 11: MTWRF 9:45-11:15 AM Sitterson 011

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

Page 12: MTWRF 9:45-11:15 AM Sitterson 011

Sign the attendance sheet each class

One free miss

After that, loss of 1 more % (out of 5 total)

Attendance

Page 13: MTWRF 9:45-11:15 AM Sitterson 011

Some labs will build on previous labs

Programming Assignments◦ Start Early!

Reading Assignments

Self-Test Questions from textbook◦ practice for exams

Page 14: MTWRF 9:45-11:15 AM Sitterson 011

Submit assignments through Blackboard◦ Subject - COMP110 Program# yourname

Naming code scheme◦ Name your jar files for submission as follows: lastname_program#.jar Example: bethea_program1.jar

Page 15: MTWRF 9:45-11:15 AM Sitterson 011

Late assignments are not accepted

3 late days (24-hour periods)◦ Unused late days are each worth 2 extra credit

points on the final

Page 16: MTWRF 9:45-11:15 AM Sitterson 011

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: MTWRF 9:45-11:15 AM Sitterson 011

Before you open Eclipse 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: MTWRF 9:45-11:15 AM Sitterson 011

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 19: MTWRF 9:45-11:15 AM Sitterson 011

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 20: MTWRF 9:45-11:15 AM Sitterson 011

For help on general computer problems Also, for free software

http://help.unc.edu962-HELP

Page 21: MTWRF 9:45-11:15 AM Sitterson 011

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: MTWRF 9:45-11:15 AM Sitterson 011

Send email to djb

Put COMP110 in subject line

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

@cs.unc.edu

Page 23: MTWRF 9:45-11:15 AM Sitterson 011

What is Computer Science?

Introduction to Programming

Homework 0 is due Thursday night

Next

Page 24: MTWRF 9:45-11:15 AM Sitterson 011

Read 1.1-1.3

Download and Install Eclipse◦ See webpage for instructions◦ Once you install Eclipse, there are tutorials

available on the Welcome page◦ Go through the “Create a Hello World Application”

tutorial

Before Tomorrow