CS61C Review - PowerPoint PPT Presentation

1 / 9
About This Presentation
Title:

CS61C Review

Description:

... P Blank Presentation CS61C Review Five Elements of a Computer Negative Numbers C Topics Memory Management Memory Management Allocation ... – PowerPoint PPT presentation

Number of Views:30
Avg rating:3.0/5.0
Slides: 10
Provided by: Keat73
Category:

less

Transcript and Presenter's Notes

Title: CS61C Review


1
CS61C Review
  • Midterm Spring 2008

2
Five Elements of a Computer
  • Control
  • Datapath
  • Memory
  • Input
  • Output

3
Negative Numbers
  • Sign/Magnitude
  • One's Complement
  • Two's Complement
  • Pros, Cons of Each

4
C Topics
  • Pointers!
  • malloc, free
  • Handles
  • Pass by Value vs Pass by Reference
  • Arrays
  • Structs
  • typedef

5
Memory Management
  • Static
  • The Stack
  • The Heap

6
Memory ManagementAllocation Schemes
  • Best-fit
  • First-fit
  • Next-fit
  • Slab
  • Buddy

7
MIPS
  • R, I, J format instructions (on your green
    sheet!)
  • MAL vs TAL
  • MIPS to Binary, Binary to MIPS
  • Difference between branches, jumps

8
Various Other Things
  • Floats
  • CALL (Compile, Assemble, Link, Load)

9
Garbage Collection
  • Reference Counting
  • Mark and Sweep
  • Copying
  • Pros and Cons
Write a Comment
User Comments (0)
About PowerShow.com