Names, Scopes, Binding, and Control Flow Flashcards
What is the main driving force behind the design of modern languges?
Ease of programming
High level programming is more a______
Abstract
Abstraction means that complexity becomes
Manageable
What do the following mean:
Name
Binding
Scope
Binding Time
What is static binding vs dynamic binding?
Early binding times have greater ____
Late binding times have greater _____
Early binding times: greater efficiency
Late binding times: greater flexibility
What is the difference between compiled and interpreted languages?
What is the lifetime of name-to-binding?
What is a dangling reference?
When the object’s lifetime is less than the binding’s lifetime
What is the scope of a binding?
The textual region of the program in which the binding is active
What is the difference between the following storage allocation mechanisms:
Static
Stack
Heap
What is static allocation
What is stack-based allocation?
What is a Frame for a subroutine call?
What is heap allocation?
For heap allocation, what are the differene between the following allocation algorithms:
first fit, best fit
pool allocation
Examine some of the differences between explicit deallocation and implicit deallocation?
What is a subroutine entry?
What is a subroutine exit?