SPOS MCQ With Answers - 1
SPOS MCQ
SYSTEM PROGRAMMING AND OPERATING SYSTEM (SPOS) MCQ With Answer
1. Intermediate code in Two pass assembler is responsible to store _____
2. Address of oprand
3. Address of literal
4. None of above
2. Consider the following statements and select correct option.
1. Macro Assembler perform expansion and genrate object code.2. Macro Pre Processor can not genrate object code.
3. Both option A and option B is False.
4. Both option A and option B is True.
3. The program that combines the output of compiler with various library functions to produce an executable image is called
1. Loader2. Linker
3. Assembler
4. Debugger
4. In process scheduling, ________ determines when new processes are admitted to the system.
1. long term scheduling2. medium term scheduling
3. short term scheduling
4. none of the above
5. A process holding at least one resource is waiting to acquire additional resources held by other processes
1. Mutual exclusion2. Hold and Wait
3. No Preemption
4. Circular Wait
6. A pair of base and limit registers define the logical address space
1. True2. False
7. In a single pass assembler, most of the forward references can be avoided by putting the restriction
1. that the data segment must be defined after the code segment2. on the number of strings / life reacts
3. on unconditional rump
4. None of these
8. A Macro can be defined as
1.Beginning of a program2. End of a program
3. After initialisation of program
4. Anywhere in a program
9. Where are placed the list of processes that are prepared to be executed and waiting?
1. Job queue2. Ready queue
3. Execution queue
4. Process queue
10. What Produces the smallest leftover hole?
1. First Fit2. worst Fit
3. Best Fit
4. None Of Above
11. _________ = Max[ i, j] – Allocation [ i, j]
1. Available[j]2. Max [ i , j]
3. Need [ i, j]
4. Allocation [ i ,j ]
12. Assembly languages were developed to provide ?
1. Mnemonics2. Symbols
3. Both A and B
4. None of the above
13. the basic task of a macro processor are
1. Recognize macro calls2. Recognize and save macro definition
3. Expand macro calls
4. All of the above
14. A Compiler is a program that _________ .
1. Places programs into memory and prepares then for execution.2. Automates the translation of assemble language into machine language.
3. Accepts a program written in a high level language and produces an object program
4. Appears to execute a resource as if it were machine language.
15. A Process is ________ .
A program in executionAn instance of a program running on a computer.
The entity that can be assigned to and executed
All of the above.
16. A situation in which multiple threads or processes read and write a shared data item and the final result depends on the relative timing of their execution.
1. Mutual Exclusion2. Deadlock
3. Race Condition
4. Livelock
17. Total memory space exists to satisfy a request, but it is not contiguous
1. Internal Fragmentation2. External Fragmentation
3. Relocation
4. Allocation
18. _________ is not a phase of Assembler.
1. Syntax2. Lexical
3. Semantic
4. Error correction
19. A Macro Processor can be
1. Only single pass2. Both single and double pass
3. Only double pass
4. None of the above
20. Static memory allocation is typically performed during ________ .
1. Compilation2. Execution
3. Loading
4. Linking
Post a Comment