Operating System - Study Mode

[#331] Fragmentation of the file system
Correct Answer

(C) can be temporarily removed by compaction

Explanation

Solution: Fragmentation of the file system can be temporarily removed by compaction

[#332] A non-relocatable program is one which
Correct Answer

(A) can not be made to execute in any area of storage other than the one designated for it at the time of its coding or translation.

Explanation

Solution: A non-relocatable program is one which can not be made to execute in any area of storage other than the one designated for it at the time of its coding or translation.

[#333] Which of the following are(is) Language Processor(s)
Correct Answer

(D) All of the above

Explanation

Solution: Language processor is a software that bridges the execution gap. Input is the source program and output is the target code. Types of language processor are : assembler, compiler and interpreter. Assembler: It converts assembly language program to machine language which computer understands. They produce executable code. Compiler: It converts a high language program to machine language program. Translation process should also tell about the presence of errors in the source program. Interpreter: It bridges the execution gap without generating the machine language code. In this, there is no target code. It executed the code line by line.

[#334] In which addressing mode the effective address of the operand is the contents of a register specified in the instruction and after accessing the operand, the contents of this register is incremented to point to the next item in the list?
Correct Answer

(C) auto increment

Explanation

Solution: Auto Indexed (increment mode): Effective address of the operand is the contents of a register specified in the instruction. After accessing the operand, the contents of this register are automatically incremented to point to the next consecutive memory location.

[#335] The memory allocation scheme subject to "external" fragmentation is
Correct Answer

(A) segmentation

Explanation

Solution: The memory allocation scheme subject to "external" fragmentation is segmentation.