Lecture Topics

DateDescription
September 27 Orientation
Slides
September 29 Introduction to Linux
Slides and Shell history.
Linux demo If you have a laptop, bring it to class.
October 2 I/O Redirection and alias
Slides
Shell history, Alias demo
History shortcuts
October 4 Introduction to scripting
Slides
shiftdemo script, dcdls script, lectfour demonstration script
Redirection Demo
October 6 Scripting Continued
Slides
fibo script, sdel script
Review before class:
Exercises for this class session
Extras: Emacs motivation, Emacs demo
, Exercise demo
October 9 RegEx, Grep
Slides
RegEx/Grep demo
RegEx Tester, RegEx Crosswords
October 11 Regex and sed
Slides
numberslist shell history
October 13 Version Control
Slides, Note: You can
git clone git@gitlab.cs.washington.edu:mh75/cse374-materials.git
to get all the C files, git demo
October 16 Introduction to C
Slides, hello.c
October 18 C: control, declarations, preprocessor
Slides, magic.c, printargs.c,
square1.c, control.c, control2.c
Useful gcc flags
October 20 C: Files and more pointers
Slides, fgets.c
fopen.c
dangling.c
October 23 C Memory & Pointers
Slides(10), Slides(11), dangling.c pointeradd.c
Challenges before Friday:
mystery, mystery1, mystery2, mystery3, mystery4
October 25 C: Memory allocation & deallocation
Slides, argdemo, arraydemo.c, arraydynamic.c
October 27 C: Debugging
Slides, factorial.c, factorial.c(Fixed), reverse.c, reverse.c(Fixed), arrdynamicwrong.c, mysterynum.c
debugging demo
more debugging demo
October 30 C: datatypes, structs, linked lists
Slides
scopedemo.c, point.c, typedef reading
November 1 C: Trees
Slides
linkedlist.c
linkedlist.c, linkedlist.h, linkedlistclient.c
November 3 More pre-processor, multiple files
Slides, debug.c, twice.c
November 6 Make and Build Dependencies
Slides, main.c, speak.c, shout.c speak.h, shout.h
Makefile1, Makefile2, Makefile3
November 8 Testing & Projects
Slides, curve.c, test.c, curve.h, db.h, Makefile_test
for.h, for.c, testfor.c
November 13 Software Specification & Testing
Slides
November 15 Variable types and storage / hexadecimal
Slides, hexdemo.c
November 17 Buffer Overflows
Slides, buffover.c
November 20 Memory HW / Intro to C++
Slides, hello.cpp
November 22 Intro to C++
Slides, hello.cpp
November 27 C++ Classes
Slides,
People.cpp, People.h,
String.cpp, String.h
November 29 C++ Inheritance
Slides, Rectangle.cpp>
Mystery.cpp, VirtualMystery.cpp
main.cpp
BankAccount.h, BankAccount.cpp, SavingsAccount.h, SavingsAccount.h,
Property
December 1 Function Pointers and Concurrency
Slides, int1.c, int2.c, pthreadex.c
December 4 Concurrency / HW7
December 6 Profiling / Review
December 8 Review