Meets MWF 3:30-4:30 PM |
CS F301-F01 |
Instructor: Dr. Orion Lawlor |
Optional Textbook: Computer Systems, Bryant and O'Hallaron, Prentice Hall 2003 |
ADA Compliance: Will work with Office of Disabilities Services (203 WHIT, 474-7043) to provide reasonable accommodation to students with disabilities. |
Course Website: http://www.cs.uaf.edu/2009/fall/cs301/ |
By the end of the course, you will understand how your code actually executes on a real machine: from electrons on a semiconductor, to registers and binary arithmetic, to machine code and assembly, to C++ source code. Understanding this process is useful for debugging code, and making all your code faster, smaller, and more secure. This course will focus on the middle levels of this chain of abstractions--you'll eventually learn much more about the lower levels (electrons, semiconductors, logic circuits) in EE 341 & 443, and about the higher levels (languages, compilers) in CS 331. To understand this course, you will have to be familiar with all the basics of C or C++: variables, loops, arrays, pointers, structures, and functions.
First day of class: 3:30pm Friday, September 5.
|
Pre-Thanksgiving fun lecture: Wednesday,
November 25. |
Google, Rasmuson Library, Academic Advising Center (509 Gruening, 474-6396), Math Lab (Chapman Room 305), English Writing Center (801 Gruening Bldg, 478-5246).
Your work will be evaluated on correctness, rationale, and insight, not on successful regurgitation of random trivia. Grades for each assignment and test may be curved upward by scaling. Each homework and the midterm will then be clamped to the range [0%,100%]. Your grade is then computed based on four categories of work:
HW: Homeworks and machine problems, to be distributed through the semester.
PROJ: Two sizable class projects--big programs written in or relating to assembly.
MT: Midterm Exam
FINAL: Final Exam (comprehensive)
The final score is then calculated as:
TOTAL = 30% HW + 20% PROJ + 25% MT + 25% FINAL
This percentage score is transformed into a plus-minus letter grade via these cutoffs: A >= 93%; A- 90%; B+ 87%; B 83%; B- 80%; C+ 77%; C 70%; D+ 67%; D 63%; D- 60%; F. The grades “C-”, “F+”, and “F-” will not be given. “A+” is reserved for truly extraordinary work. Homeworks are due by midnight at the end of the day they are due.
THOU SHALT ASK QUESTIONS IN CLASS WHEN THY PROFESSOR STOPS MAKING SENSE.
THOU SHALT LEARN THE GENERAL PRINCIPLES, BY LEARNING THE CURRENT SPECIFIC IMPLEMENTATIONS.
THOU SHALT COME TO CLASS, EVEN WHEN SLEEPY. BUT THOU SHALT NOT SLEEP IN CLASS.
REMEMBER THY BOOK, AND KEEP IT HANDY.
THOU SHALT TURN IN THY ASSIGNMENTS BEFORE MIDNIGHT ON THE REQUIRED DAY, FOR THOU SHALT RECEIVE A ZERO FOR LATE ASSIGNMENTS.
THOU SHALT NOT START WORK ON THY ASSIGNMENTS 20 MINUTES BEFORE THEY ARE DUE. NOR EVEN 25 MINUTES. START THEM DAYS AHEAD OF TIME OR THOU SHALT BE VEXED!
THOU SHALT CITE ALL THY SOURCES. EVEN THOSE FROM THE INTERNET.
THOU SHALT NOT COPY THY NEIGHBOR'S ASSIGNMENTS, NOR HIS TESTS.
ALL THY ASSIGNMENTS AND TESTS SHALL BE THY OWN WORK. ANY CHEATING OR PLAGARISM SHALL INCUR THE WRATH* OF THY PROFESSOR.
THOU SHALT REGULARLY CHECK THE WEB. I MAY POST ASSIGNMENTS THERE AT ANY TIME, FOR I AM THY PROFESSOR. BUT I WILL GIVE YOU AT LEAST FIVE DAYS WARNING.
At my discretion, I may allow late work without penalty when due to circumstances beyond your control. Department policy does not allow tests to be taken early; but in extraordinary circumstances may be taken late. All classes and exams will normally be in the usual classroom at the usual time; in extraordinary circumstances, such as an infectious disease outbreak, classes may be held on Blackboard/Elluminate Live.
*The minimum penalty for plagiarism is that entire section of your grade. For example, one copied homework problem will negate your entire homework score. Note that without homework, the highest grade you can even theoretically achieve is a C-! Even substantial reuse of other people's work is fine (and not plagiarism) if it is clearly cited; you'll be graded on what you've added to others' work.
(September) Data representation (Chapter 2.1)
Operations
|
(October) Machine Language / Instruction encoding (Chapter 3.1-4)
Assembly & disassembly (Chapter 3.15)
|
(Midterm to Thanksgiving) Memory
Subroutines (Chapter 3.7)
Heap memory
Advanced control flow
|
(Thanksgiving to End) Performance and Optimization (Chapters 4, 5, and 9)
Floating point (Chapter 2.4, 3.14, and beyond)
|