Lecture 7: Decomposition, Abstraction, and Functions
An introduction to functions and their decomposition, abstractions, and specifications. Functions allow us to suppress detail from a user and capture computation within a black box. A programmer writes functions with 0 or more inputs and something to return. A function only runs when it is called and the entire function call is replaced with the return value.
Course Info
Instructor
Departments
As Taught In
            Fall
            
              2022
            
          
        Level
Learning Resource Types
    theaters
    Lecture Videos
  
    notes
    Lecture Notes
  
    assignment
    Problem Sets
  
    assignment_turned_in
    Programming Assignments with Examples
  
    
    Readings
  
    
    Problem-solving Notes
  
    
    Podcasts