Types Flashcards
1
Q
What do the following mean:
- type equivalence
- type compatability
- type inference
- type clash
A
2
Q
What is a strongly typed language?
A
3
Q
What is a statically typed language? Examples?
A
4
Q
What is a dynamically typed language? Examples?
A
5
Q
What is the difference between structural and name equivalence?
A
6
Q
Is the following an error? Think of equivalence
A
7
Q
What does name equivalence mean? Are aliases of differenent types the same?
A
8
Q
What are strict and loose name equivalences?
A
9
Q
What is the difference between type conversion and type coercion?
A
10
Q
What is type compatability?
A
11
Q
What is type inference?
A
12
Q
Example of type inference
A
13
Q
What is polymorphism?
A
14
Q
What are the 3 types of polymorphism and what do they mean?
A
15
Q
What is static allocation of arrays?
A