Operating Systems Aptitude Questions - Set 14 - ObjectiveBooks

Operating Systems Aptitude Questions - Set 14

Practice Test: Question Set - 14


1. A page fault
    (A) Is an error is a specific page
    (B) Occurs when a program accesses a page of memory
    (C) Is an access to a page not currently in memory
    (D) Is a reference to a page belonging to another program

2. Relocation bits used by relocating loader are specified (generated) by
    (A) Relocating loader itself
    (B) Linker
    (C) Assembler or translator
    (D) Macro processor

3. Trojan-Horse programs
    (A) Are legitimate programs that allow unauthorized access
    (B) Do not usually work
    (C) Are hidden programs that do not show up on the system
    (D) Usually are immediately discovered

4. System maintenance:
    (A) Is usually not necessary
    (B) Is necessary on all systems, regardless of how good
    (C) Is not required if the system is well written
    (D) Always requires several programs

5. The details of all external symbols and relocation formation (relocation list or map) is provided to linker by
    (A) Macro processor
    (B) Translator
    (C) Loader
    (D) Editor

6. In analyzing the compilation of PL/I program, the term "Syntax analysis" is associated with
    (A) Recognition of basic syntactic constructs through reductions
    (B) Recognition of basic elements and creation of uniform symbols
    (C) Creation of more optional matrix
    (D) Use of macro processor to produce more optimal assembly code

7. Swapping
    (A) Works best with many small partitions
    (B) Allows many programs to use memory simultaneously
    (C) Allows each program in turn to use the memory
    (D) Does not work with overlaying

8. The primary purpose of an operating system is to:
    (A) Make computer easier to use
    (B) Keep system programmers employed
    (C) Make the most efficient use of the hardware
    (D) Allow people to sue the computers

9. A translator which reads an entire programme written in a high level language and converts it into machine language code is:
    (A) Assembler
    (B) Translator
    (C) Compiler
    (D) System software

10. A self-relocating program is one which
    (A) Cannot be made to execute in any area of storage other than the one designated for it at the time of its coding or translation
    (B) Consists of a program and relevant information for its relocation
    (C) Can itself performs the relocation of its address-sensitive portions
    (D) All of the above

11. The working set theory of programming behavior of processes running within an operating system involves
    (A) The collection of pages that a process accesses
    (B) Disk scheduling mechanisms
    (C) Coalescing holes in memory
    (D) Assigning the CPU to processes

12. Backups should be done
    (A) Daily for most installations
    (B) Weekly for most installations
    (C) As several image copies, followed by an incremental
    (D) As several incremental, followed by an image copy

13. An algorithm is best described as
    (A) A computer language
    (B) A step by step procedure for solving a problem
    (C) A branch of mathematics
    (D) All of the above

14. In which addressing mode, the effective address of the operand is generated by adding a constant value to the contents of register?
    (A) Absolute mode
    (B) Indirect mode
    (C) Immediate mode
    (D) Index mode

15. The CPU, after receiving an interrupt from an I/O device
    (A) Halts for a predetermined time
    (B) Hands over control of address bus and data bus to the interrupting device
    (C) Branches off to the interrupt service routine immediately
    (D) Branches off to the interrupt service routine after completion of the current instruction

Show and hide multiple DIV using JavaScript View All Answers

 Next Tests: