COMP 110:Introduction to Programming
Tyler JohnsonJanuary 12, 2009
MWF 11:00AM-12:15PMSitterson 014
COMP 110: Spring 20092
About COMP 110
Learn the basics of computer programming in Java
Algorithms and their designBasic programming constructs Applicable to any programming language (Java, C++, etc.)
Requirements / PrerequisitesBasic computer skills (web browsing, installing software)No programming knowledge assumedGood background in algebra
COMP 110: Spring 20093
About Me
Eight years of programming experiencePhD student in Computer Science
Undergraduate study at NC State
Research interests: multi-projector displays
COMP 110: Spring 20094
Why learn to program?
Increase your computer literacyYou get to create!Automate routine tasksUseful in various applications
Games and entertainmentMedicineBioinformaticsAir traffic controlTraining
COMP 110: Spring 20095
Course Web Page
http://www.cs.unc.edu/~tmjohns/teaching/COMP110/
Course documentsAssignmentsLabs
COMP 110: Spring 20096
Weekly Schedule
LectureMonday/Wednesday11:00AM-12:15PMSitterson 014
RecitationsFriday11:00AM-12:15PMSitterson 014 (bring your laptop)
Office hoursTBDSitterson 372
COMP 110: Spring 20097
RequiredJava: An Introduction to Problem Solving & Programming (5th Edition)(Walter Savitch & Frank M. Carrano)
Textbook
COMP 110: Spring 20098
Lecture Format
Review previous materialQuestions
Present new material
In-class exerciseswork in groups
Lecture notes will be posted online before class
Updated after class
COMP 110: Spring 20099
Recitations
Mini-lab on FridaysExtra programming practice
Homework helpAnswer questions from lectureBring your laptop (fully charged) every Friday
Make sure you can connect to campus wireless• http://help.unc.edu/?id=4976
COMP 110: Spring 200910
Computer Labs
7 LabsMaintained by UNC ITSYou may do homework there
http://help.unc.edu/?id=1908
COMP 110: Spring 200911
Software
jGRASPOn 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)
COMP 110: Spring 200912
Grades
Assignments - 60%Midterm - 15%Final - 20%Participation - 5%
COMP 110: Spring 200913
Assignments
Labs assigned during Friday recitations
Due by midnight following Thursday
Programming AssignmentsStart Early!Some will build on previous assignments
Reading AssignmentsSelf-Test Questions from textbook
Practice for exams
COMP 110: Spring 200914
Collaboration
Don’t cheat!You may never share code, unless otherwise specifiedYou may not show your program to another student so that he or she can copy it or see how it worksYou may discuss general approaches with one another, but you may never share code
COMP 110: Spring 200915
Submitting Assignments
Submitted through BlackboardNaming scheme
Labs• lastname_lab#.jar
Programs• lastname_pro#.jar
HWs• lastname_hw#.txt (or .doc)
COMP 110: Spring 200916
Late Policy
Assignments may be turned in up to two days late at a penalty of 25% of total credit for each late day
COMP 110: Spring 200917
Working in the Lab
Before you open jGRASP and start coding:
read the assignmentthink about what the assignment is asking forreview lectures and examples on the topicwrite (on paper) your plan for completing the assignment (i.e., your algorithm)
COMP 110: Spring 200918
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 spaceUse of AFS space is not required, but is recommended
COMP 110: Spring 200919
Campus File SystemAndrew File System (AFS)
Disk space associated with your OnyenAutomatically backed up by UNC
AFS in the labAutomatically appears as drive H: when you log in
On your personal machineYou can install the AFS ClientWon’t see drive H: unless you’re connected to the network (i.e., can access the Internet)
More informationhttp://help.unc.edu/?id=215
COMP 110: Spring 200920
Help!
For help with general computer problems, including getting AFS enabled on your laptop or at homeAlso, for free software
http://help.unc.eduhttp://help.unc.edu962-HELP962-HELP
COMP 110: Spring 200921
Exams
Mid-TermTo take a make-up mid-term, you must notify me in advance or have a doctor's excuse
FinalTo 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
COMP 110: Spring 200922
Sending Email to me
Important! Put COMP110 in subject line
For example:COMP110, I’m lostCOMP110, This course is too easy
COMP 110: Spring 200923
Homework 0
Posted on the course websiteBasic info about you/honor pledge• Shouldn’t take more than about 10 minutes
Print, complete, and return to me in class on Wed (Jan 14th)
Start reading the textbook, Sections (1.1, 1.2)
COMP 110: Spring 200924
Next Lecture
Computer basicsHardware & MemoryYour first JAVA program!
Top Related