|
Computer Science 109:
| ||||
Princeton University |
final answers (also on Blackboard if you have trouble with access)
Old exams (also on Blackboard): 2008 final (answers) 2007 final (answers)
Lecture notes: 9/21 9/23 9/28-30 10/5-7 10/12 10/14 10/19 10/21 10/26-28 11/9 11/11 11/16 11/18 11/23-30 12/2 12/7-9 12/9-14 12/16
Old stuff: playlist lab schedule and rooms survey results Recaptcha Unicode code charts video with lots of numbers Andrew's Mac programs Nobel prize in physics lots of colors! binary converter learning about binary numbers Lab 2 pages Toy simulator Javascript examples Lab 4 web pages 2008 midterm (answers) 2007 midterm (answers) 2009 midterm answers final exam schedule Happy birthday, Internet GNU GPL Spring courses Intel 4004 The Feeling of Power Lab 6 grades public-key crypto in the comics Babbage in the news ATM checksum MP3 explanation network neutrality
Problem sets, labs and announcements will be posted only on the web page.
You are responsible for monitoring the web page frequently.
Course summary, schedule and syllabus
What was covered in 2008
Comparison of COS 109, 116 and 126
Office hours
Labs
Problem Sets
Exams
Lateness Policy
Collaboration Policy
Textbook
Bibliography
Computers, computing, and many things enabled by them are all around us. Some of this is highly visible, like laptops, phones and the Internet; much is invisible, like the computers in gadgets and appliances and cars, or the programs that fly our planes and keep our telephones and power systems and medical equipment working, or the myriad systems that quietly collect and share personal data about us.
Even though most people will not be directly involved with creating such systems, everyone is strongly affected by them. COS 109 is intended to provide a broad, if rather high level, understanding of how computer hardware, software, networks, and systems operate. Topics will be motivated by current events and concerns, and will include discussion of how computers work; what programming is and why it is hard; how the Internet and the Web operate; and how all of these affect security, privacy, property and other issues. We will also touch on fundamental ideas from computer science, and some of the inherent limitations of computers.
This course is meant for humanities and social sciences students who want to understand how computing works and how it affects the world they live in. No prior experience with computers is assumed, and there are no prerequisites. COS 109 satisfies the QR requirement.
The labs are complementary to the classroom work, though intended to reinforce the basic ideas. They will cover a spectrum of practical applications; two of the labs are a gentle introduction to programming in Javascript.
The course will have fundamentally the same structure as in previous
years, but lectures, case studies and examples change every year
according to what's happening. More and more of our private lives are
observed and recorded by business and government, sometimes with our
knowledge and consent. Microsoft and Google are duking it out with each
other on technical and legal fronts, and with a variety of governments.
Skirmishes in the forever war between students and the entertainment
industry affect Princeton students all the time. The careless, the
clueless, and the criminal continue to do bad things with technology.
What could possibly go wrong? Come and find out.
Sep 21, 23:
Introduction. What's in a computer
Sep 28, 30:
How does it work. Representation of information
Oct 5, 7:
What the components are and how they are made
Oct 12, 14:
Software and algorithms
Oct 19, 21:
Languages, programming; Javascript
Oct 26, 28:
Javascript. Operating systems
[fall break]
Nov 9, 11:
File systems, databases. Applications.
Nov 16, 18:
Networks & communications, Internet
Nov 23, 25:
World Wide Web
Nov 30, Dec 2: Threats; security and privacy
Dec 7, 9:
Cryptography; Compression & error detection.
Dec 14, 16:
Intellectual property. Case studies. Wrapup
[winter break]
Jan 17:
Q/A session. (Depending on interest, we might arrange for two sessions.)
Jan 21: Final exam, Thursday, January 21, 1:30 pm, Friend 101
Professor:
Brian Kernighan,
311 CS Building, 609-258-2089,
bwk at cs dot princeton dot edu
Schedule
S M Tu W Th F S
Sep 20 21 22 23 24 25 26 first class
27 28 29 30
Oct 1 2 3 problem set 1 due; lab 1 due
4 5 6 7 8 9 10 problem set 2 due; lab 2 due
11 12 13 14 15 16 17 problem set 3 due; lab 3 due
18 19 20 21 22 23 24 problem set 4 due; lab 4 due
25 26 27 28 29 30 31 takehome midterm due 5pm (no lab or problem set)
Nov 1 2 3 4 5 6 7 fall break
8 9 10 11 12 13 14 problem set 5 due; lab 5 due
15 16 17 18 19 20 21 problem set 6 due; lab 6 due
22 23 24 25 26 27 28 Thanksgiving
29 30
Dec 1 2 3 4 5 problem set 7 due; lab 7 due
6 7 8 9 10 11 12 problem set 8 due; lab 8 due
13 14 15 16 17 18 19 last class
20 21 22 23 24 25 26 winter break
27 28 29 30 31
Jan 1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23 final exam 1:30 Friend 101
24 25 26 27 28 29 30
Syllabus
This will evolve over the semester, so check it out from time to time.
Administrative Information
Teaching Assistants and office hours:
Connelly Barnes (csbarnes), CS 418B, Mon 1:30-2:30
Melissa Carroll (mkc), CS 413, Wed 1:30-2:30
Sean Gerrish (sgerrish), CS 413, Fri 1:30-2:30
Send mail to cos109@princeton.edu with any questions any time.
Regular class attendance is expected and class participation helps. Frequent absences are grounds for a failing grade regardless of other performance. |
I won't absolutely prohibit the use of laptops in class unless they become a problem, but I would be most grateful if you could use computers and phones for course-related activities like following the notes, rather than for email, chat, YouTube, Twitter, Google, solitaire, poker, eBay, Facebook, or similarly compelling distractions. (Additions to this list are welcome; I can't keep up.)
There will be eight labs to give hands-on practice in important aspects of computing. The labs are designed to be easily completed within three hours, if you have read through the instructions beforehand, which should take at most an hour. Undergrad lab assistants will be available to help out during scheduled lab sections. Labs are held in the Friend Center; they can be done in dorm rooms or campus clusters, but there will be lab assistants in Friend, and no help elsewhere.
Labs are together worth about 20 percent of the course grade. To receive credit, students must complete labs by midnight Friday of the week they are assigned, unless there are extraordinary circumstances.
Labs start the second week of classes. There will be no labs in the week before fall break, Thanksgiving week, or the last week of classes. Lab sessions are PROBABLY Monday through Friday at 1:30 and 7:30 somewhere in the Friend Center.
Eight weekly problem sets, together worth about 20 percent of the course grade, will be assigned. Problems are intended to be straightforward, reinforcing material covered in class and providing practice in quantitative reasoning, and should take 1-2 hours to complete.
Problem sets will be due by 5:00 PM Wednesday, one week after they are assigned. Turn in solutions in the box outside room 311 on the third floor of the CS building, or at the beginning of class. There will be no problem set due in the week before Fall break (midterm instead), Thanksgiving week, or the last week of the term. Only minimal credit will be given for late submissions unless there are extraordinary circumstances, and in no case after solutions have been posted or discussed in class.
For both labs and problem sets, extracurricular activities and heavy workloads in other classes don't count as "extraordinary", no matter how unexpected or important or time-consuming. And I am unsympathetic to the appeal that "this is my fifth class," since the same could be said of any one of the others.
Nevertheless, everyone gets truly behind from time to time. In recognition of this, you are allowed two late submissions (no more than 4 days late in each case). Please let us know ahead of time that you will be submitting late so we can keep track.
You must complete all labs and assignments to pass the course.
You are encouraged to collaborate on problem sets, but you must turn in
separate solutions; the names of all collaborators must appear on each
submission.
(This elaboration of the policy on collaboration is paraphrased from
COS 126:) You must reach your own understanding of the problem and
discover a path to its solution. During this time, discussions with
friends are encouraged. However, when the time comes to write down the
solution to the problem, such discussions are no longer appropriate --
the solution must be your own work, so you must work on the written
assignment on your own. If you have a question, you can certainly ask
friends or teaching assistants, but do not, under any circumstances,
copy another person's work or present it as your own. This is a
violation of
academic regulations.
Another way to look at this: If I asked you to explain how you got
your answer, you would have no trouble doing so, because you understood
the material completely.
There may well be short, unannounced, in-class quizzes to verify
your existence and test your understanding. These could be worth 5-10
percent of the course grade.
A take-home, open-book midterm examination will be given during the
week before fall break. It will cover material presented and discussed
in class and any relevant reading through the end of the fifth week of
classes. It will be worth 20 percent of the course grade.
An open-book final examination will be given during the January
exam period. It will cover all of the relevant readings and material
presented and discussed in class. It will be worth 35-40 percent of the
course grade.
There will be question and answer sessions before exams. These are
not meant to be an orderly review and are not a substitute for missed
lectures, but they are a chance for you to ask questions about course
material.
Sorry: no collaboration on take-home exams or the final.
If you do poorly on the midterm but much better on the final, I will
weight the final more heavily than usual, so a poor midterm grade is not
fatal at all. But you must do acceptably well on the final exam;
students who cannot answer even half the questions on the final should
not expect to do well.
Don't forget that P/D/F has three possible outcomes, only one of
which is good. Attending lectures, paying attention and participating,
turning work in on time, coming to office hours, studying for exams, and
attending q/a sessions all help to avoid unpleasant results.
There is no assigned text for this course since I have never found
anything that seems right. Notes and readings will be posted online.
The weekly readings are for background, context, general education,
and/or entertainment; you are not expected to know the detailed
content, but you should understand the basic ideas.
I have half a dozen books that purport to cover the same kinds of
areas as the course. None feels right to me, but among them there is
coverage of many class topics, so you might find it helpful to browse in
them a bit. Available for short term loans; drop in to take a look.
Meanwhile, check out the bibliography for other
suggestions.
Collaboration Policy:
Examinations:
Comments on Grades:
Textbook and Readings: