Quiz Sail Part 3 Flashcards
A relative path name begins at the:
A: root
B: stem
C: current directory
D: leaf
C: current directory
A block device transfers:
A: block of bytes as a unit
B: bytes one by one
C: with unpredictable response times
D: none of the mentioned
A: block of bytes as a unit
The address of a page table in memory is pointed by:
A: page register
B: program counter
C: page table base register
D: stack pointer
C: page table base register
A character stream device transfers:
A: bytes one by one
B: none of the mentioned
C: with unpredictable response times
D: block of bytes as a unit
A: bytes one by one
The heads of the magnetic disk are attached to a –?– that moves all the heads as a unit.
A: disk arm
B: spindle
C: none of the mentioned
D: track
A: disk arm
What are zombie systems?
A: These systems are previously compromised, independent systems
B: None of the mentioned
C: They are network of known hacking group
D: Are specific system which are designed to attack by manufacturer
A: These systems are previously compromised, independent systems
If the thread pool contains no available thread:
A: the server goes to another thread pool
B: the server runs a new process
C: the server waits until one becomes free
D: the server demands for a new pool creation
C: the server waits until one becomes free
Managing a disk directory is a key function of the:
A: command processor
B: boot routine
C: file system
D: IOCS
C: file system
A deadlock free solution to the dining philosophers problem:
A: none of the mentioned
B: does not necessarily eliminate the possibility of starvation
C: eliminates any possibility of any kind of problem further
D: necessarily eliminates the possibility of starvation
B: does not necessarily eliminate the possibility of starvation
In the two level directory structure:
A: each user has his/her own user file directory
B: none of the mentioned
C: the system doesn’t its own master file directory
D: all of the mentioned
A: each user has his/her own user file directory
Temporary storage called –?– can be used to adjust for the speed disparity between devices.
A: a control unit
B: a channel
C: a buffer
D: an interface
C: a buffer
The run time mapping from virtual to physical addresses is done by a hardware device called the:
A: Virtual to physical mapper
B: Memory management unit
C: None of the mentioned
D: Memory mapping unit
B: Memory management unit
A –?– is a set of wires and a rigidly defined protocol that specifies a set of messages that can be sent on the wires.
A: node
B: bus
C: port
D: none of the mentioned
B: bus
What is Trojan horse?
A: It is a user which steals valuable information
B: It is a rogue program which tricks users
C: It’s a brute force attack algorithm
D: It is a useful way to encrypt password
B: It is a rogue program which tricks users
The only state transition that is initiated by the user process itself is:
A: wakeup
B: block
C: none of the mentioned
D: dispatch
B: block
A machine in Network file system (NFS) can be:
A: neither client nor server
B: both client and server
C: client
D: server
B: both client and server
Multithreading an interactive program will increase responsiveness to the user by:
A: none of the mentioned
B: asking the user to decide the order of multithreading
C: waiting for one part to finish before the other begins
D: continuing to run even if a part of it is blocked
D: continuing to run even if a part of it is blocked
When several processes access the same data concurrently and the outcome of the execution depends on the particular order in which the access takes place, is called:
A: race condition
B: essential condition
C: dynamic condition
D: critical condition
A: race condition
For processes to request access to file contents, they need to:
A: they need to run a seperate program
B: none of the mentioned
C: implement the open and close system calls
D: they need special interrupts
C: implement the open and close system calls
Operating system routines that directly support application programs as they run are generally:
A: dynamic
B: transient
C: resilient
D: resident
D: resident
When the process issues an I/O request:
A: It is placed in the ready queue
B: It is placed in an I/O queue
C: It is placed in a waiting queue
D: It is placed in the Job queue
B: It is placed in an I/O queue
Message passing system allows processes to:
A: name the recipient or sender of the message
B: communicate with one another by resorting to shared data
C: share data
D: communicate with one another without resorting to shared data
D: communicate with one another without resorting to shared data
A mutex:
A: None of the mentioned
B: must be accessed from only one process
C: can be accessed from multiple processes
D: is a binary mutex
B: must be accessed from only one process
The CPU hardware has a wire called –?– that the CPU senses after executing every instruction.
A: interrupt bus
B: interrupt sense line
C: interrupt receive line
D: interrupt request line
D: interrupt request line
A swapper manipulates –?– whereas the pager is concerned with individual –?– of a process.
A: the entire process, parts
B: all the pages of a process, segments
C: none of the mentioned
D: the entire process, pages
D: the entire process, pages
The major part of swap time is –?– time.
A: waiting
B: none of the mentioned
C: execution
D: transfer
D: transfer
What is a medium-term scheduler?
A: None of the mentioned
B: It selects which process to remove from memory by swapping
C: It selects which process has to be executed next and allocates CPU
D: It selects which process has to be brought into the ready queue
B: It selects which process to remove from memory by swapping
Thread pools limit the number of threads that exist at any one point, hence:
A: none of the mentioned
B: helping a limited number of processes at a time
C: not serving all requests and ignoring many
D: not letting the system resources like CPU time and memory exhaust
D: not letting the system resources like CPU time and memory exhaust
Dispatch latency is:
A: the time of dispatching a process from running to ready state and keeping the CPU idle
B: none of the mentioned
C: the time to stop one process and start running another one
D: the speed of dispatching a process from running to the ready state
C: the time to stop one process and start running another one
Semaphore is a/an –?– to solve the critical section problem.
A: integer variable
B: none of the mentioned
C: hardware for a system
D: special program for a system
A: integer variable
Because of virtual memory, the memory can be shared among:
A: processes
B: none of the mentioned
C: instructions
D: threads
A: processes
What is role of base/bound registers?
A: This technique doesn’t protects a program’s address from modification by another user
B: Program’s addresses are neatly confined to space between the base and the bound registers
C: They give starting address to a program
D: They provide encrypted environment
B: Program’s addresses are neatly confined to space between the base and the bound registers
In priority scheduling algorithm, when a process arrives at the ready queue, its priority is compared with the priority of:
A: currently running process
B: init process
C: parent process
D: all process
A: currently running process
If key routines are stored –?–, a programmer can incorporate them in his or her program and thus avoid rewriting them.
A: on disk
B: in a library
C: in an object
D: in memory
B: in a library
There is no –?– with linked allocation.
A: all of the mentioned
B: starvation
C: internal fragmentation
D: external fragmentation
D: external fragmentation
A collection of instructions that performs a single logical function is called:
A: transaction
B: operation
C: function
D: all of the mentioned
A: transaction
Smaller page tables are implemented as a set of:
A: queues
B: counters
C: registers
D: stacks
C: registers
In the –?– algorithm, the disk arm starts at one end of the disk and moves toward the other end, servicing requests till the other end of the disk. At the other end, the direction is reversed and servicing continues.
A: C-SCAN
B: C-LOOK
C: LOOK
D: SCAN
D: SCAN
An actual update is not allowed to a data item:
A: before the corresponding log record is written out to stable storage
B: all of the mentioned
C: until the whole log record has been checked for inconsistencies
D: after the corresponding log record is written out to stable storage
A: before the corresponding log record is written out to stable storage
Time taken in memory access through PTBR is:
A: slowed by a factor of 2
B: extended by a factor of 2
C: slowed by a factor of 3
D: extended by a factor of 3
A: slowed by a factor of 2
Logical memory is broken into blocks of the same size called:
A: none of the mentioned
B: pages
C: backing store
D: frames
B: pages
When a cycle exists, the reference count maybe non zero, even when it is no longer possible to refer to a directory or file, due to:
A: the possibility of one hidden reference
B: the possibility of two hidden references
C: none of the mentioned
D: the possibility of self referencing
D: the possibility of self referencing
The priority of a process will –?– if the scheduler assigns it a static priority.
A: none of the mentioned
B: remain unchanged
C: change
D: depends on the operating system
B: remain unchanged
The state of a process is defined by:
A: the activity just executed by the process
B: the current activity of the process
C: the activity to next be executed by the process
D: the final activity of the process
B: the current activity of the process
Each entry in a segment table has a:
A: segment peak
B: none of the mentioned
C: segment base
D: segment value
C: segment base
When keeping a list of all the links/references to a file, and the list is empty, implies that:
A: the file has no copies
B: none of the mentioned
C: the file is deleted
D: the file is hidden
C: the file is deleted
A file control block contains the information about:
A: file ownership
B: all of the mentioned
C: file permissions
D: location of file contents
B: all of the mentioned
File system fragmentation occurs when:
A: used space is not contiguous
B: multiple files are non-contiguous
C: unused space or single file are not contiguous
D: unused space is non-contiguous
C: unused space or single file are not contiguous
Scheduling is:
A: making proper use of processor
B: all of the mentioned
C: none of the mentioned
D: allowing a job to use the processor
D: allowing a job to use the processor
The segment limit contains the:
A: starting logical address of the process
B: none of the mentioned
C: starting physical address of the segment in memory
D: segment length
D: segment length
As disks have relatively low transfer rates and relatively high latency rates, disk schedulers must reduce latency times to:
A: reduce data transfer speeds
B: ensure high bandwidth
C: make sure data is transferred
D: ensure low bandwidth
B: ensure high bandwidth
In –?– information is recorded magnetically on platters.
A: magnetic disks
B: assemblies
C: electrical disks
D: cylinders
A: magnetic disks
In segmentation, each address is specified by:
A: a value & segment number
B: an offset & value
C: a segment number & offset
D: a key & value
C: a segment number & offset
A –?– is a full duplex connection between a device driver and a user level process.
A: Stream
B: Bus
C: Flow
D: I/O operation
A: Stream
If exec is called immediately after forking:
A: all the threads will be duplicated
B: none of the mentioned
C: the program specified in the parameter to exec will replace the entire process
D: all the threads may be duplicated
C: the program specified in the parameter to exec will replace the entire process
The time taken to move the disk arm to the desired cylinder is called the:
A: positioning time
B: rotational latency
C: random access time
D: seek time
D: seek time
The code that changes the value of the semaphore is:
A: none of the mentioned
B: non – critical section code
C: critical section code
D: remainder section code
C: critical section code
The address of the next instruction to be executed by the current process is provided by the:
A: Pipe
B: Program counter
C: Process stack
D: CPU registers
B: Program counter
Transient operating system code is code that:
A: never enters the memory space
B: comes and goes as needed
C: stays in the memory always
D: is not easily accessible
B: comes and goes as needed
With –?– a requested page and several subsequent pages are read and cached.
A: read ahead
B: free-behind
C: add-front
D: write ahead
A: read ahead
The essential content(s) in each entry of a page table is / are:
A: Virtual page number
B: Page frame number
C: Both virtual page number and page frame number
D: Access right information
B: Page frame number
Swapping requires a:
A: keyboard
B: backing store
C: monitor
D: motherboard
B: backing store
CPU fetches the instruction from memory according to the value of:
A: program counter
B: status register
C: program status word
D: instruction register
A: program counter
The process of dividing a disk into sectors that the disk controller can read and write, before a disk can store data is known as:
A: partitioning
B: swap space creation
C: low-level formatting
D: none of the mentioned
C: low-level formatting
Using transient code, –?– the size of the operating system during program execution.
A: increases
B: decreases
C: changes
D: maintains
C: changes
One difficulty of contiguous allocation is:
A: finding space for a new file
B: costly
C: inefficient
D: time taking
A: finding space for a new file
In the optimized technique for sequential access –?– removes a page from the buffer as soon as the next page is requested.
A: write ahead
B: free-behind
C: add-front
D: read ahead
B: free-behind
The main problem with access control lists is:
A: all of the mentioned
B: their maintenance
C: their permissions
D: their length
D: their length
An admission control scheme assigns a –?– to each type of resource.
A: resource manager
B: all of the mentioned
C: processor
D: memory location
A: resource manager
Which is an unsolvable problem in access-matrix?
A: Owner override
B: Access denied
C: Brute force
D: Confinement
D: Confinement
The stub provided by an RPC:
A: packs the parameters into a form transmittable over the network
B: transmits the message to the server where the server side stub receives the message and invokes procedure on the server side
C: locates the port on the server
D: all of the mentioned
D: all of the mentioned
The internal code of any software that will set of a malicious function when specified conditions are met, is called:
A: code stacker
B: logic bomb
C: trap door
D: none of the mentioned
B: logic bomb
A single parity bit can be used for:
A: all of the mentioned
B: few error corrections
C: detection
D: multiple error corrections
C: detection
For large files, when the index itself becomes too large to be kept in memory:
A: index is called
B: secondary index files are created
C: all of the mentioned
D: an index is created for the index file
D: an index is created for the index file
A situation where several processes access and manipulate the same data concurrently and the outcome of the execution depends on the particular order in which access takes place is called:
A: aging
B: race condition
C: data consistency
D: starvation
B: race condition
The wait-for graph is a deadlock detection algorithm that is applicable when:
A: all resources have multiple instances
B: all resources have a single 7 multiple instance
C: all of the mentioned
D: all resources have a single instance
D: all resources have a single instance
The disadvantage of the two level directory structure is that:
A: it does not solve the name collision problem
B: it solves the name collision problem
C: it does not isolate users from one another
D: it isolates users from one another
D: it isolates users from one another
In UNIX, the open system call returns:
A: a file to the process calling it
B: pointer to the entry in the open file table
C: pointer to the entry in the system wide table
D: none of the mentioned
B: pointer to the entry in the open file table
Each physical device attached to an MS-DOS system is described in a special file called a(n):
A: FAT
B: interrupt vector
C: block routine
D: device driver
D: device driver
The processes that are residing in main memory and are ready and waiting to execute are kept on a list called:
A: process queue
B: job queue
C: ready queue
D: execution queue
C: ready queue
The –?– present 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: Buses
C: I/O systems
D: Devices
A: Device drivers
Reliability of files can be increased by:
A: keeping the files safely in the memory
B: by keeping them in external storage
C: making a different partition for the files
D: by keeping duplicate copies of the file
D: by keeping duplicate copies of the file
In a –?– real time system, it is guaranteed that critical real time tasks will be completed within their deadlines.
A: soft
B: none of the mentioned
C: critical
D: hard
D: hard
Which of the following is not the state of a process?
A: New
B: Running
C: Waiting
D: Old
D: Old
A solution to the problem of external fragmentation is:
A: compaction
B: smaller memory space
C: none of the mentioned
D: larger memory space
A: compaction
Which of the following need not necessarily be saved on a context switch between processes?
A: All of the mentioned
B: General purpose registers
C: Translation lookaside buffer
D: Program counter
C: Translation lookaside buffer