This course covers advanced programming and machine representation of data and data structures, including dynamic structures and files.
Dr. Peilong Li
Esbenshade 284B
By email
4

This course covers advanced programming and machine representation of data and data structures, including dynamic structures and files. Topics include C language syntax, memory allocation, run-time data organization, function linkage and parameter passing, and the relationship between high-level and machine languages. C is the primary language of instruction with Java being a comparative language. Linux operating system and command line skills will be introduced throughout the course.
By the end of the course, students will be able to:
Note this tentative schedule is subject to change. Please check the schedule regularly.
Last updated: 01/18/2023
| Week | Starting | Topics | Reading | Notes |
|---|---|---|---|---|
| 1 | 1/16/23 | M: MLK Day, No Classes | Mon: HW1 out | |
| W: Lec1 - Course introduction; Google Cloud intro | Thur: HW1 due | |||
| F: Lec2 - Unix and Linux; Command line interface | ||||
| 2 | 1/23/23 | M: Lec3 - C language; Compilation in Linux | Week 2-1 | Mon: Project 1 out |
| W: Lec4 - Data Types; Systems programming | Week 2-2 | |||
| F: Lec5 - printf and scanf; Linux Kernel | Week 2-3 | |||
| 3 | 1/30/23 | M: Lec6 - If and switch statements | Week 3-1 | Mon: HW2 out |
| W: PE1 - Flowchart and debugging | Week 3-2 | |||
| F: Lab1 | Week 3-3 | |||
| 4 | 2/6/23 | M: Lec7 - Writing a Makefile | Week 4-1 | |
| W: Lec8 - While and do-while loops | Week 4-2 | |||
| F: Lec9 - For loops | Week 4-3 | |||
| 5 | 2/13/23 | M: PE2 - Conditionals and loops | Week 5-1 | Mon: HW2 due |
| W: Lab2 | Week 5-2 | |||
| F: Lec10 - Functions | Week 5-3 | |||
| 6 | 2/20/23 | M: Lec11 - Function exercises | Week 6-1 | Mon: Project 1 due |
| W: Lec12 - Module 1 summary and exam 1 preview | Week 6-2 | |||
| F: Exam 1 | ||||
| 7 | 2/27/23 | M: Lec13 - Cloud computing and containerization | Week 7-1 | Mon: Project 2 out |
| W: Lec14 - Docker exercises | Week 7-2 | |||
| F: Lec15 - Pointers and pointer arguments | Week 7-3 | |||
| 8 | 3/6/23 | M: Spring Break; No Classes | ||
| W: Spring Break; No Classes | ||||
| F: Spring Break; No Classes | ||||
| 9 | 3/13/23 | M: PE3 - Functions and pointers | Week 9-1 | Mon: HW 3 out |
| W: Lab3 | Week 9-2 | |||
| F: Lec16 - C arrays | Week 9-3 | |||
| 10 | 3/20/23 | M: Lec17 - 2D arrays; arrays with functions | Week 10-1 | |
| W: Lec18 - Character arrays and strings | Week 10-2 | |||
| F: Lec19 - Structures | Week 10-3 | |||
| 11 | 3/27/23 | M: Lec20 - Nested structures | Week 11-1 | Mon: HW 3 due |
| W: PE4 - Structures | Week 11-2 | |||
| F: Lab4 | Week 11-3 | |||
| 12 | 4/3/23 | M: Lec21 - Module 2 summary and exam 2 preview | Week 12-1 | Mon: Project 2 due |
| W: Exam 2 | ||||
| F: College Holiday, No Classes | ||||
| 13 | 4/10/23 | F: Lec22 - Dynamic Memory Allocation (DMA) | Week 13-1 | Mon: Project 3 out |
| M: Lec23: DMA examples | Week 13-2 | |||
| W: Lec24: Linked list part 1 | Week 13-3 | |||
| 14 | 4/17/23 | M: Lec25: Linked list part 2; PE5 start | Week 14-1 | Mon: HW 4 out |
| W: Invited Talk on DevOps and MLOps | Week 14-2 | |||
| F: PE5 - DMA | Week 14-3 | |||
| 15 | 4/24/23 | M: Lab 5 | Week 15-1 | |
| W: Lec26 - File I/O | Week 15-2 | |||
| F: Lec27 - Character and line I/O | Week 15-3 | |||
| 16 | 5/1/23 | M: Lec28 - Course review and final exam preview | Mon: HW 4 due | |
| W: Project Day, No class | ||||
| F: No class | ||||
| 17 | 5/8/23 | M: No class | Mon: Project 3 due | |
| W: Final exam 7:30 - 10:30 AM | ||||
| F: Enjoy your summer break! |
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. 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 homework assignments have to be completed individually in this course. Homework assignments are “lab-like” small programs that need to be completed in a week or two.
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 2 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.
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. If the project does not compile, the student will receive a score of 0.
Late Policy
In general, homework and projects will be graded with the diff utility. For that reason, it is imperative that project output matches sample output to the character.
Late assignment 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.
I recognize that students may need to miss classes due to personal health reasons or for community measures necessary to promote public health. I have already prepared to substitute a reasonable educational experience aligned with that day’s learning objectives for students who miss class due to illness or quarantine.
The most up-to-date course schedule will be posted on course website schedule page: https://peilong.github.io/courses/cs222/schedule/. Students are responsible for checking the schedule regularly. Schedule page will include: 1) teaching topics for each meeting; 2) reading assignments for each week and 3) special notes on specific days.
All course announcements will be sent to your E-Town email accounts via Canvas Announcements. You are responsible for signing up for this service and checking your emails regularly.
I have created a Microsoft Teams channel (link) to facilitate course related discussion. Discussions are encouraged to be posted on the “QA” channel from Teams. Private instant messages can be sent directly to your recipient by search your recipient’s name on the “search” bar.
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. Cell phones and similar devices is prohibited from using during lecturing time. 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 be posted through Canvas. 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.
Check out the up-to-date statement from: Elizabethtown College Catalog, “Academic Judicial System”
Full statement can be found at: Course Syllabus on Disability Services, Religious Observances, and COVID related expectations.
I consider this classroom to be a place where you will be treated with respect, and I welcome individuals of all ages, backgrounds, beliefs, ethnicities, genders, gender identities, gender expressions, national origins, religious affiliations, sexual orientations, ability - and other visible and non-visible differences. All members of this class are expected to contribute to a respectful, welcoming and inclusive environment for every other member of the class.
Google Cloud Platform (GCP) is the main development environment we will be using in this course. Refer to the guide on Canvas for setup. link.
Once the setup is ready, you will have:
Archived from Peilong/Peilong.github.io@61d25b2 (2023-04-23).