Feb06 - CSE262 Programming Languages Instructor Dr Liang Cheng Department of Computer Science and Engineering P.C Rossin College of Engineering

Info iconThis preview shows pages 1–8. Sign up to view the full content.

View Full Document Right Arrow Icon
CSE262: Programming Languages Instructor: Dr. Liang Cheng Department of Computer Science and Engineering P.C. Rossin College of Engineering & Applied Science Lehigh University February 6, 2007
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Instructor: Dr. Liang Cheng CSE262: Programming Languages 02/06/07 Outline ± Recap ± Binding ± Scope ± Summary and homework
Background image of page 2
Instructor: Dr. Liang Cheng CSE262: Programming Languages 02/06/07 You should now be able to … ± Know the difference between the r - value and r -value of a variable; ± List various binding times; and ± Describe different binding types of type binding.
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Instructor: Dr. Liang Cheng CSE262: Programming Languages 02/06/07 Binding ± A binding is an association, such as between an attribute and an entity, or between an operation and a symbol ± Binding time is the time at which a binding takes place ± Language design time, Language implementation time or Compiler design time, Compile time, Load time, Runtime or Execution time Binding ± Concepts ± Type binding ± Storage binding variable: name, address, value, type, lifetime, scope
Background image of page 4
Instructor: Dr. Liang Cheng CSE262: Programming Languages 02/06/07 You should now be able to … ± Know the difference between the r - value and r -value of a variable; ± List various binding times; and ± Describe different binding types of type binding.
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Instructor: Dr. Liang Cheng CSE262: Programming Languages 02/06/07 Type Binding ± Before referencing a variable ± When does the type binding take place? ± Static vs. dynamic ± How is a type specified? ± Explicit vs. implicit Binding ± Concepts ± Type binding ± Storage binding variable: name, address, value, type , lifetime, scope
Background image of page 6
Instructor: Dr. Liang Cheng CSE262: Programming Languages 02/06/07 Storage Binding/Lifetime ± Storage bindings ± Allocation - getting a cell from some pool of available cells ± Deallocation - putting a cell back into the pool ± The lifetime of a variable is the time during which it is bound to a particular memory cell ± When does the storage binding occur?
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 8
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 08/06/2008 for the course CSE 262 taught by Professor Cheng during the Spring '07 term at Lehigh University .

Page1 / 24

Feb06 - CSE262 Programming Languages Instructor Dr Liang Cheng Department of Computer Science and Engineering P.C Rossin College of Engineering

This preview shows document pages 1 - 8. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online