- Use Acrobat Reader from Adobe to view and print the PDF files.
- Lecture notes are available before each class meeting from this site.
- Copyright (c) 2021-2023, Liudong Xing. All rights reserved. Personal use of this material is permitted.
Topic | Date | Notes | Reading |
Outline of the course Background survey Computer history |
1/18 (W) | Lecture #1 | Review course syllabus |
Number systems | 1/20 (F) 1/23 (M) | Lecture #2 | Lecture notes; Solution to Hands-on Problems, Review Questions; Homework #1 assigned |
Introduction to C Programming |
1/25 (W) | Lecture #3 | Lecture notes; Solution to Hands-on Problems, Practice Questions |
Data Types and Variables |
1/27 (F) | Lecture #4 | Textbook: Ch 2.1, 2.2, 2.4; Solution to Hands-on Problems |
Constants | 1/30 (M) | Lecture #5 | Textbook: Ch 2.3; Solution to Hands-on Problems Homework #1 is due! |
Formatted Output |
1/30 (M) 2/1 (W) | Lecture #6 | Textbook: Ch 7.1, 7.2; Solution to Hands-on Problems |
Formatted Input |
2/3 (F) | Lecture #7 | Textbook: Ch 7.4; Solution to Hands-on Problems; Homework #2 assigned |
Expressions (I) | 2/6 (M) | Lecture #8 | Textbook: Ch 2.5, 2.8, 2.10 Solution to Hands-on Problems |
Expressions (II) | 2/8 (W) 2/10 (F) | Lecture #9 | Textbook: Ch 2.7, 2.12 Solution to Hands-on Problems Homework#2 is due! |
Decision Making (I) — two-way selection: if…else |
2/10 (F) 2/13 (M) 2/15(W) | Lecture #10 | Textbook: Ch 2.6, 3.1, 3.2 Solution to Hands-on Problems |
Exam#1 Review | 2/15(W) | Lecture #11 | Lectures (#2~#10), homework (#1) and lab (#2~#4) assignments **Sample Questions and Required Answer Format** |
Exam#1 | 2/17(F) | Exam | Good luck! Please arrive on time! |
President’s Day, No Class | 2/20 (M) | No Classes | Enjoy a long weekend! |
Exam#1 Solution Discussion | 2/21(T) | Exam#1 | Tuesday follows Monday’s class schedule |
Decision Making (II) — multi-way selection |
2/22(W) | Lecture #12 | Textbook: Ch 3.3, 3.4 Solution to Hands-on Problems |
Loops | 2/22(W) 2/24(F) 2/27(M) | Lecture #13 | Textbook: Ch 3.5, 3.6, 3.7 Homework #3 assigned Solution to Hands-on Problems Review Questions and Solutions |
Functions(I): Overview |
3/1 (W) | Lecture #14 | Textbook: Ch 4 Solution to Hands-on Problems |
Functions(II): Declaring, defining, calling functions |
3/3 (F) | Lecture #15 | Textbook: Ch 4 Solution to Hands-on Problems |
Spring Break | 3/6 (M) 3/8 (W) 3/10 (F) | No Classes | Enjoy the Spring break. Stay safe! |
Functions(III): Parameters passing and standard library functions (1) |
3/13 (M) | Lecture #16 | Textbook: Ch 4, Appendix B Solution to Hands-on Problems |
Functions(IV): Standard library functions (2) and Recursions |
3/15 (W) 3/17 (F) | Lecture #17 | Textbook: Ch 4, Appendix B Solution to Hands-on Problems |
Files (I) | 3/17 (F) 3/20 (M) | Lecture #18 | Textbook: Ch 7.5 Solution to Hands-on Problems |
Exam#2 Review | 3/22 (W) | Lecture #19 | Lectures (#12~#18), homework (#3) and lab (#5~#8) assignments **Sample Questions and Required Answer Format** |
Exam#2 | 3/24 (F) | Exam | Good luck! Please arrive on time! |
Exam#2 Solution Discussion | 3/27 (M) | Exam#2 | Problems#1-4 in Lab#9 |
Files (II) | 3/29(W) 3/31 (F) | Lecture #20 | Textbook: Ch 7.5 Solution to Hands-on Problems |
Arrays (I) | 3/31 (F) 4/3 (M) | Lecture #21 | Textbook: Ch 1.6, 5.3 Solution to Hands-on Problems |
Arrays (II) – Multi-D Arrays | 4/3 (M) 4/5 (W) | Lecture #22 | Textbook: Ch 1.6, 5.3 Solution to Hands-on Problems |
Arrays (III) – Arrays & Functions | 4/5 (W) 4/7 (F) | Lecture #23 | Textbook: Ch 1.6, 5.3 Solution to Hands-on Problems |
Array Sort – Bubble Sort and Selection Sort | 4/7 (F) 4/10 (M) | Lecture #24 | Textbook: Ch 1.6, 5.3 Solution to Hands-on Problems |
Strings | 4/12 (W) | Lecture #25 | Textbook: Ch 5 Solution to Hands-on Problems |
Pointers | 4/12 (W) 4/14 (F) | Lecture #26 | Textbook: Ch 5 Solution to Hands-on Problems |
Patriot’s Day Holiday |
4/17 (M) | No Classes | Have a great long weekend! NO lab in the week of April 17. |
Exam#3 Review | 4/19 (W) | Lecture #27 | Lectures (#20~#26), lab (#9~#11) assignments; Sample Questions & Solution Format |
Exam#3 | 4/21 (F) | Exam | Good luck! Please arrive on time! |
Exam#3 Solution Discussion | 4/24 (M) | Exam#3 | Problems#1-4 in Lab#12 |
Pointers & Arrays | 4/24 (M) 4/26 (W) | Lecture #28 | Textbook: Ch 5 |
Final Review | 4/26 (W) | Lecture #29 | Exam#1, #2, #3; Lecture #29 (refer to more details in Lecture#2 – #28); Lab#1 – #12; HW#1 – #4 |
Final Exam | 5/1 (M) 8-11am | Exam | Good luck to your finals! |