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