Lectures and Precepts

Readings marked "Rec." are recommended, others are required.

King = C Programming: A Modern Approach (Second Edition), K. N. King, Norton & Co. 2008.
K&P = The Practice of Programming, Brian W. Kernighan and Rob Pike, Addison-Wesley 1999.
P&U = ARM 64-bit Assembly Language, Larry Pyeatt with William Ughetta, Newnes 2019.

DATE READINGS LECTURE
(Click for slides)
PRECEPT
(Click for handouts)
WHAT'S DUE
Wed 09/04 –
Thu 09/05 
Unix Tutorial for Beginners;
Rec.: GNU Emacs Tutorial;
Rec.: Linux Pocket Guide
(excerpt: Programming with Shell Scripts)
 Course intro, Linux and bash  
 Computing environment  
Mon 09/09 –
Tue 09/10 
King Ch. 1-6, 7.3, 9, 14, 20.1;
Rec.: K&P Ch. 1
 Git, Intro to C  
 Emacs, Bash  
Wed 09/11 –
Thu 09/12 
Wikipedia DFA article  Building C Programs, DFAs  
 Simple C Programs, Program Preparation  
9/12:
Assignment 0
Mon 09/16 –
Tue 09/17 
King Ch. 15  C Program Design, Logical Ops  
 C, Multi-File Programs  
Wed 09/18 –
Thu 09/19 
King Ch. 7;
Rec.: GNU GDB Tutorial
 Numeric Data Types  
 Multi-File C Programs, gdb  
9/19:
Assignment 1
Mon 09/23 –
Tue 09/24 
King Ch. 8, 11-13, 24.1;
Rec.: K&P Ch. 2, 4
 Pointers, Arrays, Strings  
 C Pointers and Arrays  
Wed 09/25 –
Thu 09/26 
Rec.: GNU Make Tutorial  Building with make  
 C Strings  
Mon 09/30 –
Tue 10/01 
King Ch. 16, 17.1-6  Structs, arguments, dynamic memory  
 Dynamic Memory Management  
Wed 10/02 –
Thu 10/03 
Rec.: K&P Ch. 6  Testing  
 Debugging DMM  
10/3:
Assignment 2
Mon 10/07 –
Tue 10/08 
King Ch. 19  Data Structures  
 Abstract Data Types  
Wed 10/09 –
Thu 10/10 
Midterm details / study resources  Midterm exam 
 void Pointers; Assignment 3  
Mon 10/21 –
Tue 10/22 
King Ch. 17.7;
Rec.: K&P Ch. 5
 Debugging  
 Function Pointers  
Wed 10/23 –
Thu 10/24 
King Ch. 10, 18;
Rec.: K&P Ch. 8
 Modularity  
 Scope, Linkage, Duration  
Mon 10/28 –
Tue 10/29 
   Assignment 4 intro  
 Abstract Objects, Assignment 4 Part 1  
10/29:
Assignment 3
Wed 10/30 –
Thu 10/31 
   VM, Storage, Caching  
 DynArray ADT, Assignment 4 Parts 2/3  
Mon 11/04 –
Tue 11/05 
P&U Ch. 2-4;
Reference: ARMv8 Instruction Set;
Reference: ARM Architecture
 Assembly Language (I)  
 ARM and Assembly Intro  
Wed 11/06 –
Thu 11/07 
P&U Ch. 5  Assembly Language (II)  
 Assembly Fundamentals and Control  
Mon 11/11 –
Tue 11/12 
P&U Ch. 6  Assembly Functions  
 Assembly Control, Register Addressing  
Wed 11/13 –
Thu 11/14 
P&U Ch. 7;
gdb with ARM walkthrough
 Assignment 5 intro  
 Local Variables and Function Calls  
11/14:
Assignment 4
Mon 11/18 –
Tue 11/19 
Rec.: K&P Ch. 7  Performance  
 BigInt_add, gdb for BigInt_add  
Wed 11/20 –
Thu 11/21 
   Assignment 6 intro  
 "B" Attack Recap, Writing Binary, gdb  
Mon 11/25    Processes  
 No precepts 
Mon 12/02 –
Tue 12/03 
   Machine Language  
 Mini-Assembler, "A" Attack Details  
12/3:
Assignment 5
Wed 12/04    Assembler and Linker  
 No precepts 
Tue 12/10 Final exam details and study resources    
   
12/10:
Assignment 6