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

Wednesday, August 20, 2008

Operating System - 9

LIST OF ATTEMPTED QUESTIONS AND ANSWERS

True/False
Question
Prototyping is a tool to test the design of system
Correct Answer
True
Your Answer
False

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

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

Multiple Choice Single Answer
Question
The insulation of data from direct access by the program is known as :
Correct Answer
Data hiding
Your Answer
Abstraction

True/False
Question
Many to Many model multiplexes many user level threads to a smaller or equal number of kernel threads.
Correct Answer
True
Your Answer
True

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 two versions of NT are :
Correct Answer
WindowsNT workstations , WindowsNT server
Your Answer
WindowsNT workstations , WindowsNT server

True/False
Question
A virus is a fragment of code embedded in a legitimate program
Correct Answer
True
Your Answer
False

True/False
Question
An I/O bound process spend more of its time doing I/O than it spends doing computations.
Correct Answer
True
Your Answer
True

Multiple Choice Single Answer
Question
It has been said that Pascal and C programs are collections of procedures and C++ programs are collections of
Correct Answer
Classes
Your Answer
Classes

Multiple Choice Single Answer
Question
The process by which objects of one class acquire properties of objects of other class is called
Correct Answer
Inheritance
Your Answer
Inheritance

Select The Blank
Question
A ________ is a buffer that holds output for a device such as printers.
Correct Answer
Spool
Your Answer
Spool

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

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

Multiple Choice Multiple Answer
Question
Most CPUs have two interrupt request lines. Which are they?
Correct Answer
Maskable , Non maskable
Your Answer
Maskable , Non maskable

True/False
Question
The I/O scheduler rearranges the order of the queue to improve the overall system efficiency and the average response time experienced by application
Correct Answer
True
Your Answer
True

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 Single Answer
Question
In UNIX, files are organized in tree-structured :-
Correct Answer
Directories
Your Answer
Directories

Multiple Choice Single Answer
Question
The number of processes that are completed per time unit is called as:-
Correct Answer
Throughput of system
Your Answer
Throughput of system

Multiple Choice Multiple Answer
Question
There are two types of Message passing, they are :-
Correct Answer
Synchronous , Asynchronous
Your Answer
Synchronous , Asynchronous

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

Select The Blank
Question
The positioning time sometimes called the ________.
Correct Answer
Random-access time
Your Answer
Seek time

Multiple Choice Single Answer
Question
Collection of similar datatypes is called as
Correct Answer
Array
Your Answer
Array

Multiple Choice Single Answer
Question
The pure Object Oriented language is
Correct Answer
Java
Your Answer
Java

Multiple Choice Multiple Answer
Question
To protect the system, we must take security measures at two levels, such as :-
Correct Answer
Physical level , Human level
Your Answer
Local level , Global level

Select The Blank
Question
In some operating system, spooling is handled by an ________ .
Correct Answer
In-kernel thread
Your Answer
User thread

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

Match The Following
Question
Correct Answer
Your Answer
Thread
Light-weight process
Light-weight process
Process
PCB
Thread library
User thread
Thread library
PCB
Kernel thread
Operating system
Operating system

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

Select The Blank
Question
________ is defined as a cooperation between object codes produced by different software vendors & written in different programming languages.
Correct Answer
Interoperability
Your Answer
Interoperability

Multiple Choice Multiple Answer
Question
In a uniprocessor system, there is :-
Correct Answer
Single processor , Single running process
Your Answer
Single processor , Single running process

Multiple Choice Single Answer
Question
In UNIX operating system, each process is identified by its :-
Correct Answer
Process identifier
Your Answer
Process identifier

Multiple Choice Single Answer
Question
As process enter the system, they are put into :-
Correct Answer
Job queue
Your Answer
Job queue

Match The Following
Question
Correct Answer
Your Answer
Algorithm where in it takes largest available hole
Worst fit
Worst fit
The algorithm in which memory manager scans along the list of segments until it finds a hole that is big enough
First fit
First fit
Algorithm in which keeps the track of suitable hole
Next fit
Optimal fit
Algorithm which searches entire list and takes smallest hole that is adequate
Best fit
Best fit

True/False
Question
Linux is a multi-user, multitasking system with a full set of UNIX-compatible tools.
Correct Answer
True
Your Answer
True

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.

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

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
Completion time

True/False
Question
In Public Key Encryption, each user has both a public and a private key.
Correct Answer
True
Your Answer
False

Multiple Choice Single Answer
Question
If the process is waiting to be assigned to CPU then it is said to be in :-
Correct Answer
Ready state
Your Answer
Waiting state

Select The Blank
Question
A ________ controller is built into each disk drive.
Correct Answer
Disk
Your Answer
Disk

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

True/False
Question
As an object-oriented systems NT uses objects for all its services and entities.
Correct Answer
True
Your Answer
True

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

True/False
Question
Main Memory is a volatile storage device that loses its contents when power is turned off.
Correct Answer
True
Your Answer
True

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
Waiting I/O , Simple I/O

Select The Blank
Question
________ passwords prevent improper authentication due to password exposure.
Correct Answer
One-time
Your Answer
Encrypted

Operating System - 8

LIST OF ATTEMPTED QUESTIONS AND ANSWERS

Multiple Choice Single Answer
Question
Each object is associated with the data of type class with which they are created. A class is thus a collection of objects of
Correct Answer
Similar type
Your Answer
Similar type

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

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

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 , Object-primary name

Match The Following
Question
Correct Answer
Your Answer
Class Shape
Triangle, rectangle, circle, ellipse
Triangle, rectangle, circle, ellipse
Class Vehicle
Scooter, car, truck, tractor
Scooter, car, truck, tractor
Class Animal
Cat, dog, cow, tiger
Cat, dog, cow, tiger
Class Color
Red, yellow, blue, green
Red, yellow, blue, green

Multiple Choice Multiple Answer
Question
Computer system consists of :-
Correct Answer
CPU , Multiple device controller
Your Answer
CPU , Multiple device controller

Multiple Choice Single Answer
Question
In JAVA , the derived class is known as
Correct Answer
Subclass
Your Answer
Subclass

Select The Blank
Question
To make as interval call, the CALL instruction must contain ________.
Correct Answer
Selector
Your Answer
Address

True/False
Question
In Lock-key mechanism, users are allowed to examine or modify the list of keys or locks directly.
Correct Answer
False
Your Answer
True

Multiple Choice Single Answer
Question
A major problem with the Priority scheduling algorithm is :-
Correct Answer
Starvation
Your Answer
CPU time

Select The Blank
Question
________ of an object remains unchanged even though its state and properties change.
Correct Answer
Identity
Your Answer
Identity

Multiple Choice Single Answer
Question
The process by which objects of one class acquire properties of objects of other class is called
Correct Answer
Inheritance
Your Answer
Polymorphism

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

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

Multiple Choice Multiple Answer
Question
locate the storage devices from the following :-
Correct Answer
Disks , Tapes
Your Answer
Disks , Tapes

Multiple Choice Single Answer
Question
Mango, apple and orange are members of class
Correct Answer
Fruit
Your Answer
Fruit

Multiple Choice Single Answer
Question
The pure Object Oriented language is
Correct Answer
Java
Your Answer
C++

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

Select The Blank
Question
________ is the ability to handle error conditions, including the ability of the operating system to protect itself and its users from defective or malicious software.
Correct Answer
Reliability
Your Answer
Security

Multiple Choice Multiple Answer
Question
One-to-one model is supported by following systems :-
Correct Answer
Windows NT , OS/2
Your Answer
Solaris , Windows NT

Multiple Choice Single Answer
Question
Collection of similar datatypes is called as
Correct Answer
Array
Your Answer
Array

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

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

Multiple Choice Single Answer
Question
If a class fruit has object mango, the relationship is expressed as :
Correct Answer
Fruit mango
Your Answer
Fruit mango

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

Multiple Choice Single Answer
Question
Model of protection can be viewed abstractly as a matrix which is known as :-
Correct Answer
Access matrix
Your Answer
Access matrix

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

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
False

Select The Blank
Question
________ is defined as a cooperation between object codes produced by different software vendors & written in different programming languages.
Correct Answer
Interoperability
Your Answer
Interoperability

True/False
Question
Linux is a multi-user, multitasking system with a full set of UNIX-compatible tools.
Correct Answer
True
Your Answer
True

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

Match The Following
Question
Correct Answer
Your Answer
Light-Weight processes
Thread
Solaris process
Parent process
Child process
Unix process
Foreground processes
Interactive processes
Interactive processes
Background processes
Batch processes
Thread

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
A process is ________ if it can affect or be affected by the other processes executing in the system.
Correct Answer
Cooperating
Your Answer
Independent

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

True/False
Question
An I/O bound process spend more of its time doing I/O than it spends doing computations.
Correct Answer
True
Your Answer
False

Multiple Choice Single Answer
Question
In some systems, if a process terminates, then all its children must also be terminated. This phenomenon referred to as :-
Correct Answer
Cascading termination
Your Answer
Removing all

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 , I/o subsystem

True/False
Question
The language Classic-Ada is not OOPL
Correct Answer
False
Your Answer
True

Select The Blank
Question
In Linux, the allocator uses a ________ algorithm to keep track of available physical pages.
Correct Answer
Buddy-heap
Your Answer
Sort-first

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

True/False
Question
A file in NTFS is a simple byte stream as it is in MS-DOS or UNIX .
Correct Answer
False
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 separation of policy and mechanism is important for which purpose?
Correct Answer
Flexibility
Your Answer
Costing

Select The Blank
Question
A ________ is a group of NT server machines that share a common security policy and user databases.
Correct Answer
Domain
Your Answer
Domain

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

True/False
Question
Keyboard is a sharable device.
Correct Answer
True
Your Answer
False

Operating System - 7

LIST OF ATTEMPTED QUESTIONS AND ANSWERS

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

Multiple Choice Single Answer
Question
Software may trigger an interrupt by executing a special operation called :-
Correct Answer
System call
Your Answer
Interrupt call

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

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
Implicit , Indirect

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
Implicitly , Function call

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

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 , I/O processing

True/False
Question
In UNIX, first two names in every directory are "." and ".."
Correct Answer
True
Your Answer
False

Multiple Choice Multiple Answer
Question
Various storage systems available possesses which two characteristics?
Correct Answer
Volatile , Non-volatile
Your Answer
Primary storage , Secondary storage

Multiple Choice Single Answer
Question
A program in execution is:-
Correct Answer
Process
Your Answer
Operation

Select The Blank
Question
In some operating system, spooling is handled by an ________ .
Correct Answer
In-kernel thread
Your Answer
In-kernel thread

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

True/False
Question
NFU algorithm requires a software counter associated with each page initially zero.
Correct Answer
True
Your Answer
True

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

Match The Following
Question
Correct Answer
Your Answer
MFT
Multi programming with fixed task
Multi programming with fixed task
RAM
Volatile memory
Volatile memory
ROM
Read only memory
Read only memory
BIOS
Basic input output system
Basic input output system

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

Select The Blank
Question
The process could create a new ________ and wait for its termination.
Correct Answer
Sub process
Your Answer
Child

True/False
Question
The cipher text can be stored in a readable file or transmitted over unprotected channels.
Correct Answer
True
Your Answer
True

Select The Blank
Question
The virtual memory portion of the NT executive is the ________.
Correct Answer
Virtual memory manager
Your Answer
Page-memory manager

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 is used in OOPS. Classes are used in procedural programs.

Multiple Choice Multiple Answer
Question
Find out different types of I/O buses :-
Correct Answer
EIDE , SCSI
Your Answer
EIDE , SCSI

Select The Blank
Question
________ passwords prevent improper authentication due to password exposure.
Correct Answer
One-time
Your Answer
Encrypted

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
Trojan horses

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
Director

Select The Blank
Question
One interface that is available in many operating systems, including UNIX and WindowsNT, is the network ________ interface.
Correct Answer
Socket
Your Answer
Device

True/False
Question
In Windows NT, kernel can be paged out of memory and its executions can be preempted.
Correct Answer
False
Your Answer
True

Multiple Choice Single Answer
Question
The insulation of data from direct access by the program is known as :
Correct Answer
Data hiding
Your Answer
Abstraction

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

Multiple Choice Multiple Answer
Question
locate the transmission devices :-
Correct Answer
Network cards , Modems
Your Answer
Network cards , Modems

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 Single Answer
Question
The system call checks the arguments given by the application, builds a data structure to convey the arguments to the kernel and then executes a special instruction called as :-
Correct Answer
Software interrupt
Your Answer
Special system call

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

Select The Blank
Question
Most computers have ________ clocks and timers.
Correct Answer
Hardware
Your Answer
In-built

Multiple Choice Single Answer
Question
A domain is a collection of :-
Correct Answer
Access rights
Your Answer
Objects

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

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

Multiple Choice Single Answer
Question
A system consists of collection of :-
Correct Answer
Processes
Your Answer
Processes

Multiple Choice Multiple Answer
Question
An audit log records which things about an object ?
Correct Answer
Time , User , Type of access
Your Answer
Time , Type of access

Multiple Choice Single Answer
Question
It has been said that Pascal and C programs are collections of procedures and C++ programs are collections of
Correct Answer
Classes
Your Answer
Classes

Select The Blank
Question
OOSAD begins with identification of actors, what activities they perform and building ________ model for the function.
Correct Answer
Use-case
Your Answer
Use-case

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

True/False
Question
OOSAD approach is applicable only to stable systems.
Correct Answer
False
Your Answer
True

True/False
Question
To perform a disk I/O operation, the computer places a command into the host controller, typically using memory-mapped I/O ports.
Correct Answer
True
Your Answer
True

Multiple Choice Single Answer
Question
The number of processes that are completed per time unit is called as:-
Correct Answer
Throughput of system
Your Answer
Efficiency of system

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
8

True/False
Question
The job of I/O channel is to offload I/O work from the main CPU.
Correct Answer
True
Your Answer
False