CSCI 316: Quiz 5 - Names, Bindings, Scopes
Sign in to Google to save your progress. Learn more
Email *
Last Name *
First Name *
Student Id *
What is the primary purpose of names in programming languages? *
1 point
Which statement best defines a binding? *
1 point
Which attribute is not typically bound to a variable? *
1 point
Binding that occurs before program execution is called: *
1 point
Which binding time is associated with stack-dynamic variables? *
1 point
A variable is best described as: *
1 point
Which category of variables has the shortest lifetime? *
1 point
Which variable category is allocated and deallocated by direct programmer commands? *
1 point
Implicit heap-dynamic variables are most commonly found in: *
1 point
Which is a disadvantage of static variables? *
1 point
The scope of a variable refers to: *
1 point
Which scoping rule binds names based on program structure? *
1 point
Which scoping rule determines bindings based on call sequence? *
1 point
Most modern programming languages use: *
1 point
The referencing environment of a statement is: *
1 point
Lifetime of a variable is defined as: *
1 point
Which is an advantage of dynamic scoping? *
1 point
Which is a major disadvantage of dynamic scoping? *
1 point
Named constants are usually bound at: *
1 point
Which feature most directly improves program reliability? *
1 point
Aliasing occurs when: *
1 point
Excessive aliasing primarily reduces: *
1 point
Which feature most commonly causes aliasing? *
1 point
Under static scoping, nonlocal references are resolved using: *
1 point
Which mechanism supports access to nonlocal variables in nested subprograms? *
1 point
Deep binding determines bindings: *
1 point
Shallow binding determines bindings: *
1 point
Which statement reflects the correct relationship between scope and lifetime? *
1 point
Which design goal is best supported by static scoping? *
1 point
The chapter emphasizes names, bindings, and scopes because they: *
1 point
A copy of your responses will be emailed to the address you provided.
Submit
Clear form
Never submit passwords through Google Forms.
reCAPTCHA
This content is neither created nor endorsed by Google. - Terms of Service - Privacy Policy

Does this form look suspicious? Report