Data types Flashcards
1
Q
What is a data type?
A
A homogenous collection of values, effectively presented, equipped with a set of operations for manipulating these values
2
Q
Static type-checking
A
The program is checked for type-errors at compile-time
This covers all possible executions of the program
No run-time errors
3
Q
Dynamic type-checking
A
Program is checked for type errors at run-time
intended types need to be known at run-time