recategorized by
2,221 views
0 votes
0 votes

Among all given option, ____ must reside in the main memory.

  1. Assembler
  2. Compiler
  3. Linker
  4. Loader
recategorized by

2 Answers

0 votes
0 votes
→ A loader is the part of an operating system that is responsible for loading programs and libraries.
→ It is one of the essential stages in the process of starting a program, as it places programs into memory and prepares them for execution.
→ Loading a program involves reading the contents of the executable file containing the program instructions into memory, and then carrying out other required preparatory tasks to prepare the executable for running.
→ Once loading is complete, the operating system starts the program by passing control to the loaded program code.
Note: The loader is a program that loads the object program from the secondary memory into the main memory for execution of the program
0 votes
0 votes

Previous year GATE question.

Loader is a program that loads machine codes of a program into the system memory.In Computing, a loader is the part of an Operating System that is responsible for loading programs. It is one of the essential stages in the process of starting a program. Because it places programs into memory and prepares them for execution. Loading a program involves reading the contents of executable file into memory.  Once loading is complete, the operating system starts the program by passing control to the loaded program code. All operating systems that support program loading have loaders.

In many operating systems the loader is permanently resident in memory. So D is correct.

Ref: https://gateoverflow.in/1662/gate1998-1-25-isro2008-41

Answer:

Related questions

1 votes
1 votes
3 answers
1
Arjun asked Dec 7, 2018
2,075 views
The context free grammar $S \rightarrow aSb \mid bSa \mid \epsilon$ generates:Equal number of a’s and b’sUnequal number of a’s and b’sAny number of a’s followed...
1 votes
1 votes
3 answers
2
Arjun asked Dec 7, 2018
1,209 views
The language $\{ W^a X^b Y^{a+b} \mid a, b, >1\}$ isRegularContext-free but not regularContext sensitive but not context freeType$=0$ but not context sensitive
0 votes
0 votes
4 answers
3
Arjun asked Dec 7, 2018
2,718 views
Identify the total number of tokens in the given statementprintf("A%B=",&i);$7$$8$$9$$13$
1 votes
1 votes
2 answers
4
Arjun asked Dec 7, 2018
4,439 views
Which of the following code replacements is an example of operator strength reduction?Replace $ \text{P^2} $ by $P^*P$Replace $ P^*16$ by $P<<4$Replace $ \text{pow}(P,3) ...