CS 101
Today’s class will start 5 minutes late
CS 101Introduction to Computer Science
Aaron Bloomfield
University of Virginia
Spring 2007
3
njsm-2001
Who we are
Aaron Bloomfield: CS 101
Office: Olsson 228D
Office hours will be posted onthe website
Email:
Michele Co: CS 101-E
Office: Olsson 228A
Office hours will be posted onthe website
Email:
aaron-email
michele-email
9568-250-020f
4
Who they are
Both instructors also accept appointments
We have 16 undergraduate teaching assistants
And graduate teaching assistant
Their information and hours will be posted on thewebsite
5
What this course is
An introduction to programming using Java
An introduction to theoretical problems in computerscience
We’ll start seeing these next time
6
What this course is not
We do not talk about (in any depth):
Applications of computing
Other programming languages (C, C++, Matlab, etc.)
History of computing (well, not much)
How to use Microsoft office or create web page
7
Course objectives
Understand fundamentals of programming such asvariables, conditional and iterative execution, methods, etc.
Understand fundamentals of object-oriented programming,including defining classes, invoking methods, using classlibraries, etc.
Gain exposure to the important topics and principles ofsoftware development.
Have the ability to write computer programs to solvespecified problems.
Be able to use software development environment tocreate, debug, and run programs.
8
Honor Policy
Honor Policy:  The University of Virginia Honor Policy is ineffect in this class.  As student in the course you alsoagree to follow the following principles.
Unless otherwise specified, the only allowed collaboration for thehomeworks and labs is the discussion of ideas; no collaboration isallowed on the exams and lab quizzes.
No code or solutions are to be distributed to other students eitherelectronically (i.e. e-mail) or on paper.  If you are looking at anotherstudent's code, you are in violation of this honor policy.
Unless otherwise noted, exams and individual assignments arepledged: you promise that you have neither given nor receivedunauthorized help.
When there is doubt regarding the honorability of an action, you willask before doing it.
9
Honor Policy
Honor Policy:  The University of Virginia Honor Policy is ineffect in this class.  As student in the course you alsoagree to follow the following principles.
You are not allowed to describe problems on an exam or quiz to astudent who has not taken it yet. You are not allowed to show exampapers to another student or view another student's exam paperswhile working on an exam.
You are not allowed to debug your fellow student's code – there isample teaching assistant support, and they can help debug code.This will be discussed in more detail once we start getting intowriting (and debugging) Java programs.
You may not use another students 'clicker' during lecture (we will bediscussing clickers shortly).
10
Honor Policy
If you find yourself looking at somebody else'scode, and doing such was not explicitly allowed,then you are in violation of this policy!
Any honor violation or cheating will be referred tothe honor committee, and will result in animmediate failure for the course, regardlessof the outcome of the honor trial or yourother grades.
No exceptions!
11
Website
At http://www.cs.virginia.edu/~cs101
The syllabus is there (with most of the info in thisslide set)
And all the lecture notes
will try to post all slide sets on the website thenight before lecture
But will probably be editing them that day
Don’t bother writing down what’s on the slides!
There will also be videos of 101 lectures
12
gaddis-java
Textbook
Starting Out with Java 5from Control Structures toObjects
Tony Gaddis
We’ll be covering the first 6chapters and chapters 8and 9
This is not the sametextbook that was used lastsemester!
13
Clickers
These are RF “remotecontrols”
Allow me to ask questionsduring class and getresponses from everybody
Very useful in largelecture halls…
The bookstore has them(or will shortly)
It is required: there willbe grade penalty if youdo not get one
lg_response_cards_RF
14
Keeping the class interesting
Humor breaks
Actually helps with attention span!
Not surprisingly, most of it will be computer humor!
15
i3f102161c
Motivational postersMotivational posters
16
procrastination
idiocy
humiliation
Today’s demotivatorsToday’s demotivators
sacrifice-chess
17
Grading criteria
10% – Laboratory participation
However, if you miss more than labs, you are subject to failure forthe course
More on this in bit…
10% – Laboratory programming quizzes
30% – Homework assignments
30% – Midterms
21 February, 28 March, 25 April
20% – Final exam
Scheduled time is Friday, May from pm. to 10 pm
We will discuss conflicts as the semester progresses
APMA 310, MATH 111, 114, 121, and 122, and STAT 110
Will be following the standard 10-point curve scale
18
Grades
All grades will be kept online
Viewing your grades will be gone over in the first lab
All electronically submitted assignments (labs,HWs, lab quizzes) will be graded electronically
They are still graded by human, of course
You will receive an e-mail about your grade
Only the exams will be graded via paper
19
Grading critera
We reserve the right to modify the weighting,especially if attendance drops off significantly
Any such change will be announced in lecture
20
Regrades
When an assignment is graded, the gradingguidelines will be posted
If you feel you deserve more credit, you need tosubmit regrade
Paper-based for the exams
Electronically for labs, HWs, and lab quizzes
Regrades must be submitted within 10 (ten) days
More on regrades in the first lab
We reserve the right to possibly institute a“penalty” on “whiny” regrades
21
Homeworks
These are programming homeworks
We estimate or so of them
Are due at 10 a.m. on Friday
Late policy:
second late to 24 hours late: -25%
24 hours and second late: -100%
22
Labs
Will have one each week
Total of 11 (or so) throughout the semester
Lab attendance is REQUIRED
If you miss more than labs, you are subject to course failure forthe course
If you show up to different lab section without permission, itcounts as missing that lab
There ARE labs this first week
Lab grading will be discussed in the first lab
If you don’t finish the lab during lab period, you can finish it within thenext 24 hours
More details on this in the first lab
If for valid reason you are unable to do your lab, there will be amake-up lab on Sunday night, provided that you get permission prior toyour scheduled lab
23
Lab scheduling problems
expect about some students will switch into CS 101-E
Using last spring semester as guide
That will free up space in all the lab sections
then have to course action in the lab section 10 people
We will get everybody registered for lab section that fitstheir schedule
If you are not registered for lab section this week, youcan go to any lab
But only if you aren’t registered for any lab section!
24
Exams
There will be three midterms, all pledged
21 February, 28 March, 25 April (all are Wednesdays)
There will be three lab quizzes, all pledged
During lab sections the week of the midterms
The tests are going to be hard!
Final exam
Scheduled time is Friday, May from pm. to 10 pm
We will discuss conflicts as the semester progresses
APMA 310, MATH 111, 114, 121, and 122, and STAT 110
25
Home directory service
All assignments and lab files must be kept on yourhome directory
http://www.virginia.edu/homedir
26
My philosophy: hard but fair
Fairness is challenge in class of 375 students
If you feel something is not fair, you need to letme know
will do my best to correct it
If you think that this course is not hard, let meknow
will do my best to correct it
27
Who to contact
am not always the best person
easily get inundated with emails, as have hundreds ofstudents
The TAs can often answer question just as easily as Ican, and much quicker
There will be dedicated graduate TA for grading issues
Any administrative requests should be e-mailed tocs101@cs.virginia.edunot the instructors orTAs
Lab section switches, homework questions, etc.
Anything that does not need to be answered by theinstructors
28
Office hours
Office hours will be posted on the website
Note that changes to an individual week will be postedthere as well
Please check it before you head off to office hours!
There will be lot of TA office hours
We expect to provide over 50 office hours during givenweek
Please utilize them!!!
29
Feedback
It’s very good thing!
Feel free to leave us feedback
Can be done anonymously, if you wish
Via the Toolkit or the CS dept website
It’s hard for the instructors to know what thestudents think of the course…
30
Learning the material
There are number of ways we provide to help you learnthe material
Lecture
Lecture videos
Slides on the website
Programming homeworks
Labs
Textbook
Previous years’ tests
TAs (during labs or office hours)
Professors (office hours)
Fellow students
Find what works best for you and use it
31
Sections
CS 101
Students have little or no programming experience
Mandatory scheduled closed labs
Meets three times week (M/W/F 3:00-3:50)
CS 101-E
Students with programming experience
Open labs that are to be completed by scheduled time
Meets two times week (M/W 2:00-3:15)
CS 101-X
Is being run separately from 101/101-E
101 101-E students take same quizzes and tests, and do the sameassignments
The 10-point curve is the same for everybody
So helping your fellow students out does not hurt you
32
Differences with 101-E
Labs are done by all 101-E students on their own time
If you miss more than 2, you are still subject to failure
Labs due 8:30 p.m. on Sunday
Optional lab session for 101-E students Sunday at p.m.
Pace through the textbook is the same
They may go through it in more detail, though
The following is assumed for students in 101-E
You have taken course in programming
Thus, you know the basics of programming
You will need to sign pledge stating this
You did not get or on the AB level AP computer scienceexam, or on the level AP exam
33
Should you be in 101-E?
If you have had a semester’s worth ofprogramming, then yes
Stay to the end of this lecture, then start going tothe other section next time
Meets in MEC 205
34
End of lecture on 17January 2007End of lecture on 17January 2007