Skip to content

perdel/sicp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 

Repository files navigation

Structure and Interpretation of Computer Programs

1 Building Abstractions with Procedures

1.1 The Elements of Programming

1.1.1 Expressions

  • Start with simple Lisp expressions.

1.1.2 Naming and the Environment

  • Using definitions

1.1.3 Evaluating Combinations

  • Evaluate subexpressions and apply operator to operands

1.1.4 Compound Procedures

  • Define procedures

1.1.5 The Substitution Model for Procedure Application

  • Describe substitution model
  • Distinguish applicative oder from normal order

1.1.6 Conditional Expressions and Predicates

  • Define conditional expressions
    • Use predicate case-based predicates
    • Use else clause
    • Use special form if
  • Use logical compound operations

Exercises 1.1 – 1.5

  • Exercise 1.1
  • Exercise 1.2
  • Exercise 1.3
  • Exercise 1.4
  • Exercise 1.5

1.1.7 Example: Square Roots by Newton's Method

  • Compute square roots to illustrate procedures

Exercises 1.6 - 1.8

  • Exercise 1.6
  • Exercise 1.7
  • Exercise 1.8

1.1.8 Procedures as Black-Box Abstractions

  • Consider procedural abstractions with sqrt
  • Illustrate local names and bound variables
  • Discuss internal definitions and block structures

About

My effort to digest the wizard book.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages