Showing posts with label Operating System (Set IV). Show all posts
Showing posts with label Operating System (Set IV). Show all posts

Wednesday, August 20, 2008

Operating System - 12

LIST OF ATTEMPTED QUESTIONS AND ANSWERS

Multiple Choice Multiple Answer
Question
Kernel threads are generally :-
Correct Answer
Slower to create , Difficult to manage
Your Answer
Slower to create , Difficult to manage

Select The Blank
Question
If the user-supplied password matches the password stored in the system, the system assumes that the user is ________.
Correct Answer
Legitimate
Your Answer
Legitimate

Multiple Choice Single Answer
Question
In general , the access matrix will be :-
Correct Answer
Sparse
Your Answer
Sparse

True/False
Question
Encryption is one common method of protecting information that is transmitted over unreliable links.
Correct Answer
True
Your Answer
False

Select The Blank
Question
A ________ is a full duplex connection between a device driver and a user-level process.
Correct Answer
Stream
Your Answer
Stream

Multiple Choice Single Answer
Question
In how many number of classes does the NRU algorithm divides pages, depending on the state of R and M?
Correct Answer
4
Your Answer
8

Select The Blank
Question
The Pentium page size is fixed at ________ KB.
Correct Answer
4
Your Answer
4

True/False
Question
Volatile storage loses its contents when the power to the device is removed.
Correct Answer
True
Your Answer
True

Multiple Choice Multiple Answer
Question
The movement of information between levels of a storage hierarchy may be of two types depending on the hardware design and the controlling operating system software such as :-
Correct Answer
Explicit , Implicit
Your Answer
Explicit , Implicit

Select The Blank
Question
In queuing diagram, the arrow indicates the flow of ________ in the system.
Correct Answer
Processes
Your Answer
Processes

Multiple Choice Multiple Answer
Question
What are the forms of malicious access?
Correct Answer
Unauthorized reading of data , Unauthorized modification of data , Unauthorized destruction of data
Your Answer
Unauthorized reading of data , Unauthorized modification of data , Unauthorized destruction of data

Select The Blank
Question
A bit called the ________ , is added to the hardware of the computer to indicate the current mode.
Correct Answer
Mode bit
Your Answer
Mode bit

Multiple Choice Multiple Answer
Question
In Windows NT , kernel uses which two sets of objects?
Correct Answer
Dispatcher objects , Control objects
Your Answer
Dispatcher objects , Complex objects

Multiple Choice Single Answer
Question
The smallest addressable portion of a disk is :-
Correct Answer
Sector
Your Answer
Sector

True/False
Question
In FIFO algorithm the page removed from memory is the one which most recently used.
Correct Answer
False
Your Answer
False

Select The Blank
Question
A process is ________, if it cannot affect or be affected by the other processes executing in the system.
Correct Answer
Independent
Your Answer
Independent

Multiple Choice Multiple Answer
Question
Linux presents standard interfaces to whom?
Correct Answer
Programmer , User
Your Answer
Programmer , User , System administrator

Select The Blank
Question
The kernel module that controls a device is a ________ .
Correct Answer
Device driver
Your Answer
Device daemon

True/False
Question
Whenever a trap or interrupt occurs, the hardware switches from user mode to monitor mode.
Correct Answer
True
Your Answer
True

Select The Blank
Question
A ________ is a computer or router that sits between the trusted and untrusted systems.
Correct Answer
Firewall
Your Answer
Firewall

Multiple Choice Multiple Answer
Question
Find out the basic I/O hardware elements from the following :-
Correct Answer
Ports , Buses , Device controllers
Your Answer
Ports , Buses , Device controllers

True/False
Question
Object-oriented programming focuses on the integrated data and functionality as discrete units that have both knowledge (data) and capabilities (functions). Procedural programs, on the other hand, focus on functions and how they act on data.
Correct Answer
True
Your Answer
True

Match The Following
Question
Correct Answer
Your Answer
User mode
Mode bit 1
Mode bit 1
Serial port
Modem
Monitor mode
Parallel port
Printer
Printer
Privileged instructions
Monitor mode
Mode bit 0

True/False
Question
In segmentation the total address space can exceed the size of physical memory.
Correct Answer
True
Your Answer
False

Multiple Choice Single Answer
Question
Because of the concept of independent objects responding to messages, object orientation is a natural way to implement
Correct Answer
Event driven programming
Your Answer
Message deiven programming

Multiple Choice Single Answer
Question
In UNIX, everything below the system-call interface and above the physical hardware is the :-
Correct Answer
Kernel
Your Answer
I/O system

Multiple Choice Multiple Answer
Question
Different multithreading models available are :-
Correct Answer
Many-to-one model , One-to-one model , Many-to-many model
Your Answer
Many-to-one model , One-to-one model , Many-to-many model

Multiple Choice Multiple Answer
Question
An object type in windows NT is a system defined data type that has two things associated with it, which are they?
Correct Answer
Set of attributes , Set of methods
Your Answer
Object-type , Object-processing

Multiple Choice Multiple Answer
Question
When memory reference occurs in MULTICS the things which takes place are :-
Correct Answer
Segment number is used to find segment descriptor , Check is made to see if segment's page table is in memory , Page table entry for requested virtual page is examined , Offset is added to the page origin to give main memory address
Your Answer
Segment number is used to find segment descriptor , Check is made to see if segment's page table is in memory , Page table entry for requested virtual page is examined

Multiple Choice Single Answer
Question
The interval from the time of submission of a process to the time of completion is :-
Correct Answer
Turnaround time
Your Answer
Turnaround time

True/False
Question
Context switch times are highly dependent on hardware support.
Correct Answer
True
Your Answer
True

True/False
Question
Procedure and data can be distinguished and separately protected in segmentation
Correct Answer
True
Your Answer
True

Multiple Choice Multiple Answer
Question
Dispatcher functions involves the following :-
Correct Answer
Switching context , Switching to user mode
Your Answer
Switching context , Switching to user mode

Multiple Choice Single Answer
Question
The First version of UNIX was developed in 1969 by Ken Thompson of the Research Group at :-
Correct Answer
Bell Laboratories
Your Answer
Bell Laboratories

Multiple Choice Single Answer
Question
In Object Oriented technology following expression is appropriate
Correct Answer
object=data+menthods
Your Answer
object=data+menthods

Multiple Choice Single Answer
Question
A procedure body implementing an operation is termed as
Correct Answer
Method
Your Answer
Method

Select The Blank
Question
During execution, ________ register holds the sector for the code segment.
Correct Answer
CS
Your Answer
PS

True/False
Question
In some operating system, spooling is managed by a system daemon process.
Correct Answer
True
Your Answer
False

Select The Blank
Question
Each column in the access matrix can be implemented as an ________ for one object.
Correct Answer
Access list
Your Answer
Capability list

Multiple Choice Single Answer
Question
Policies for resource use may vary depending on the :-
Correct Answer
Application
Your Answer
System

Multiple Choice Multiple Answer
Question
A mailbox can be owned by :-
Correct Answer
Process , Operating system
Your Answer
User , Process , Program

Multiple Choice Single Answer
Question
The ready queue is generally stored as a :-
Correct Answer
Linked list
Your Answer
Queue

Select The Blank
Question
A ________ is region of fast memory that hold copies of data .
Correct Answer
Cache
Your Answer
Cache

Multiple Choice Multiple Answer
Question
What are the components to memory management under Linux?
Correct Answer
Physical memory manager , Virtual memory manager
Your Answer
Physical memory manager , Virtual memory manager

Match The Following
Question
Correct Answer
Your Answer
Bounded-buffer
Fixed size buffer
Fixed size buffer
Producer
Produces process
Produces process
Consumer
Consumes process
Consumes process
Unbounded-buffer
No limit on size of buffer
No limit on size of buffer

True/False
Question
The inode contains 15 pointers to the disk blocks containing the data contents of the file.
Correct Answer
True
Your Answer
True

Multiple Choice Single Answer
Question
When computer is powered up or rebooted, it needs to have an initial program to run. This initial program is known as :-
Correct Answer
Bootstrap program
Your Answer
Bootstrap program

Operating System - 11

LIST OF ATTEMPTED QUESTIONS AND ANSWERS

Select The Blank
Question
Like worms, ________ are designed to spread into other programs and can wreak havoc in a system.
Correct Answer
Viruses
Your Answer
Viruses

Multiple Choice Multiple Answer
Question
The advantage of dynamic loading is
Correct Answer
Unused routine is never loaded , Useful when large amount of code are needed to handle infrequently occurring cases, such as error routines , It does not require special support from the operating system
Your Answer
Useful when large amount of code are needed to handle infrequently occurring cases, such as error routines , It does not require special support from the operating system , Unused routine is never loaded

Select The Blank
Question
Terminals and line printers are ________ .
Correct Answer
Character devices
Your Answer
Socket interfaces

Multiple Choice Multiple Answer
Question
A mailbox can be owned by :-
Correct Answer
Process , Operating system
Your Answer
Process , Operating system

Select The Blank
Question
A process is ________, if it cannot affect or be affected by the other processes executing in the system.
Correct Answer
Independent
Your Answer
Cooperating

True/False
Question
NFU is crude attempt to approximate LRU.
Correct Answer
True
Your Answer
False

True/False
Question
A copy of inode is kept in main memory while a file is open.
Correct Answer
True
Your Answer
True

Multiple Choice Single Answer
Question
The class bird should have object
Correct Answer
Egale
Your Answer
Egale

Multiple Choice Multiple Answer
Question
User thread libraries include :-
Correct Answer
POSIX Pthreads , Mach C-threads , Solaris threads
Your Answer
Mach C-threads , Solaris threads

True/False
Question
We can include dynamic protection in the access-matrix model by considering the domains and the access matrix itself as objects.
Correct Answer
True
Your Answer
True

True/False
Question
The capability list is associated with a domain.
Correct Answer
True
Your Answer
True

Select The Blank
Question
A ________ in NT is an object that provides a uniform interface for files, whether they are local or remote.
Correct Answer
Redirector
Your Answer
Redirector

Select The Blank
Question
The ________ is a compromise between access lists and capability lists.
Correct Answer
Lock-Key Schemes
Your Answer
Protected procedures

Match The Following
Question
Correct Answer
Your Answer
Bit showing the availability of page in memory for which that entry belongs to
Present / absent bit
Modified bit
In page table entry, the access permitted are stored in
Protection bit
Protection bit
Bit is set when the page is referenced
Referenced bit
Referenced bit
Bit which keeps track of page usage
Modified bit
Security bit

Multiple Choice Single Answer
Question
In UNIX, files are organized in tree-structured :-
Correct Answer
Directories
Your Answer
Directories

Match The Following
Question
Correct Answer
Your Answer
We can define abstract operation on abstract data
Data abstraction
Data abstraction
Process of sharing properties of the higher level object or class
Inheritance
Inheritance
Ability to inherit attributes and methods from 2 or more objects or classes
Multiple inheritance
Multiple inheritance
Ability to send a message to several objects and to allow receiving object to respond method specified on the object.
Ploymorphism
Ploymorphism

Select The Blank
Question
The Solaris developers reimplemented the ________ using in-kernel thread to eliminate the context switch involved in moving each character between daemons and the kernel.
Correct Answer
Telnet daemon
Your Answer
Context-switch daemon

Multiple Choice Single Answer
Question
If the process is waiting for some event to occur then it is said to be in :-
Correct Answer
Waiting state
Your Answer
Ready state

True/False
Question
Cache is a non-volatile storage system.
Correct Answer
False
Your Answer
False

Multiple Choice Single Answer
Question
The wraping up of data and methods in a single unit (class) is known as :
Correct Answer
Encapsulation
Your Answer
Encapsulation

True/False
Question
A process is a victim of starvation if it becomes stuck in a scheduling queue indefinitely.
Correct Answer
True
Your Answer
True

Select The Blank
Question
________ file access can be layered on top of block-device drivers.
Correct Answer
Memory-mapped
Your Answer
Memory-mapped

Multiple Choice Multiple Answer
Question
find out the services provided by kernel related to I/O :
Correct Answer
I/O Scheduling , Buffering , Spooling
Your Answer
I/O Scheduling , Buffering , Spooling

Multiple Choice Multiple Answer
Question
The role of the operating system in computer I/O is to :-
Correct Answer
Manage I/O operation and devices , Control I/O operation and devices
Your Answer
Manage I/O operation and devices , Control I/O operation and devices

True/False
Question
In Lock-key mechanism, a process executing in a domain can access an object if that domain has a key that matches one of the locks of the objects.
Correct Answer
True
Your Answer
False

Multiple Choice Multiple Answer
Question
There are components to the module support under Linux, identify them :-
Correct Answer
Module management , Driver registration , Conflict-resolution mechanism
Your Answer
Module management , Driver registration , Conflict-resolution mechanism

Multiple Choice Single Answer
Question
The 4.3BSD operating system is the version of :-
Correct Answer
UNIX
Your Answer
UNIX

Select The Blank
Question
Each entry in the access matrix consists of a set of ________ .
Correct Answer
Access right
Your Answer
Access right

Multiple Choice Single Answer
Question
In UNIX, a file is represented by an :-
Correct Answer
Inode
Your Answer
Block

Multiple Choice Single Answer
Question
The segment is :-
Correct Answer
Logical entity
Your Answer
Logical entity

True/False
Question
In Windows NT, each process has one or more threads, which are the units of execution dispatched by the kernel.
Correct Answer
True
Your Answer
True

Multiple Choice Single Answer
Question
UNIX operating system is written mostly in :-
Correct Answer
C language
Your Answer
C++ language

Multiple Choice Multiple Answer
Question
Security violations of the system can be categorized as :-
Correct Answer
Malicious , Accidental
Your Answer
Malicious , Authorized

Multiple Choice Single Answer
Question
The smallest addressable portion of a disk is :-
Correct Answer
Sector
Your Answer
Sector

Select The Blank
Question
Associations are generally ________.
Correct Answer
Bidirectional
Your Answer
Bidirectional

Multiple Choice Multiple Answer
Question
Find out the human-interface devices :-
Correct Answer
Screen , Keyboard , Mouse
Your Answer
Screen , Keyboard , Mouse

Select The Blank
Question
________allows us to define abstract operations on abstract data.
Correct Answer
Data abstraction
Your Answer
Data abstraction

Multiple Choice Multiple Answer
Question
Once the I/O is started , which two courses of action are possible?
Correct Answer
Synchronous I/O , Asynchronous I/O , Simple I/O
Your Answer
Synchronous I/O , Asynchronous I/O , Simple I/O

Multiple Choice Multiple Answer
Question
In windows NT, naming of objects is of two types :-
Correct Answer
Permanent name , Temporary name
Your Answer
Permanent name , Temporary name

True/False
Question
Turnaround time is inversely proportional to throughput.
Correct Answer
True
Your Answer
True

Select The Blank
Question
The hardware to measure elapsed time to trigger operations is called a ________.
Correct Answer
Programmable interval timer
Your Answer
Programmable elapsed timer

Multiple Choice Multiple Answer
Question
User level threads are generally :-
Correct Answer
Fast to create , Easy to manage
Your Answer
Fast to create , Easy to manage

Multiple Choice Single Answer
Question
In MULTICS TLB address of 'n', the most recently referenced pages are kept, where 'n' can have a value :-
Correct Answer
16
Your Answer
16

Multiple Choice Single Answer
Question
C++ is also named as
Correct Answer
C with classes
Your Answer
C with classes

Multiple Choice Multiple Answer
Question
Liner address is divided into fields like :-
Correct Answer
Dir , Page , Offset
Your Answer
Dir , Page , Offset

Multiple Choice Single Answer
Question
DVMA stands for :-
Correct Answer
Direct Virtual Memory Access
Your Answer
Direct Virtual Memory Access

True/False
Question
An asynchronous call returns immediately, without waiting for the I/O to complete.
Correct Answer
True
Your Answer
True

Operating System - 10

LIST OF ATTEMPTED QUESTIONS AND ANSWERS

Select The Blank
Question
Web servers use the ________ protocol to communicate with web browsers.
Correct Answer
http
Your Answer
http

True/False
Question
Cache-coherency is usually a software problem and handled above the operating system level.
Correct Answer
False
Your Answer
True

Multiple Choice Multiple Answer
Question
Two main jobs of a computer are :-
Correct Answer
I/O , Processing
Your Answer
I/O , Processing

Multiple Choice Multiple Answer
Question
What are the ways in which a request for kernel-mode execution can occur in Linux?
Correct Answer
Explicitly , Implicitly
Your Answer
Explicitly , Implicitly

Select The Blank
Question
If the user-supplied password matches the password stored in the system, the system assumes that the user is ________.
Correct Answer
Legitimate
Your Answer
Legitimate

True/False
Question
Single-indirect block is an index block which contains data of the files to which it points.
Correct Answer
False
Your Answer
True

True/False
Question
Volatile storage loses its contents when the power to the device is removed.
Correct Answer
True
Your Answer
True

Multiple Choice Single Answer
Question
SCSI stands for :-
Correct Answer
Small Computer-Systems Interface
Your Answer
System Call-System Interrupt

Multiple Choice Multiple Answer
Question
Which are the Division D security systems ?
Correct Answer
Windows 3.1 , MS-DOS
Your Answer
Windows NT , UNIX

Select The Blank
Question
static binding allows to hold certain properties fixed and rigid, whereas ________ binding allows object to behave as per conditions emerge.
Correct Answer
Dynamic
Your Answer
Dynamic

Multiple Choice Multiple Answer
Question
What are the components to memory management under Linux?
Correct Answer
Physical memory manager , Virtual memory manager
Your Answer
Physical memory manager , Virtual memory manager

Multiple Choice Single Answer
Question
The First version of UNIX was developed in 1969 by Ken Thompson of the Research Group at :-
Correct Answer
Bell Laboratories
Your Answer
Bell Laboratories

True/False
Question
XML is a meta data language developed to specify data with a goal of improving interoperatability of different data sources.
Correct Answer
True
Your Answer
True

True/False
Question
One way to achieve portability is to write software in standard version of high level language and to develop portable system and application software .
Correct Answer
True
Your Answer
True

Multiple Choice Single Answer
Question
C++ is basically a procedural language having extension of
Correct Answer
Object Oriented technology
Your Answer
Object Oriented technology

Select The Blank
Question
The ________ of a process is represented in the PCB of a process.
Correct Answer
Context
Your Answer
Context

Select The Blank
Question
In windows NT, the ________ facility is used to pass requests and results between client and server processes within a single machine.
Correct Answer
Local-procedure-call
Your Answer
Remote-procedure-call

Multiple Choice Single Answer
Question
In how many number of classes does the NRU algorithm divides pages, depending on the state of R and M?
Correct Answer
4
Your Answer
4

Multiple Choice Multiple Answer
Question
When memory reference occurs in MULTICS the things which takes place are :-
Correct Answer
Segment number is used to find segment descriptor , Check is made to see if segment's page table is in memory , Page table entry for requested virtual page is examined , Offset is added to the page origin to give main memory address
Your Answer
Segment number is used to find segment descriptor , Check is made to see if segment's page table is in memory , Page table entry for requested virtual page is examined , Offset is added to the page origin to give main memory address

Multiple Choice Multiple Answer
Question
Supervisor mode is also known as :-
Correct Answer
System mode , Privileged mode , Monitor mode
Your Answer
System mode , Privileged mode , Monitor mode

Multiple Choice Single Answer
Question
How big is a class object?
Correct Answer
Is as big as sum of the sizes of its member variables
Your Answer
Is as big as sum of the sizes of its member variables

Multiple Choice Multiple Answer
Question
The device number consists of which two parts in UNIX?
Correct Answer
Major device number , Minor device number
Your Answer
Major device number , Minor device number

Select The Blank
Question
The context switch time is pure ________, because system does no useful work while switching.
Correct Answer
Overhead
Your Answer
Wastage

Multiple Choice Multiple Answer
Question
In Solaris 2, user-level threads may be:-
Correct Answer
Bound , Unbound
Your Answer
Bound , Unbound

Match The Following
Question
Correct Answer
Your Answer
Random-access devices
CD-ROM
CD-ROM
Character devices.
Terminal
Keyboard
Block devices
Disk
Tape
Sequential devices
Modem
Terminal

Multiple Choice Single Answer
Question
The main difference between structure and class is
Correct Answer
Structure does not support OOPS Class Supports OOPS.
Your Answer
Structure does not support OOPS Class Supports OOPS.

True/False
Question
Object-oriented programming focuses on the integrated data and functionality as discrete units that have both knowledge (data) and capabilities (functions). Procedural programs, on the other hand, focus on functions and how they act on data.
Correct Answer
True
Your Answer
True

Select The Blank
Question
A keyboard is an example of device that is accessed through a ________ interface.
Correct Answer
Character stream
Your Answer
Character stream

Multiple Choice Multiple Answer
Question
Find out the CPU scheduling algorithms from these options :-
Correct Answer
FCFS , RR , SJF
Your Answer
FCFS , RR , SJF

Multiple Choice Single Answer
Question
Main Memory of computer program is also called as :-
Correct Answer
RAM
Your Answer
RAM

Multiple Choice Multiple Answer
Question
The security of a system can be improved by two management techniques, such as :-
Correct Answer
Threat monitoring , Audit Log
Your Answer
Threat monitoring , Audit Log

Multiple Choice Single Answer
Question
The separation of policy and mechanism is important for which purpose?
Correct Answer
Flexibility
Your Answer
Flexibility

Match The Following
Question
Correct Answer
Your Answer
Trap in which program tries to use unmapped page
Page fault
Page fault
Memory Management Unit
MMU
MMU
Smaller units in which virtual address space is divided
Pages
Pages
Units in physical memory corresponding to pages in virtual memory
Page frame
Page frame

True/False
Question
A non-blocking call does not halt the execution of the application for an extended time.
Correct Answer
True
Your Answer
True

True/False
Question
Windows NT uses a message passing implementation for I/O.
Correct Answer
True
Your Answer
True

Multiple Choice Multiple Answer
Question
Kernel threads are generally :-
Correct Answer
Slower to create , Difficult to manage
Your Answer
Slower to create , Difficult to manage

Multiple Choice Single Answer
Question
The long-term scheduler controls the :-
Correct Answer
Degree of multiprogramming
Your Answer
Degree of multiprogramming

Multiple Choice Single Answer
Question
Objects may communicate with each other through
Correct Answer
Methods
Your Answer
Methods

Select The Blank
Question
In queuing diagram, the arrow indicates the flow of ________ in the system.
Correct Answer
Processes
Your Answer
Queue

Multiple Choice Single Answer
Question
If Dog derives from Mammal, and Mammal derives from Animal, then -
Correct Answer
Dog inherits Animal's functions and data
Your Answer
Dog inherits Animal's functions and data

Multiple Choice Single Answer
Question
Thread at user level is known as :-
Correct Answer
User thread
Your Answer
User thread

Select The Blank
Question
________ includes disks and tapes.
Correct Answer
Block devices
Your Answer
Block devices

Multiple Choice Single Answer
Question
DMA stands for :-
Correct Answer
Direct Memory Access
Your Answer
Direct Memory Access

True/False
Question
When application issues a blocking I/O system call, the request is placed on the queue for that device.
Correct Answer
True
Your Answer
True

Multiple Choice Single Answer
Question
The concept of OOPS was first introduced in
Correct Answer
Simula Language
Your Answer
Simula Language

True/False
Question
Encryption is one common method of protecting information that is transmitted over unreliable links.
Correct Answer
True
Your Answer
True

Select The Blank
Question
________ describes segments local to each program, including its code, data, stack etc.
Correct Answer
LDT
Your Answer
LDT