Exam 7: Basic Semantics

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

____ binding occurs during execution.

(Multiple Choice)
4.9/5
(45)

Garbage is defined as ____.

(Multiple Choice)
4.8/5
(37)

Locations are places where values can be stored.

(True/False)
4.8/5
(38)

If an operator performs more than one function it is said to be ____.

(Multiple Choice)
4.7/5
(31)

Java uses assignment by cloning for all object variables.

(True/False)
4.8/5
(41)

A(n)____ occurs when the same object is bound to two different names at the same time.

(Multiple Choice)
4.8/5
(39)

A ____ constant is a name for a literal.

(Multiple Choice)
4.7/5
(47)

Static binding occurs during execution.

(True/False)
4.8/5
(45)

Dangling references are locations that have been deallocated from the environment but can still be accessed by a program.

(True/False)
4.8/5
(41)

Binding time refers to when an attribute is computed and bound to a name.

(True/False)
4.8/5
(37)

____ declarations are associated with a specific block.

(Multiple Choice)
4.9/5
(45)

A pointer is an object whose stored value is a(n)____.

(Multiple Choice)
4.9/5
(41)

The bindings of ____ to storage locations is called the memory.

(Multiple Choice)
4.9/5
(32)

Declaration visibility includes only those regions of a program where the bindings of the declaration apply.

(True/False)
4.6/5
(32)

A translator's symbol table stores the mappings between names and attributes.

(True/False)
4.8/5
(43)

Any scoping structure that can be referenced directly in a language must have its own symbol table.

(True/False)
4.8/5
(39)

In C,blocks are called compound statements.

(True/False)
4.8/5
(38)

A ____ is an object whose stored value can change during execution.

(Multiple Choice)
4.9/5
(38)

A fundamental abstraction mechanism in any programming language is the use of names,or identifiers to denote language entities or constructs.

(True/False)
4.7/5
(45)

In C,the ____ operator retrieves the address of a variable as a pointer.

(Multiple Choice)
4.8/5
(41)
Showing 21 - 40 of 50
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)