The fundamental concepts of computer science, with an emphasis on Python programming.
Dr. Peilong Li
Esbenshade 284B
By email
4
The fundamental concepts of computer organization, machine-level representation of data, algorithmic development and structured programming are presented with an emphasis on the syntactic and execution characteristics of the Java programming language, including data types; arithmetic operators and assignment; input/output, selection and iteration constructs; procedural abstraction; arrays; object-oriented programming and class design; and library usage.
By the end of the course, students will be able to:
Note this tentative schedule is subject to change. Please check the schedule regularly.
| Week | Starting | Topics | Reading | Notes |
|---|---|---|---|---|
| 1 | 8/23/21 | M: Lec1 - Course Intro & Computer Science | ||
| W: Lec2 - Demo of Course Tools & First Program | Week1-1 | |||
| F: Lec3 - Values, Data Types and Operations | Week1-2 | |||
| 2 | 8/30/21 | M: Lec4 - Function Calls & Type Conversion Functions | Week2-1 | |
| W: Lec5 - Variables & Input | Week2-2 | |||
| F: Lab 1 | Week2-3 | |||
| 3 | 9/6/21 | M: Labor Day - No Classes | Project 1 out. | |
| W: Lec6 - Debut of Turtle & OOP Concepts | Week3-1 | |||
| F: Lec7 - A Herd of Turtles & More Turtle Methods | Week3-2 | |||
| 4 | 9/13/21 | M: Lec8 - Repetition with a for Loop | Week4-1 | |
| W: Lec9 - Boolean Expressions, Logical Operators | Week4-2 | |||
| F: Lab 2 | Week4-3 | |||
| 5 | 9/20/21 | M: Lec10 - Conditional Execution | Week5-1 | Project 1 due. Project 2 out. |
| W: Lec11 - The Listener Loop: while Loops | Week5-2 | |||
| F: Lec12 - Functions (1) | Week5-3 | |||
| 6 | 9/27/21 | M: Lec13 - Functions (2) | Week6-1 | |
| W: Lab 3 | Week6-2 | |||
| F: Fall Break - No Classes | ||||
| 7 | 10/4/21 | M: Dr. Li on leave | Week7-1 | |
| W: Midterm Review | Week7-2 | |||
| F: Midterm Exam | ||||
| 8 | 10/11/21 | M: Lec14 - Strings | Week8-1 | Project 2 due. Project 3 out. |
| W: Lec15 - Lists | Week8-2 | |||
| F: Lec16 - Tuples | Week8-3 | |||
| 9 | 10/18/21 | M: Lec17 - Iteration and Accumulation | Week9-1 | |
| W: Lab 4 | Week9-2 | |||
| F: Lab Test 1 | ||||
| 10 | 10/25/21 | M: Lec18 - Pandas DataFrames | Week10-1 | Project 3 due. Project 4 out. |
| W: Lec19 - DataFrame Operations (1) | Week10-2 | |||
| F: Lec20 - DataFrame Operations (2) | Week10-3 | |||
| 11 | 11/1/21 | M: Lec21 - Pandas Data Visualization | Week11-1 | |
| W: Lec22 - Data Visualization using Seaborn | Week11-2 | |||
| F: Lec23 - Data Visualization using Seaborn (2) | Week11-3 | |||
| 12 | 11/8/21 | M: Lec24 - Pandas Exercises | Week12-1 | Project 4 due. Project 5 out. |
| W: Lab 5 | Week12-2 | |||
| F: Lab Test 2 | ||||
| 13 | 11/15/21 | M: Lec25 - OOP Classes and Objects | Week13-1 | |
| W: Lec26 - Methods, Mutators, Accessors | Week13-2 | |||
| F: Lec27 - OOP Exercises | Week13-3 | |||
| 14 | 11/22/21 | M: Lec28 - Algorithms & Big O | Week14-1 | |
| W: Lab 6 | Week14-2 | |||
| F: Thanksgiving Break - No Classes | ||||
| 15 | 11/29/21 | M: Final Exam Q&A | All | Project 5 due. |
| W: Final Exam Q&A | All | |||
| F: Final Exam Q&A | All | |||
| 16 | 12/6/21 | Final Exam: TBD | ||
The final grade for this course depends upon the grades and scores earned on course components weighted as follows:
Grades will be computed by rounding numerical percentages to the nearest integer and applying the following table:
| Letter | Range | Letter | Range | Letter | Range |
|---|---|---|---|---|---|
| A | 93-100 | B- | 80-82 | D+ | 67-69 |
| A- | 90-92 | C+ | 77-79 | D | 63-66 |
| B+ | 87-89 | C | 73-76 | D- | 60-62 |
| B | 83-86 | C- | 70-72 | F | 0-59 |
All labs are to be done individually, in class, with the assistance of the instructor. Each assignment will be given near the beginning of a class and must be uploaded to Canvas before the due time. Some of the labs allow for late submission till midnight with late penalty, but no submission is allowed beyond the lab day. Submissions beyond midnight the same day will not be accepted. To receive full credit, a programming assignment must compile, but partial credit will be awarded based on the understanding of the material demonstrated by the student’s code.
All reading and coding homework assignments have to be completed individually in this course. All the bi-daily homework will be released at the beginning of the semester. Each homework has a due date that is the day before the class day. For example, “Reading Week 2-1” is due on Sunday 8/29 11:59 PM, the night before the Monday's class. Students are welcomed to finish the assignments ahead of the scheduled deadline, but no late submission is allowed.
All projects are team projects in this course. For each project, students must form a team of 2 members. Teams are responsible for dividing their workload and meeting offline for at least 3 times for each project. Documented meeting minutes have to be submitted as part of the deliverable. Students should select their teams by using the Groups tab under People, on the Canvas webpage.
Teams are responsible for dividing their workload. Except under extreme circumstances, all members of the team will receive the same grade for each project. One member of each team is designated the leader. The files for each project should be zipped up and uploaded by the team leader using Canvas before the due date. Projects must not be stored in a public folder. All project submissions must follow the provided file name requirements or risk a score of 0. If the project does not compile, the student will receive a score of 0.
Projects will be graded based on the following criteria:
In general, projects will be graded with the diff utility. For that reason, it is imperative that project output matches sample output to the character.
Only project is allowed to submit late. Late submissions will lose points per day, including weekends and holidays. For example, -1 after 1 day, -2 after 2 days, -4 after 3 days … until 8+ days students will receive 0 score. Under no circumstances should any student disclose their code, or copy the code written by other students or from an outside source. Both students will receive 0 score on the disclosed/copied assignment.
Grading rubrics for code submission in terms of percentage:
Jupyter notebooks are the files you need to submit for labs and homework assignments.
Thorough engagement with each section of the reading. Each exercise has either been completed, or you have articulated a well-thought out set of questions for each of the problems you didn't answer. Points will be deducted from 100% for the following reasons:
Writing will be evaluated for clarity, concision, and comprehensiveness. The particular style that you should use will depend on the assignment and your audience. The bottom line is don't cut corners with writing in this class. Your ability to communicate what you have done is just as important as what you have done. Don't make the mistake of spending all of your time writing code, and then rush through the writing parts of the assignment. See below for some stylistic guidance.
The most up-to-date course schedule will be posted on course website schedule page: https://peilong.github.io/courses/cs121/schedule/. Students are responsible for checking the schedule regularly. Schedule page will include: 1) teaching topics for each meeting; 2) reading assignments for each day and 3) reminders on specific days.
All course announcements will be sent to your Etown email accounts via Canvas Announcements. You are responsible for signing up for this service and checking your emails regularly.
Every student should have received my invitation to join our team “CS121-FA2021” on Microsoft Teams. Discussions are encouraged to be posted on the “QA” channel of the team. Private instant messages can be sent directly to your recipient, e.g. the instructor.
Missing my email to join Teams? Click this link again.
Attendance is expected of every student at every lecture. Students are responsible for all content covered in class as well as assigned book chapters. Due to their nature, pop quizzes cannot be made up.
Except in the case of documented emergencies, neither exams nor in-class labs can be made up afterwards. For excused absences, students must arrange to take the exam or do the lab before the normally scheduled time. Arrangements must be made with the instructor at least two weeks prior to the scheduled time.
Students are expected to maintain an attitude of respect at all times toward their colleagues, the equipment, and the instructor. Students are expected to refrain from using the computers for non-course related purposes during class time and will be penalized 1% of the final grade for each occurrence. Cell phones and similar devices should be turned off before entering the classroom. Students who use offensive language, misuse computing facilities, or are otherwise disruptive of the classroom will be asked to leave.
In the event that classes do not meet because Elizabethtown College is closed or delayed due to inclement weather or some other emergency, the slides that would have been covered during the missed classes will posted through Piazza group. Students are expected to do the assigned reading, review the slides, and e-mail the instructor with any questions. There will also be an opportunity to ask questions about the material when classes resume.
If a scheduled exam or lab is missed, it will normally be made up on the day that classes resume. If the College is closed on a day when a project is due, the project due date will also normally be extended until the day when classes resume. If circumstances render either of these makeup policies unreasonable, the instructor will send an e-mail explaining an alternative makeup opportunity to each student’s Elizabethtown e-mail account.
Please refer to the Student Handbook for the college’s policy. All projects and assignments must be completed by students individually, without assistance from anyone other than the instructor. Students can discuss the course material with each other at a conceptual level, but each student must do his or her own work. For projects, exams, and all other activities in the course, students are expected to act according to the official policy on academic dishonesty and the highest standards of personal integrity.
The first infraction of academic honesty in this course will carry a penalty of a 0 for the project, lab, or exam in question and a reduction of a full letter grade in the final grade. If a second infraction occurs, the students involved will fail the course, and the instructor will seek the maximum penalty possible under the college’s regulations, up to and including expulsion.
Full statement can be found at link. Elizabethtown College welcomes otherwise qualified students with disabilities to participate in all of its courses, programs, services, and activities. If you have a documented disability and would like to request accommodations in order to access course material, activities, or requirements, please contact the Director of Disability Services, Lynne Davies, by phone (361-1227) or e-mail daviesl@etown.edu. If your documentation meets the college’s documentation guidelines, you will be given a letter from Disability Services for each of your professors. Students experiencing certain documented temporary conditions, such as post-concussive symptoms, may also qualify for temporary academic accommodations and adjustments. As early as possible in the semester, set up an appointment to meet with the instructor to discuss the academic adjustments specified in your accommodations letter as they pertain to my class.
All students are expected to adhere to the established community expectations around safety, including: daily digital health reporting, physical distancing, proper wearing of facial coverings within buildings and classrooms and when within six feet of individuals outdoors, frequent handwashing, and participation in cleaning and sanitizing protocols as requested. You will be turned away from class if you do not have a face covering. Students diagnosed with a health condition that precludes mask wearing can contact Lynne Davies in Disability Services (daviesl@etown.edu) to request remote learning as a reasonable accommodation.
If you are exhibiting any symptoms of COVID or fail to pass the daily health screen, do not come to class. Failure to adhere to the established community expectations around safety will result in notification of Campus Security and application of the student conduct process for failure to comply, endangering the well-being of others, and/or disorderly conduct. The student code of conduct applies also to participation in all virtual activities, including Zoom sessions and discussion boards
The College is eager to facilitate individual religious beliefs and practices whenever possible while retaining course student learning outcomes. It is your responsibility to meet with the class instructor in advance to request arrangements related to your religious observances that may conflict with this class, and to make appropriate plans to make up any missed work.
An online Python interpreter for quick typing and note-taking. Available at: https://skulpt.org/using.html
The Python packages and environment that you need to install on your computer. Installation guide is provided: Installation Guide.
Download Anaconda from: https://www.anaconda.com/products/individual
Our Integrated Development Environment (IDE) for writing Python scripts. Installation guide is provided: Installation Guide.
Download VS Code from: https://code.visualstudio.com/download
Platform for instant messaging and discussion. Join at: link
Note:
All the aforementioned software are available on the computers in the Esbenshade 281, Hoover 108 and Nicarry 208 computer laboratories and in the Computer Science commons area (E284).
Archived from Peilong/Peilong.github.io@b78cc66 (2021-08-10).