2.1 Key differences Flashcards
1
Q
What is a function vs procedure?
A
A function is a set of instructions or a block of code designed to perform a specific task. A procedure on the other hand is a function, that does not return any output.
2
Q
Differentiate between Abstract Datatype, and a data structure
A
An ADT is a conceptual definition of data, while a data structure is the concrete implementation of an ADT
3
Q
A