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