Course Description

  • This is an intermediate course that teaches the basics of computer organization, mainly from the pogrammer's perspective. The high-level goal of this course is to make you a more versatile and dextrous programmer. We will do that by teaching you how the computer works, which will help you understand how your program is executed. The course will be roughly organized as five weeks of assembly programming, five weeks of C programming, and a five week team project.
  • The schedule on this page lists the topics we will cover by date.

Required Materials

  • Raspberry Pi Development System You are required to buy and build the development system for this class. Parts are available from Amazon

Slop Days

  • Each student will be granted five slop days at the beginning of the semester. A slop day allows you to turn in work up to 24 hours past the deadline. You can't use more than two slop days on a single assignment (which would allow you to turn in up to 48 hours past the deadline). Work that is submitted more than 48 hours late or without the use of slop days will not be accepted.
  • In order to use a slop day, you must do two things: (1) alert Neil and Jack via email or slack that you will be turning your homework in late before the homework deadline and (2) alert Neil and Jack via email or Slack when the homework has been submitted. If you don't do both, your homework will not be graded and you will get a zero for the late assignment.

Grading

  • Treat this course like a job where you are trying to get promoted. If you show up and do your work, you will get a good grade.
  • The lowest quiz AND homework score will be dropped before computing the final grade.
  • No partial credit for code that does not compile.
    • Homework: 30 %
    • Participation: 10 %
    • Progress: 10 %
    • Checkins & Quizzes: 25 %
    • Final Project: 25 %
    Percentage Letter Grade
    91+ A
    89-90 A-
    87-88 B+
    77-86 B
    75-76 B-
    73-74 C+
    62-72 C
    60-61 C-
    50-59 D
    Below 50 F

Scheduling Conflicts

  • If you have a (legitimate) scheduling conflict with a quiz or exam, it is possible to schedule a makeup session. You must let me know at least two weeks prior to the quiz/exam date. Legitimate scheduling conflicts include religious observances.
  • LUC's academic calendar can be found here.

Mandatory Reporter Statment

  • Each faculty and staff member at Loyola University Chicago is required to report any incidents of gender-based misconduct that they are made aware of, even if it happened in the past. Gender-based misconduct includes discrimination based on actual or perceived sex, sexual orientation, gender expression or identity, or pregnancy or parenting status; dating and domestic violence; sexual misconduct (including sexual assault, sexual harassment, and sexual exploitation); and stalking.

Collaboration

  • Students are expected to write their own code for homework assignments. No copying or code sharing is allowed. Copying code from the Internet is also not allowed.

Office Hours

  • Doyle 309
  • Wednesday: 10:00 — 11:00AM

TA Jack West

  • Discussion Section/Lab
  • Thursday 10-11 AM Doyle 304

Course Schedule

Tenative

Date Topic Details
Mon 08/30 Intro, Class Structure, Policies, etc. / Hex & Binary Homework 1 Assigned
Intro Slides
Binary Slides
Activity: Hex
Wed 09/01 Hex & Binary Video: Hex & Binary
Slides
Fri 09/03 Hex & Binary In-Class Activity: Java Hex Activity
Mon 09/06 Labor Day: No Class
Wed 09/08 Combinatorial Logic Homework 1 Due
Homework 2 Assigned
Quiz: Hex & Binary
Video: Circuitverse Tutorial | Circuitverse
Reading:
Fri 09/10 Combinatorial Logic Quiz 1 Makeup
In-Class Activity: Building an Adder
Mon 09/13 Logic Lab In-Class Activity: Four Bit Adder
Wed 09/15 git/Rev Control Env setup: apt, cd, ls, vim, make
Linux filesystem
Quiz: Combinatorial Logic
Installing Raspberry Pi OS
GitHub Username Survey
Video: Compiling C Programs
Fri 09/17 Pi Setup Fail Homework 2 Due
Reading:
  • Raspberry Pi Assembler: Chapter 1 & 2
  • TYPE IN EXAMPLE PROGRAMS ON YOUR PI
Mon 09/20 Pi Setup Fail, Part II Activity: ASM Intro
gdb cheat sheet
Wed 09/22 Intro to Assembly Language & Registers Homework 3 Assigned
Video: Memory
Reading:
  • Raspberry Pi Assembler: Chapter 3
  • TYPE IN ALL EXAMPLE PROGRAMS FROM CHAPTER 3
Fri 09/24 Intro to Assembly Language & Registers Checkin: Tools Due
Reading:
  • Raspberry Pi Assembler: Chapter 5
  • TYPE IN ALL EXAMPLE PROGRAMS FROM CHAPTER 5
Mon 09/27 Intro to Assembly Language & Registers GitHub Personal Access Token Guide
Reading:
  • Raspberry Pi Assembler: Chapter 7
  • TYPE IN ALL EXAMPLE PROGRAMS FROM CHAPTER 7
Wed 09/29 Memory & Global Variables Homework 3 Due
Homework 4 Assigned
Reading:
  • Raspberry Pi Assembler: Chapter 8
  • TYPE IN ALL EXAMPLE PROGRAMS FROM CHAPTER 8
Fri 10/01 Branches (loops) Mid-Semester Survey
Quiz: Functions and the Stack
Reading:
  • Raspberry Pi Assembler: Chapter 6
  • TYPE IN ALL EXAMPLE PROGRAMS FROM CHAPTER 6
Reading
  • Raspberry Pi Assembler: Chapter 17
Mon 10/04 Arrays & Passing Parameters on the Command Line gdb Primer
Wed 10/06 The Stack & Local Variables Quiz: Tools
Homework 4 Due
Homework 5 Assigned
Stack Activity
Stack Slides
Fri 10/08 The Stack & Local Variables
Mon 10/11 Mid-Semester Break: No Class
Wed 10/13 More Stack Homework 5 Due
Homework 6 Assigned
Fri 10/15 File IO: Reading from Files Homework 6 Due
Homework 7 Assigned | string.s
Mon 10/18 Linked lists in asm
Wed 10/20 Pointers Homework 7 Due
Quiz: Local Variables and the Stack
Fri 10/22 Pointers Homework 8 Assigned
Mon 10/25 Linked Lists in ASM Reading:
Wed 10/27 Linked Lists in ASM Quiz Retry: Local Variables & the Stack
Fri 10/29 Intro to C Homerork 8 Due
Homework 9 Assigned
Mon 11/01 Datatypes in C
Wed 11/03 Loops in C
Fri 11/05 Makefiles, objdump, Linker Homework 9 Due
Homework 10 Assigned | GitHub Repo
Cache Log Files:
Mon 11/08 Linker Scripts
Wed 11/10 C Arrays
Fri 11/12 C structs
Mon 11/15 Command Line Parameters in C
Wed 11/17 File I/O in C In-Class Activity: Comment Stripping | base.c
Comment Stripping GitHub Repo
Fri 11/19 Command Line Parameters in Asm
Mon 11/22 Monday before Thanksgiving
Wed 11/24 Thanksgiving: No Class
Fri 11/26 Thanksgiving: No Class
Mon 11/29 Linked Lists in C Homework 10 Due
Wed 12/01 Linked Lists in C
Fri 12/03 Trees in C Assembly from C Lab
Mon 12/06 Calling assembly language functions from C
Wed 12/08 XXX
Fri 12/10 XXX