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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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

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

Dynamic type-checking

A

Program is checked for type errors at run-time

intended types need to be known at run-time

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