Linkers, loaders and libraries Flashcards

1
Q

What is a library?

A

Precompiled, pre-tested sets of code which contain routines available to the programmer. Including or adding a reference to the library makes them available to use.

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

What is a linker?

A

Include links to any library code needed and place into the executable.

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

What is static linking?

A

All code required is included directly into the finished compiled program, this results in large programs.

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

What is dynamic linking?

A

Compiled versions of the library are stored by the computer, and the OS links code required directly into the programs when run. This cuts down on the size of the compiled program.

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

What is a loader?

A

Includes/loads programs into memory ready for use

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