Podcast
Questions and Answers
What is the type of value that constructs a composite value from its component values?
What is the type of value that constructs a composite value from its component values?
- Composite value (correct)
- Recursive value
- Primitive value
- Literal value
In Java, what are the component values used in object constructions?
In Java, what are the component values used in object constructions?
- Literals
- Pointers
- Subexpressions (correct)
- References
What type of expression is a PL construct that may be evaluated to yield a value?
What type of expression is a PL construct that may be evaluated to yield a value?
- Iterative expression
- Conditional expression
- Recursive expression
- Composite expression (correct)
In Ada, what are the component values used in record and array constructions?
In Ada, what are the component values used in record and array constructions?
What distinguishes composite values from primitive values?
What distinguishes composite values from primitive values?
Which PLs allow functions as first-class values?
Which PLs allow functions as first-class values?
In most PLs, how is a function call typically written when the function has a single argument?
In most PLs, how is a function call typically written when the function has a single argument?
How can applying a unary operator to its operand be essentially viewed in terms of function calls?
How can applying a unary operator to its operand be essentially viewed in terms of function calls?
Which type of expression chooses from several subexpressions using a condition?
Which type of expression chooses from several subexpressions using a condition?
What is the important principle related to the representation of values in a computer?
What is the important principle related to the representation of values in a computer?
Which statement about composite variables is NOT true?
Which statement about composite variables is NOT true?
In Ada, what defines a dynamic array?
In Ada, what defines a dynamic array?
In Java, what distinguishes flexible arrays from static and dynamic arrays?
In Java, what distinguishes flexible arrays from static and dynamic arrays?
What defines a static array in C?
What defines a static array in C?
What distinguishes simple variables from composite variables?
What distinguishes simple variables from composite variables?
In the context of storage in imperative or object-oriented programming languages, what does it mean for a variable to be a container for a value?
In the context of storage in imperative or object-oriented programming languages, what does it mean for a variable to be a container for a value?
What characterizes a simple value in the context of storage in programming languages?
What characterizes a simple value in the context of storage in programming languages?
In the abstract model of storage described, what does an allocated storage cell contain?
In the abstract model of storage described, what does an allocated storage cell contain?
What distinguishes composite variables from simple variables in terms of storage?
What distinguishes composite variables from simple variables in terms of storage?
In which type of programming languages does a variable stand for a fixed but unknown value, as in mathematics?
In which type of programming languages does a variable stand for a fixed but unknown value, as in mathematics?