Lecture 13: May 21, 2024

Reading: zyBooks text, §2.13, 2.17
Assignments: Homework 3, due May 27; Extra Credit 2, due May 27

  1. Midterm review of
    1. Question 2
    2. Question 4
    3. Question 10
    4. Question 11
    5. Question 13

  2. Recursion and Memos [fibrec.c, fibmemo.c]

  3. Internal representation of data
    1. Union union.c, union2.c]
    2. Conversion among hexadecimal, binary, and decimal
    3. Bit operations: & (ampersand), | (vertical bar), ^ (carat), ~ (tilde)
    4. Extracting bits [bits1.c, [bits2.c, [bits3.c, [bits4.c]

  4. C Libraries

UC Davis sigil
Matt Bishop
Office: 2209 Watershed Sciences
Phone: +1 (530) 752-8060
Email: [email protected]
ECS 36A, Programming & Problem Solving
Version of May 21, 2024 at 1:57PM

You can also obtain a PDF version of this.

Valid HTML 4.01 Transitional Built with BBEdit Built on a Macintosh