Operating System Question-Answer Part 2

Q.1 Swapping _______ be done when a process has pending I/O, or has to execute I/O operations only into operating system buffers.

       A. must never

       B. must

       C. can

       D. maybe

Ans : must never


Q.2 The main memory accommodates ____________.

       A. Operating System

       B. CPU

       C. User processes

       D. All of the above

Ans : Operating System


Q.3 The operating system is responsible for?

       A. bad-block recovery

       B. booting from disk

       C. disk initialization

       D. All of the above

Ans : All of the above


Q.4 The operating system and the other processes are protected from being modified by an already running process because ____________.

       A. Every address generated by the CPU is being checked against the relocation and limit registers

       B. They have a protection algorithm

       C. They are in different memory spaces

       D. They are in different logical addresses

Ans : every address generated by the CPU is being checked against the relocation and limit registers


Q.5 using transient code, _______ the size of the operating system during program execution.

       A. maintains

       B. changes

       C. decreases

       D. increases

Ans : changes


Q.6 The operating system maintains a ______ table that keeps track of how many frames have been allocated, how many are there, and how many are available.

       A. Memory

       B. Mapping

       C. Page

       D. Frame

Ans : Frame


Q.7 To obtain better memory utilization, dynamic loading is used. With dynamic loading, a routine is not loaded until it is called. For implementing dynamic loading ____________.

       A. Special support from operating system is essential

       B. Special support from hardware is required

       C. User programs can implement dynamic loading without any special support from hardware or operating system

       D. Special support from both hardware and operating system is essential

Ans : User programs can implement dynamic loading without any special support from hardware or operating system


Q.8 The _________ presents a uniform device-access interface to the I/O subsystem, much as system calls provide a standard interface between the application and the operating system.

       A. Device drivers

       B. I/O systems

       C. Devices

       D. Buses

Ans : Device drivers


Q.9 In real time operating system ____________.

       A. Process scheduling can be done only once

       B. All processes have the same priority

       C. Kernel is not required

       D. A task must be serviced by its deadline period

Ans : A task must be serviced by its deadline period


Q.10 Hard real time operating system has ______________ jitter than a soft real time operating system.

       A. Equal

       B. More

       C. Less

       D. None of the above

Ans : Less


Q.11 For real time operating systems, interrupt latency should be ____________.

       A. Minimal

       B. Zero

       C. Maximum

       D. Dependent on the scheduling

Ans : Minimal


Q.12 Which one of the following is a real time operating system?

       A. Windows CE

       B. RTLinux

       C. VxWorks

       D. All of the mentioned

Ans : All of the mentioned


Q.13 The priority of a process will ______________ if the scheduler assigns it a static priority.

       A. depends on the operating system

       B. change

       C. remain unchanged

       D. sdasd

Ans : remain unchanged


Q.14 If the sum of the working – set sizes increases, exceeding the total number of available frames ____________.

       A. the system crashes

       B. the memory overflows

       C. the operating system selects a process to suspend

       D. then the process crashes

Ans : the operating system selects a process to suspend


Q.15 What are the characteristics of stack based IDS?

       A. It is programmed to interpret a certain series of packets

       B. It is programmed to interpret a certain series of packets

       C. They are integrated closely with the TCP/IP stack and watch packets

       D. The host operating system logs in the audit information

Ans : They are integrated closely with the TCP/IP stack and watch packets


Q.16 What are the characteristics of Host based IDS?

       A. Logs are analysed to detect tails of intrusion

       B. The host operating system logs in the audit information

       C. The host operating system logs in the audit information

       D. All of the mentioned

Ans : All of the mentioned


Q.17 The information about all files is kept in ____________.

       A. Operating System

       B. Separate directory structure

       C. Swap space

       D. none of the mentioned

Ans : Separate directory structure


Q.18 The operating system keeps a small table containing information about all open files called ____________.

       A. File table

       B. Directory table

       C. Open-file table

       D. System table

Ans : Open-file table


Q.19 What will happen in the single level directory?

       A. All files are contained in the same directory

       B. All files are contained in different directories all at the same level

       C.All files are contained in different directories all at the same level

       D. None of the mentioned

Ans : All files are contained in the same directory


Q.20 The operating system _______ the links when traversing directory trees, to preserve the acyclic structure of the system.

       A. deletes

       B. considers

       C. ignores

       D. None of the aboce

Ans : ignores


Leave a Comment