Exam 8: Data Types

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

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)

Static type checking occurs at runtime.

(True/False)
4.7/5
(41)

Ada is a language with no explicit types.

(True/False)
4.8/5
(36)

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)

In Ada,simple data types are called scalar types.

(True/False)
4.8/5
(40)

Explicit conversions are often referred to as ____.

(Multiple Choice)
4.8/5
(28)

Hindley-Milner type checking assigns type variables to all unnamed types.

(True/False)
4.9/5
(37)

A data type is a(n)____.

(Multiple Choice)
4.8/5
(30)

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)

Type declaration is the process of ____.

(Multiple Choice)
4.8/5
(36)

The type system is the naming convention for data types.

(True/False)
4.9/5
(39)

Explicit typing can be used to remove ambiguities in programs.

(True/False)
4.9/5
(40)

Subset types inherit operations from their parent types.

(True/False)
4.8/5
(27)
Showing 21 - 40 of 50
close modal

Filters

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