Exam 8: Data Types
Exam 1: Introduction50 Questions
Exam 2: Language Design Criteria50 Questions
Exam 3: Functional Programming50 Questions
Exam 4: Logic Programming50 Questions
Exam 5: Object-Oriented Programming50 Questions
Exam 6: Syntax50 Questions
Exam 7: Basic Semantics50 Questions
Exam 8: Data Types50 Questions
Exam 9: Control I - Expressions and Statements50 Questions
Exam 10: Control II - Procedures and Environments50 Questions
Exam 11: Abstract Data Types and Modules50 Questions
Exam 12: Formal Semantics50 Questions
Exam 13: Parallel Programming51 Questions
Select questions type
The most general type possible for a polymorphic function with a given implementation is called its ____ type.
(Multiple Choice)
4.8/5
(41)
Static type information allows compilers to allocate memory efficiently.
(True/False)
4.7/5
(30)
If information is maintained and checked at runtime,the checking is ____.
(Multiple Choice)
4.9/5
(32)
In C,the Cartesian product type constructor is available as the ____ construction.
(Multiple Choice)
4.9/5
(37)
A union is considered to be discriminated if a tag is added to the union to distinguish the type of the element.
(True/False)
4.8/5
(50)
In C,types that are constructed using type constructors are called derived types.
(True/False)
4.8/5
(48)
A reference is the address of an object under control of the system,which cannot be used as a value or operated on in any way.
(True/False)
5.0/5
(42)
Each type descriptor includes a field called a type form to identify the category of the data type.
(True/False)
4.8/5
(39)
Hindley-Milner type checking assigns type variables to all unnamed types.
(True/False)
4.9/5
(37)
For multidimensional arrays,the column-major form of allocation can be used only if all array indices must be specified together.
(True/False)
4.9/5
(33)
When a structured type is cast,the translation merely ____ the memory as a different type.
(Multiple Choice)
4.9/5
(42)
Showing 21 - 40 of 50
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)