ICD5 - Type Checking Flashcards

1
Q

When type checking done during program execution, the type system is called ANSWER.

A

dynamic typing

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

When type checking done during program compilation, the type system is called ANSWER.

A

static typing

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

ANSWER typing is when the language implementation ensures that the arguments of an operation are of the type the operation is defined for.

A

Strong

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

ANSWER is the data structure used in language translation to track the binding of variables and functions to their type.

A

A symbol table

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

The different traversals of a syntax tree done during compilation associate information with the nodes of the tree. The technical term for this kind of information is ANSWER.

A

attributes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

ANSWER means that the language allows the same name to be used for different operations over different types.

A

Overloading

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Some languages allow a function to be ANSWER, that is to be defined over a large class of similar types, e.g., over arrays no matter what type their elements are.

A

polymorphic

generic

How well did you know this?
1
Not at all
2
3
4
5
Perfectly