EECS 213: Intro to Computer Systems

Quarter Offered

Fall : 2-3:20 TuTh ; Hardavellas
Winter : 2-3:20 TuTh ; St-Amour
Spring : 2-3:20 TuTh ; St-Amour


EECS 211


This course has four purposes: (1) to learn about the hierarchy of abstractions and implementations that comprise a modern computer system; (2) to demystify the machine and the tools that we use to program it; (3) to come up to speed on systems programming in C in the Unix environment; (4) to prepare students for upper-level systems courses.

  • This course is a required Core course in the CS curriculum in McCormick and Weinberg

COURSE GOALS: This course has four purposes. First, you will learn about the hierarchy of abstractions and implementations that comprise a modern computer system. This will provide a conceptual framework that you can then flesh out with courses such as compilers, operating systems, databases, networks, security, real-time systems, and others. The second purpose is to demystify the machine and the tools that we use to program it. This includes telling you the little details that students usually have to learn by osmosis. In combination, these two purposes will give you the background to understand many different computer systems. The third purpose is to bring you up to speed in doing systems programming in a low-level language (C) in the Unix (Linux/GCC/GDB/etc) environment. The final purpose is to prepare you for upper-level courses in systems.

This is a learn-by-doing kind of class. You will write pieces of code, compile them, debug them, disassemble them, measure their performance, optimize them, etc.

This course is ideally taken after EECS 211 early in your academic career. This is a REQUIRED COURSE for the CS Major.

You are encouraged to examine the latest EECS 213 web site for more information.

REQUIRED TEXTBOOK: Bryant & O'Hallaron, Computer Systems: A Programmer's Perspective, Pearson, 3rd edition. ISBN-13: 978-0134092669 ISBN-10: 013409266X (The hardcover version is recommended)


  • Kernighan and Ritchie, The C Programming Language, Second Edition, Prentice Hall, 1988.
  • Stevens and Rago, Advanced Programming in the Unix Environment, Addison-Wesley, 3rd edition, 2013. ISBN-13: 978-0321637734 ISBN-10: 0321637739

COURSE INSTRUCTORS: Prof. Nikos Hardavellas (Fall), Dr. Vincent St-Amour (Winter & Spring)



PREREQUISITE FOR: EECS 322 (Compilers), EECS 339 (Databases), EECS 340 (Networking), EECS 343 (Operating Systems), EECS 350 (Security), EECS 397 (Real-time), EECS 441, EECS 442


  • HW 1: Integer and Floating Point Number Representations
  • HW 2: De-compiling Assembly Code
  • HW 3: Memory and Cache
  • HW 4: Virtual Memory and I/O


Lab assignments are generally continuously autograded with current scores available from the web. Beyond “making the grade”, students are encouraged to compete.

  • Data Lab: Building Complex Operators from Limited Numbers of Simple Ones
  • Bomb Lab: Defusing a Binary Bomb Using a Debugger and Knowledge of How a Compiler Works
  • Exploit Lab: Learning Stack Discipline by Building Buffer Overflow Exploits
  • Malloc Lab: Developing a Small, but Critical Piece of Systems Software, a Heap Memory Allocator Library or "Parallelism Lab: Building a Scalable Program

(Fall Quarter only) EXAMS: The exams are open book, but no electronic devices are allowed. Students that have only an electronic version of the book will not be able to use it during the exams.

Spring Quarter Exams are not open book.