Course Schedule
DATE
TOPIC
ASSIGNMENTS
QUIZZES
Week 1
Mon, Jun 19
HDAY
Juneteenth
Wed, Jun 21
LEC 01
Introduction, C Refresher
Slides:
ink
pdf
Code:
args.c
,
sum_badorder.c
,
sum_betterorder.c
,
sum_declared.c
Thu, Jun 22
SEC 01
Pointers, Output Parameters
Materials:
slides
solutions
worksheet
Fri, Jun 23
LEC 02
C: Data, Parameters
Slides:
ink
pdf
Code:
arraysum.c
,
buggy_copyarray.c
,
copyarray.c
,
📁 extra
,
outparam.c
,
ptr_poll.c
,
sumnum.c
,
sumstore.c
,
swap.c
Ex-1 Due
Soln
Week 2
Mon, Jun 26
LEC 03
C: Pointers, The Heap
Slides:
ink
pdf
Code:
arraycopy.c
,
📁 extra
,
genstr.c
,
map.c
,
memcorrupt.c
,
segfault.c
HW0 Due
Wed, Jun 28
LEC 04
C: Structs, Modules
Slides:
ink
pdf
Code:
complexstruct.c
,
📁 extra
,
manual_list.c
,
manual_list_void.c
,
push_list.c
,
simplestruct.c
,
structarg.c
,
structassign.c
Thu, Jun 29
SEC 02
Structs, Debugging
Materials:
slides
solutions
worksheet
Code:
Makefile
,
reverse.c
,
reverse_soln.c
Fri, Jun 30
LEC 05
C: Preprocessor, Linking, File I/O
Slides:
ink
pdf
Code:
condcomp_skipped.c
,
cpp_example.c
,
cpp_example.h
,
example_ll_customer.c
,
📁 external_linkage
,
📁 external_static_functions
,
📁 extra
,
ifdef.c
,
📁 include_problem
,
📁 internal_linkage
,
ll.c
,
ll.h
,
magic.c
,
static_extent.c
Ex-2 Due
Soln
Week 3
Mon, Jul 03
LEC 06
POSIX I/O & System Calls
Slides:
ink
pdf
Code:
buffered_hi.c
,
cp_example.c
,
📁 extra
,
readN.c
,
unbuffered_hi.c
Ex-3 Due
Soln
Tue, Jul 04
HDAY
Independence Day
Wed, Jul 05
LEC 07
System Calls (cont'd); Makefiles
Slides:
ink
pdf
Code:
Makefile
,
main.c
,
shout.c
,
shout.h
,
speak.c
,
speak.h
Thu, Jul 06
SEC 03
POSIX I/O, Directories
Materials:
slides
solutions
worksheet
HW1 Due
Fri, Jul 07
LEC 08
C++ Intro
Slides:
ink
pdf
Code:
Makefile
,
concat.cc
,
echonum.cc
,
📁 extra
,
helloworld.c
,
helloworld.cc
,
helloworld2.cc
,
helloworld3.cc
,
manip.cc
,
msg.cc
Week 4
Mon, Jul 10
LEC 09
C++: References, Const, Classes
Slides:
ink
pdf
Code:
Makefile
,
Point.cc
,
Point.h
,
brokenpassbyrefconst.cc
,
constmadness.cc
,
passbyreference.cc
,
pointer.cc
,
poll1.cc
,
poll2.cc
,
reference.cc
,
styleguide.cc
,
usepoint.cc
Ex-4 Due
Soln
Wed, Jul 12
LEC 10
C++: Constructor Insanity
Slides:
ink
pdf
Code:
Complex.cc
,
Complex.h
,
FileDescriptor.h
,
Makefile
,
SimplePoint.cc
,
SimplePoint.h
,
📁 extra
,
test.cc
,
testcomplex.cc
,
use_fd.cc
Ex-5 Due
Soln
Quiz-1 Due
Thu, Jul 13
SEC 04
C++ Intro, const, Classes
Materials:
slides
solutions
worksheet
Fri, Jul 14
LEC 11
C++: new/delete, Templates (start)
Slides:
ink
pdf
Code:
Makefile
,
Point.cc
,
Point.h
,
Point_2011.cc
,
Point_2011.h
,
Str.cc
,
Str.h
,
arrays.cc
,
count.cc
,
📁 extra
,
functiontemplate.cc
,
functiontemplate_infer.cc
,
heappoint.cc
,
sanepoint_2011.cc
,
strtest.cc
Week 5
Mon, Jul 17
LEC 12
C++: Templates (cont'd)
Slides:
ink
pdf
Code:
Makefile
,
Pair.cc
,
Pair.h
,
📁 compare_prob
,
📁 compare_soln_one
,
📁 compare_soln_two
,
functiontemplate.cc
,
functiontemplate_infer.cc
,
usepair.cc
,
valtemplate.cc
Ex-6 Due
Soln
Wed, Jul 19
LEC 13
C++: STL
Slides:
ink
pdf
Code:
Makefile
,
Tracer.cc
,
Tracer.h
,
animals.cc
,
listexample.cc
,
mapexample.cc
,
test.cc
,
vectoralgos.cc
,
vectorfun.cc
,
vectoriterator.cc
,
vectoriterator_2011.cc
Ex-7 Due
Soln
Thu, Jul 20
SEC 05
C++ Heap, Templates
Materials:
slides
solutions
worksheet
HW2 Due
Fri, Jul 21
LEC 14
Inheritance I
Slides:
ink
pdf
Code:
📁 inherit
,
📁 initial
,
vtable.cc
Week 6
Mon, Jul 24
LEC 15
Inheritance II, Casting
Slides:
ink
pdf
Code:
badctor.cc
,
baddtor.cc
,
constcast.cc
,
dynamiccast.cc
,
📁 extra1
,
📁 extra2
,
goodctor.cc
,
mixed.cc
,
slicing.cc
,
staticcast.cc
,
test.cc
Ex-8 Due
Soln
Wed, Jul 26
LEC 16
C++: Smart Pointers
Slides:
ink
pdf
Code:
Makefile
,
ToyPtr.h
,
sharedcycle.cc
,
sharedrefcount.cc
,
shareduse.cc
,
sharedvec.cc
,
toyuse.cc
,
uniquearray.cc
,
uniquefail.cc
,
uniquemap.cc
,
uniquemove.cc
,
uniquepass.cc
,
uniquevec.cc
,
uniquevecsort.cc
,
usetoy.cc
,
weakcycle.cc
,
weakrefcount.cc
Quiz-2 Due
Thu, Jul 27
SEC 06
Smart Pointers, Inheritance
Materials:
slides
solutions
worksheet
Fri, Jul 28
LEC 17
Networks Introduction
Slides:
ink
pdf
Week 7
Mon, Jul 31
LEC 18
IP Addressses, DNS
Slides:
ink
pdf
Code:
dnsresolve.cc
,
genaddr.cc
,
genstring.cc
Ex-9 Due
Soln
Wed, Aug 02
LEC 19
Client-side and Server-side Networking
Slides:
ink
pdf
Code:
Makefile
,
connect.cc
,
dnsresolve.cc
,
extra1.cc
,
sendreceive.cc
,
server_accept_rw_close.cc
,
server_bind_listen.cc
,
socket.cc
Thu, Aug 03
SEC 07
Client-side Networking
Materials:
slides
solutions
worksheet
HW3 Due
Fri, Aug 04
LEC 20
HTTP
Slides:
ink
pdf
Week 8
Mon, Aug 07
LEC 21
Introduction to Concurrency
Slides:
ink
pdf
Code:
📁 searchserver_sequential
Ex-10 Due
Soln
Wed, Aug 09
LEC 22
Concurrency: Threads
Slides:
ink
pdf
Code:
Makefile
,
cthreads.c
,
pthreads.cc
,
📁 searchserver_threads
,
total.cc
,
total_locking.cc
,
total_locking_better.cc
,
total_loop.sh
Quiz-3 Due
Thu, Aug 10
SEC 08
HTTP, HW4 Debugging, Boost
Materials:
slides
solutions
worksheet
Ex-11 Due
Soln
Fri, Aug 11
LEC 23
Concurrency: Processes
Slides:
ink
pdf
Code:
Makefile
,
fork_example.cc
,
fork_latency.cc
,
📁 searchserver_processes
,
thread_latency.cc
Week 9
Mon, Aug 14
LEC 24
Thinking About Systems
Slides:
ink
pdf
Ex-12 Due
Soln
Wed, Aug 16
LEC 24.5
Extra OH/Work-time
HW4 Due
Thu, Aug 17
SEC 09
Concurrency, Wrap-up
Materials:
slides
solutions
worksheet
Fri, Aug 18
LEC 25
Course Wrap-up
Slides:
pdf
Quiz-4 Due