1.2 Linkers Loaders & Development Flashcards

(5 cards)

1
Q

What are Linkers and Loaders ?

A

A linker is software that links the libraries used in code to the main program either by combining it into one file (static) or adding address references( dynamic)
A loader is part of the OS that loads the libraries needed to run code into memory from storage.

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

What is a Library ?

A

Previously compiled code that can be used by any program.
Referenced by a linker or loader.

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

What is ByteCode ?

A

A platform independent compiled code.
Executed by a bytecode interpreter.

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

How does ByteCode work ?

A
  • Source code compiled into bytecode.
  • Bytecode distributed.
  • Interpreted by bytecode interpreter
    on client.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are some advantages of ByteCode ?

A

Good for developers
because it hides your source.

Good for users because it
checks for malicious code.

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