Announcements
-
Most announcements will be on EdSTEM.
Class Info
Class: Monday/Wednesday, 10:30 AM - 11:45 AM, Singer 222
Professor: Dr. Ranysha Ware
Office: Martin 338
Office hours: Monday 3:00 PM - 4:30 PM (Martin 328), Thursday 1:00 PM-2:00 PM (Martin 338)
Q&A Forum: EdSTEM
GitHub: Swarthmore GitHub Enterprise
Grades: Grades will be posted on Moodle and Gradescope
Textbook: Accessible via TAP+ on Moodle
Weekly Lab Sessions: Martin 327
Section A |
Tuesday 1:05 PM - 2:35 PM |
Section B |
Tuesday 2:45 PM - 4:15 PM |
Welcome to CS 43. This course will introduce fundamental ideas in computer networks. The structure of this course may be different from many other CS courses at Swarthmore. We’ll be using a teaching model called peer instruction, which places a strong emphasis on classroom discussion and student interaction.
The course is composed of the following:
-
Readings: The readings serve as a first exposure to new topics, where students learn the basics of the material. Reading quizzes (closed-book) using clickers at the beginning of lecture will test a high level understanding of the reading.
-
Class meetings: The classroom material will cover the difficult concepts and facilitate student discussions.
-
Labs: Several lab programming assignments (mostly in C) explore various aspects of network applications.
-
Quizzes: Weekly quizzes (closed-book) will cover the material from the previous 2 weeks.
-
Final exam: The final exam (closed-book) will cover the material from entire course and labs.
Materials
iClicker (Required)
iClickers: This course will use iClickers to facilitate feedback and discussion during class. For many upper level courses including CS 43, clicker will commonly be used in class. Clickers may be purchased at the college bookstore or online. Please register your device as soon as you get it. You must register to get points for class participation and reading quizzes. We will begin using clickers for credit at the start of week 2!
Textbook (Required)
Computer Networking: A Top-Down Approach by Kurose and Ross. ISBN-13: 978-0135429334 We will be using the Ninth Edition. The electronic version of the textbook is available via the course Moodle page.
Other Resources
Links that are related to the course may be posted here.
Learning Goals & Outcomes
By the end of the course, we hope that you will have developed the skills to:
-
Refine C programming skills in the context of systems design, development, and debugging.
-
Classify network functionality into the appropriate abstraction layer.
-
Characterize the behavior of popular network applications and protocols (HTTP, SMTP, DNS, etc.).
-
Construct distributed applications using various concurrency models.
-
Design and analyze network application protocols.
-
Identify the role of transport protocols in providing reliability and high performance.
-
Implement routing algorithms and analyze routing protocols.
-
Compare and contrast switching and forwarding platforms.
-
Test and debug networked applications.
Lab Schedule
Please familiarize yourself with the course’s partnership expectations before starting the lab. See the lab policy for details.
All labs are due 11:59 pm ET on the due dates shown. Labs are due on Monday evenings.
| Weeks | Lab Topic | Out | Due |
|---|---|---|---|
1 |
Tue Sep 2 |
Tue Sep 8 |
|
2-3 |
Lab 1: A Basic Web Client |
Tue Sep 8 |
Mon Sep 21 |
4-5 |
Lab 2: A Concurrent Web Server |
Tue Sep 22 |
Mon Oct 5 |
6-7 |
Lab 3: Talking to DNS |
Tue Oct 6 |
Mon Oct 26 |
8-10 |
Lab 4: Designing a Jukebox Protocol |
Tue Oct 27 |
Mon Nov 16 |
11-12 |
Lab 5: Reliable Transport |
Tue Nov 17 |
Mon Nov 30 |
13. |
Lab 6: Network Performance |
Tue Dec 2 |
Mon Dec 7 |
Quiz Schedule
Quizzes are closed book and will be 15-20 minutes covering the content from the previous week. See the quiz policy for details.
| Week | Quiz Topic | Date |
|---|---|---|
2 |
Quiz 1: Covers topics from week 1 quizzes.html#_quiz_1[study guide] |
Wed Sep 9 |
3 |
Quiz 2: Covers topics from week 2 |
Wed Sep 16 |
4 |
Quiz 3: Covers topics from week 3 |
Wed Sep 23 |
5 |
Quiz 4: Covers topics from week 4 |
Wed Sep 30 |
6 |
Quiz 5: Covers topics from week 5 |
Wed Oct 7 |
7 |
Quiz 6: Covers topics from week 6 |
Wed Oct 21 |
8 |
Quiz 7: Covers topics from week 7 |
Wed Oct 28 |
9 |
Quiz 8: Covers topics from week 8 |
Wed Nov 4 |
10 |
Quiz 9: Covers topics from week 9 |
Wed Nov 11 |
11 |
Quiz 10: Covers topics from week 10 |
Wed Nov 18 |
12 |
Quiz 11: Covers topics from week 11 |
Wed Nov 25 |
13 |
Quiz 12: Covers topics from week 12 |
Wed Dec 2 |
Class Schedule
This is a tentative schedule; it may change as we go. You should read the assigned sections before class to prepare for class discussion points. All readings refer to the Kurose and Ross textbook unless otherwise indicated (e.g., there’s a link to some other source).
To access the recordings, you’ll need to be signed in to your @swarthmore.edu Google account.
| Week | Date | Topic & In-class Worksheets | Readings & Videos | Labs & Quizzes |
|---|---|---|---|---|
1 |
Aug 31 |
Couse Introduction [post-lecture slides] Please complete Assignment 0 before class. |
Optional: K&R: 1.1 |
|
Sep 1 |
Lab 0 Introduction [slides] |
Lab 0 (due Sep 8) |
||
Sep 2 |
Protocols and Layering [post-lecture-slides] |
1. K&R: 1.1, 1.5 |
Policy Quiz due |
|
2 |
Sep 7 |
Labor Day |
||
Sep 8 |
Lab 1 (due Sep 21) |
|||
Sep 9 |
Quiz 1: Covering Week 1 topics The Application Layer: HTTP Sockets |
1. K&R 2.1.1, 2.1.2, 2.1.5 2. K&R 2.2.1, 2.2.2, 2.2.3 3. Try Telnet! |
Quiz 1 |
|
3 |
Sep 14 |
HTTP Sockets Cntd. |
||
Sep 15 |
Lab 1 Cntd. |
|||
Sep 16 |
Quiz 2: Covering Week 2 topics The Application Layer: Socket Programming: Concurrency & Non-blocking I/O |
K&R: 2.1 and 2.2 |
Quiz 2 |
|
4 |
Sep 21 |
The Application Layer: Concurrency Cntd. |
No Reading |
|
Sep 22 |
Lab 2 (due Oct 5) |
|||
Sep 23 |
Quiz 3: Covering Week 3 topics The Application Layer: Distributed Systems and The DNS Protocol |
2. Your Coffee Shop Does not use two-phase commit Optional Readings: |
Quiz 3 |
|
5 |
Sep 28 |
The Application Layer: Domain Name System |
1. K&R: 2.4 Optional Readings: |
|
Sep 29 |
Lab 2 Ctnd. |
|||
Sep 30 |
Quiz 4: Covering Week 4 topics DNS and Email |
K&R 2.3 |
Quiz 4 |
|
6 |
Oct 5 |
No reading |
||
Oct 6 |
Lab 3(due Oct 26) |
|||
Oct 7 |
Quiz 5: Covering Week 5 topics P2P and BitTorrent |
K&R 2.5 |
Quiz 5 |
|
Fall Break |
||||
7 |
Oct 19 |
Video Streaming and CDNs |
K&R 2.6 |
|
Oct 20 |
Lab 3 Cntd. |
|||
Oct 21 |
Quiz 6: Covering Week 6 topics The Transport Layer: Transport Services and UDP |
K&R 3.1, 3.2, 3.3 |
Quiz 6 |
|
8 |
Oct 26 |
The Transport Layer: UDP and Reliable Transport |
K&R 3.5.1 to 3.5.4 |
|
Oct 27 |
Lab 4 (Due Nov 16) |
|||
Oct 28 |
Quiz 7: Covering Week 7 topics The Transport Layer: TCP and Flow Control |
K&R 3.4.3, 3.4.4, 3.5.5 Additional resources: |
Quiz 7 |
|
9 |
Nov 2 |
The Transport Layer: TCP and Flow Control |
1. K&R 1.4, 2. 3.6.1, 3.7.1, 3.7.3 |
|
Nov 3 |
Lab 4 Ctnd. |
|||
Nov 4 |
Quiz 8: Covering Week 8 topics The Transport Layer: TCP, Flow Control, and Congestion Control |
Same readings as above |
Quiz 8 |
|
10 |
Nov 9 |
The Network Layer: Introduction |
K&R 4.1, 4.2.1, 4.3.1 |
|
Nov 10 |
Lab 4 Ctnd. |
|||
Nov 11 |
Quiz 9: Covering Week 9 topics The Network Layer |
K&R 4.3.2, 4.3.3, 4.3.4, 5.6 |
Quiz 9 |
|
11 |
Nov 16 |
The Network Layer: IP Glue: DHCP, NATs, IPv6, ICMP |
Same reading as above |
|
Nov 17 |
Lab 5 (due Nov 30) |
|||
Nov 18 |
Quiz 10: Covering Week 10 topics The Network Layer: IPv6, ICMP, Routing Algorithms |
K&R 5.1, 5.2, 5.3 |
Quiz 10 |
|
12 |
Nov 23 |
The Network Layer: Intradomain Routing Cntd. and IPv6, NATs, ICMP |
Same readings as above |
|
Nov 24 |
Lab 5 Cntd. |
|||
Nov 25 |
Quiz 11: Covering Week 11 topics The Network Layer: BGP: Border Gateway Protocol and Policies |
K&R 5.4 |
Quiz 11 |
|
13 |
Nov 30 |
Link Layer |
K&R 6.1 - 6.4 |
|
Dec 1 |
Lab 6 |
|||
Dec 2 |
Quiz 12: Covering Week 12 topics Link Layer: Ethernet |
Same as readings above |
Quiz 12 |
|
14 |
Dec 7 |
TBD |
||
Dec 8 |
Thursday Schedule |
|||
Dec 9 |
Friday Schedule |
|||
Final Exam: TBD |
||||
Assessment Policies
Class Policy and Participation
Your class participation grade will be based on the following:
-
Pre-class reading quizzes: (5%) This course will have readings and pre-recorded class videos you are required to review before class. A short, 1-3 question (closed book) quiz in will be due at the beginning of each lecture when there was was assigned reading. These quizzes are graded for correctness.
-
Attendance, in-class worksheets and polls: (5%) Attendance is required in both lecture and lab. In class we will use peer instruction. You will complete polls throughout lecture and you will be asked to participate in discussion and somtimes complete worksheets. Worksheets and polls are not graded for correctness.
Quiz Policy
Starting Week 2, quizzes on paper (closed-book) are given at the beginning of class every Wednesday lecture. Arrive promptly to ensure you do not lose time on the quiz. Quizzes will cover the topics from the previous week’s content and will typically be 15-20 minutes. If you need to miss a quiz, contact Prof. Ware as soon as possible, and please see the Absence Policy.
Lab Policy
This course features regular lab assignments that account for the largest component of your course grade. Lab attendance is required by all students, unless you have already completed and submitted the lab assignment for the week.
Lab Due Dates
Lab assignments will typically be assigned during the lab sections on Tuesday will generally be due by midnight on Monday 1-2 weeks later. The assignments for this course are designed to expose you to real-world systems. They are probably going to be more complex than most other course related work. You are strongly encouraged to start early! If you can get in the habit of starting early you will be much better off.
Lab Partnerships
For this course, there will be 1 individual lab, and 6 paired labs. You may choose your own lab partner for each lab, there will be a Edstem post to record your choice the week before the lab is out. If you have not chosen a lab partner by Friday the week before, one will be assigned to you partner for you.
Working with Partners: For partnered lab assignments, you should follow these guidelines:
-
The expectation is that you and your partner are working together side by side, virtually, for most, if not all, of the time you work on partnered lab assignments. You and your partner should work on all aspects of the project together: initial top-down design, incremental testing and debugging, and final testing and code review.
-
If you are pair programming, where one of you types and one of you watches and assists, then you should swap roles periodically, taking turns doing each part. There may be short periods of time where you each go off and implement some small part independently. However, you should frequently come back together, talk through your changes, push and pull each other’s code from the git repository, and test your merged code together.
-
You should not delete or significantly alter code written by your partner when he or she is not present. If there is a problem in the code, then meet together to resolve it. If there is any issue with the partnership, please contact Prof. Ware.
Partnerships where partners work mostly independently rarely work out well and rarely result in complete, correct and robust solutions. Partnerships where partners work side-by-side for all or most of the time tend to work out very well.
You and your partner are both equally responsible for initiating scheduling times when you can meet to work together, and for making time available in your schedule for working together.
Absence / Assignment Extension Policy
To help with cases of minor illnesses, or other short-term time limitations, we will drop your three lowest reading and participation grades. You are still responsible for the material, and you should review any missed materials via the class recordings as soon as you can.
Each student may use up to 2 late days for the semester, no questions asked. Late days do not apply to lab checkpoints, reading quizzes, or participation grades. A late day is a considered a full 24-hours (i.e., 15 minutes late is the same as 23 hours late). In the case of labs, late days are counted against all lab partners.
In the rare case in which only one partner has unused late days, the partnership can use the late days, barring a consistent pattern. If you continuously find yourself needing late days on the assignment, please reach out to your Professor to discuss this.
To use your extra time, you must email your professor after you have completed the lab and pushed to your repository. You do not need to inform anyone ahead of time. When you use late time, you should still expect to work on the newly-released lab during the following lab section meeting. The professor will always prioritize answering questions related to the current lab assignment.
If you feel that you need an extension on an assignment or that you are unable to attend class for two or more meetings due to a medical condition (e.g., extended illness, concussion, hospitalization) or other emergency, you must contact the dean’s office and your instructors. Faculty will coordinate with the deans to determine and provide the appropriate accommodations.
Grading
Grades will be weighted as follows:
38% |
Lab assignments - 6 (6% each, Lab 4 is 8%) |
30% |
Quizzes - 12 (2.5% each, lowest dropped) |
22% |
Final Exam |
10% |
Class Participation (5% reading, 5% in-class) |
The lowest quiz grade will be dropped.
Semester grades will be assigned using a standard scale, as will each quiz, lab assignment, and final exam, as such: A+ 97–100% A 93–96% A− 90–92% B+ 87–89% B 83–86% B− 80–82% C+ 77–79% C 73–76% C− 70–72% D+ 67–69% D 63–66% D− 60–62%
By default, grades round up to the next letter (so 89.50 is an A, and 89.49 is a B, but this does not apply to 's, so 86.5 is a B and not a B).
Inclusion Statement
Diversity, inclusion, and a mutual sense of belonging are all core values of this course. All participants in this course must be treated with respect by other members of the Swarthmore CS community. We must all strive, students and faculty both, to never make anyone feel unwelcome or unsafe in any way. Violations of these principles are viewed as unacceptable, and we take them very seriously. If you ever feel discriminated against or otherwise excluded, no matter how minor the offense, we encourage you to reach out to Prof. Ware or campus non-discrimination contacts.
How to Succeed in CS 43
-
Attend class.
Class attendance is mandatory. In class, we will do a deep dive into the more challenging details of the material. Example case-studies in class will directly contribute to your ability to complete labs and quizzes. -
Do the required readings/listen to videos before you come to class.
In-class group participation will carry grades, so please come prepared with your readings and videos. This will make for an interesting and lively debate in class. -
Prepare for quizzes using the study guides.
-
A study guide is posted before each quiz listing what you should be able to do. Treat each item as a task to practice, not a topic to recognize: if it says "trace" or "calculate," work through an example. Many items link to interactive practice problems from the textbook authors that give you immediate feedback. Use them.
-
The final exam study guide is cumulative and includes everything from the weekly guides. If you have kept up, preparing for the final is review rather than relearning.
-
-
Ask questions if you don’t understand.
-
This means both during class and while doing lab assignments.
-
This class continually builds on previous material, so if you don’t understand something one week, it will continue to be a problem the next week, and the week after that, and so on.
-
If you need help, ask your classmates (make sure you have read the "Academic Integrity" section below first), post on {edstemurl}[EdStem], or come talk with me during my office hours.
-
-
Start the lab assignments early.
-
The assignments for this course are designed to expose you to real-world systems. They are probably going to be more complex than most other assignments from earlier courses.
-
Get in the habit of starting early you will be much better off. If you get stuck on a lab issue early (i.e., not two hours before it is due), there will be time to look for help.
-
In addition, if you start early enough, you can take a break, go do something else, and come back later. I find I always have at least a few new ideas when I come back to a problem after a break. If you wait until the last minute, you can’t do this.
-
-
Completing your labs.
The only effective way to learn the material and consistently do well in the labs is to get into the regular habit of: Discussing the top-down design of your code with your lab partner, before you start coding. Writing descriptive function comments as you go along. ** Incrementally coding and testing with GDB and Valgrind.
+ This process, will make you a sought after computer scientist once you graduate.
-
Attend CS43 Labs.
Lab Attendance is mandatory, and the labs constitute a large portion of your grade. You should be there! -
Seek help early and often.
Because course material builds on previous material, it is essential to your success in this class that you keep up with the course material. If you are having difficulty with a programming assignment, if you didn’t follow something covered in class, if you feel you need some extra help understanding or practicing some of the course material, or if you just want to discuss something from a class, an assignment, or the text, please come to office hours.
Academic Integrity
Academic honesty is required in all your work. Under no circumstances may you hand in work done with (or by) someone else under your own name. Your code should never be shared with anyone; you may not examine or use code belonging to someone else, nor may you let anyone else look at or make a copy of your code. This includes, but is not limited to, obtaining solutions from students who previously took the course or code that can be found online. You may not share solutions after the due date of the assignment or make them publicly available anywhere (e.g. public GitHub repository).
Discussing ideas and approaches to problems with others on a general level is fine (in fact, we encourage you to discuss general strategies with each other), but you should never read anyone else’s code or let anyone else read your code. All code and written homeworks you submit must be your own with the following permissible exceptions: code distributed in class, code found in the course text book, and code worked on with an assigned partner. In these cases, you should always include detailed comments at the top of your files indicating on which parts of the assignment you received help, and what your sources were.
Generative AI (e.g., ChatGPT, Claude, GitHub Copilot, or other variants): Unless a specific assignment states otherwise, you may not use generative AI to produce any part of your submitted work. This is considered to be unauthorized collaboration with another source and is a violation of our academic integrity policy. This includes writing, completing, translating, or debugging code you submit, and drafting written answers. Editor autocomplete features powered by AI must be turned off while working on lab assignments.
You may use search engines or reference manuals to look up syntax, explain a concept, interpret a man page, or understand an error message. Search engines now display AI-generated summaries automatically; reading one
that appears in your search results is not a violation. Prompting an AI tool
with your code, your error output, or an assignment question is.
I will meet with each lab pair atleast once during the semester to talk through your code. You should both be able to explain how your implementation works and why you made the choices you did.
Failure to abide by these rules constitutes academic dishonesty and will lead to a hearing of the College Judiciary Committee. According to the Faculty Handbook:
The spirit of this policy applies to all course work, including code, homework solutions (e.g., proofs, analysis, written reports), and exams. Please contact Prof. Ware if you have any questions about what is permissible in this course.
Exam Integrity
Students must strictly adhere to the following policy, which applies to all quizzes and exams taken in a Computer Science course at Swarthmore:
Exam takers must place all non-essential items at the front of the room (or other designated area). Unless otherwise permitted, students may not have any electronic devices or course materials in their possession during the entirety of the exam. This includes cell phones, tablets, laptops, smart watches, course notes, articles and books, among others. These items should be placed at the front of the room near the proctor. If you need to leave the room during the exam, you must obtain permission from an instructor first. Any non-permitted discussion or aide in regards to exam material will result in immediate forfeiture of the exam and a report to the College Judiciary Committee. Please discuss any concerns or accommodations with your instructor prior to starting the exam.
Academic Accommodations
If you believe you need accommodations for a disability or a chronic medical condition, please visit the Student Disability Services website for details about the accommodations process. Since accommodations require early planning and are not retroactive, contact Student Disability Services as soon as possible. You are also welcome to contact Prof. Ware privately to discuss your academic needs. However, all disability-related accommodations must be arranged, in advance, through Student Disability Services.
To receive an accommodation for a course activity you must have an official Accommodations Letter and you need to meet with Prof. Ware to work out the details of your accommodation at least two weeks prior to any activity requiring accommodations.
You are also welcome to contact Prof. Ware, privately to discuss your academic needs. However, all disability-related accommodations must be arranged, in advance, through Student Disability Services