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

Wednesday, August 20, 2008

Operating System - 15

LIST OF ATTEMPTED QUESTIONS AND ANSWERS

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

Multiple Choice Multiple Answer
Question
The basic hardware elements involved in I/O are :-
Correct Answer
Buses , Device controllers , Device
Your Answer
Buses , Device controllers , Device

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
C++ supports object oriented programming concepts of objects, classes, inheritance, polymorphism and parameterised datatypes.
Correct Answer
True
Your Answer
True

True/False
Question
I/O system calls are costly in terms of CPU consumptions.
Correct Answer
True
Your Answer
True

Multiple Choice Single Answer
Question
All user processes are descendents of one original process, Which is that process?
Correct Answer
Init process
Your Answer
Init process

Match The Following
Question
Correct Answer
Your Answer
Provides adjustment while compiling classes
Interface classes
Derived function
Identify values & relevant operations
Abstract data types
Abstract data types
Complete implementation of class
Concrete data types
Interface classes
Provides framework for other classes
Node classes
Node classes

Match The Following
Question
Correct Answer
Your Answer
Round-robin
Time quantum
Time quantum
First-come First-served
First come job
First come job
Shortest job
Shortest job
Shortest job
Priority
Highest priority job
Highest priority job

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

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
Physical level , Human level

True/False
Question
The hardware allows privileged instructions to be executed in only user mode.
Correct Answer
False
Your Answer
False

Multiple Choice Single Answer
Question
What does the rows of the access matrix represents?
Correct Answer
Domains
Your Answer
Domains

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

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

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

Select The Blank
Question
If the granularity field is ________ the limit field is the exact segment size, upto 1 MB.
Correct Answer
0
Your Answer
1

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

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

Multiple Choice Single Answer
Question
A Process which produces process is known as :-
Correct Answer
Producer
Your Answer
Producer

Multiple Choice Single Answer
Question
Interrupt mechanism accepts an address and this address is an offset in a table called the :-
Correct Answer
Interrupt vector
Your Answer
Interrupt vector

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

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

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
Mammal inherits Animal's functions and data

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

Multiple Choice Single Answer
Question
The list of processes waiting for a particular I/O device is called a :-
Correct Answer
Device queue
Your Answer
Device queue

True/False
Question
Cache is a faster storage system which stores data temporarily.
Correct Answer
True
Your Answer
True

True/False
Question
The file system does not provide a degree of protection.
Correct Answer
False
Your Answer
True

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

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
Which of the following Operating System has no memory protection ?
Correct Answer
Windows 3.1
Your Answer
Windows 3.1

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

Multiple Choice Single Answer
Question
Protection can no longer be considered solely as a matter of concern to the designer of :-
Correct Answer
Operating system
Your Answer
Operating system

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

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

Multiple Choice Single Answer
Question
In UNIX, the simplest form of communication between processes is by :-
Correct Answer
Pipes
Your Answer
Pipes

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 Multiple Answer
Question
Message passing may be :-
Correct Answer
Blocking , Non-blocking
Your Answer
Blocking , Non-blocking

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
Set of attributes , Set of methods

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
The Linux ________ file system, known as the proc file system, is an example of a file system whose contents are not actually stored anywhere, but are rather computed on demand according to user file I/o requests.
Correct Answer
Process
Your Answer
Process

True/False
Question
Objects can be both, tangible or intangible.
Correct Answer
True
Your Answer
True

Multiple Choice Multiple Answer
Question
In UNIX, a device is distinguished by two things, which are :-
Correct Answer
Device-class , Device number
Your Answer
Device-class , Device number

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 Multiple Answer
Question
Which are the Division D security systems ?
Correct Answer
Windows 3.1 , MS-DOS
Your Answer
Windows 3.1 , MS-DOS

Multiple Choice Single Answer
Question
Protection can improve :-
Correct Answer
Reliability
Your Answer
Reliability

Select The Blank
Question
The creating process is called a ________ process.
Correct Answer
Parent
Your Answer
Parent

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

Operating System - 14

LIST OF ATTEMPTED QUESTIONS AND ANSWERS

Multiple Choice Multiple Answer
Question
The Linux system is composed of three main bodies of code, in line with most traditional UNIX implementations. Which are :-
Correct Answer
Kernel , System libraries , System utilities
Your Answer
System libraries , Programs , Kernel

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

Multiple Choice Single Answer
Question
Objects are essentially :-
Correct Answer
Abstract data type
Your Answer
Abstract data type

True/False
Question
Banker's algorithm is a deadlock-avoidance algorithm.
Correct Answer
True
Your Answer
True

True/False
Question
Aging algorithm is based on LRU.
Correct Answer
True
Your Answer
False

Select The Blank
Question
MULTICS uses a ________ in addition to file access for protection.
Correct Answer
Ring structure
Your Answer
Ring structure

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

Multiple Choice Multiple Answer
Question
The basic hardware elements involved in I/O are :-
Correct Answer
Buses , Device controllers , Device
Your Answer
Keyboard , Buses , Device controllers

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

Select The Blank
Question
In queuing diagram , each rectangular box represents a ________.
Correct Answer
Queue
Your Answer
Queue

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

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

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

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

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 ________ is a computer or router that sits between the trusted and untrusted systems.
Correct Answer
Firewall
Your Answer
Firewall

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 Multiple Answer
Question
Many-to-may model is supported by following operating systems :-
Correct Answer
Solaris , IRIX , Digital UNIX
Your Answer
IRIX , Solaris

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

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

Select The Blank
Question
A class may be thought of as 'data-type' and object as ________ of that data-type.
Correct Answer
Variable
Your Answer
Variable

True/False
Question
In Windows NT, interrupt object binds an interrupt service routine to an interrupt source.
Correct Answer
True
Your Answer
True

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
If Dog derives from Mammal, and Mammal derives from Animal, then -
Correct Answer
Dog inherits Animal's functions and data
Your Answer
Mammal inherits Animal's functions and data

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
Ready state

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 Multiple Answer
Question
The Moriss Internet Worm was made up of which of the two programs?
Correct Answer
Grappling hook program , Main program
Your Answer
Target worm program , Grappling hook program

Select The Blank
Question
The ________ controller is the controller at the computer end of the bus.
Correct Answer
Host
Your Answer
Disk

True/False
Question
In Windows NT, kernel is object-oriented.
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
Graphic user interface

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

True/False
Question
Whenever the operating system gains control of the computer, it is in monitor mode.
Correct Answer
True
Your Answer
True

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

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

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
Competing

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

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

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
Device-id , Device-name

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

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

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

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

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

Operating System - 13

LIST OF ATTEMPTED QUESTIONS AND ANSWERS

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

True/False
Question
The user process issues a network I/O system call to send the character to the remote machine.
Correct Answer
True
Your Answer
True

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

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

Multiple Choice Multiple Answer
Question
We need two separate modes of operation to protect the operating system and all other programs and their data from malfunctioning program. Which are those modes?
Correct Answer
User mode , Monitor mode
Your Answer
User mode , Monitor mode

Match The Following
Question
Correct Answer
Your Answer
Round-robin
Time quantum
Time quantum
First-come First-served
First come job
First come job
Shortest job
Shortest job
Shortest job
Priority
Highest priority job
Highest priority job

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

Multiple Choice Single Answer
Question
In UNIX, decisions regarding which process to swap in or out are made by whom?
Correct Answer
Swapper
Your Answer
Memory handler

Select The Blank
Question
A ________ is a client-server mechanism that enables an application on one machine to make a procedure call to code on another machine.
Correct Answer
Remote-procedure-call
Your Answer
Remote-procedure-call

Multiple Choice Single Answer
Question
When each process that wants to communicate must explicitly name the recipient or sender of the communication, then such communication is called as :-
Correct Answer
Direct communication
Your Answer
Indirect communication

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

Multiple Choice Single Answer
Question
What does the rows of the access matrix represents?
Correct Answer
Domains
Your Answer
Domains

Multiple Choice Single Answer
Question
Every change in policy requires a change in the underlying :-
Correct Answer
Mechanism
Your Answer
System

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
Domain

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

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

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

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
Human level , Global level

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
Waiting state

Multiple Choice Single Answer
Question
A common representation for a discussion of process scheduling is a :-
Correct Answer
Queuing diagram
Your Answer
Process state diagram

True/False
Question
At Physical level, the site or sites containing the computer systems must be physically secured against armed or surreptitious entry by intruders.
Correct Answer
True
Your Answer
True

Select The Blank
Question
When you express user-system interaction, the scenario in the model is called ________
Correct Answer
Case model
Your Answer
Case model

True/False
Question
Data transfer from cache to CPU and registers is usually a software function, with little operating system intervention.
Correct Answer
False
Your Answer
True

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

Multiple Choice Single Answer
Question
Polymorphism means ability to take
Correct Answer
More than one form
Your Answer
More than one form

True/False
Question
Aging algorithm is based on LRU.
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
Virtual memory manager

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

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

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
Audit Log , Threat finding

Select The Blank
Question
The concept of protection levels and call gates were pioneered in MULTICS, where they were viewed as protection ________.
Correct Answer
Ring
Your Answer
Ring

True/False
Question
We say that a system is secure if its resources are used and accessed as intended under all circumstances.
Correct Answer
True
Your Answer
True

Select The Blank
Question
The ________ controller is the controller at the computer end of the bus.
Correct Answer
Host
Your Answer
Cpu

Multiple Choice Multiple Answer
Question
In Linux, the paging system can be divided into sections, namely:-
Correct Answer
Policy algorithm , Paging mechanism
Your Answer
Policy algorithm , Paging mechanism

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

True/False
Question
Transfer of data from disk to memory is usually controlled by the operating system.
Correct Answer
True
Your Answer
True

True/False
Question
Prototyping not only helps to build a quality design but also enables the designer to build the system decremantally.
Correct Answer
False
Your Answer
True

Select The Blank
Question
The UNIX system uses ________ to avoid the necessity of keeping its password list secret.
Correct Answer
Encryption
Your Answer
Encryption

Match The Following
Question
Correct Answer
Your Answer
Read-write devices
Disks
Disks
Dedicated devices
Tape
CD-ROM
Read-only devices
CD-ROM
Tape
Write-only devices
Graphics controller
Keyboard

Multiple Choice Single Answer
Question
A procedure call, request to execute a method is termed as
Correct Answer
Message
Your Answer
Message

Select The Blank
Question
Context switch times are highly dependent on ________ support.
Correct Answer
Hardware
Your Answer
Hardware

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

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

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

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

Select The Blank
Question
A process migrates between the various ________ throughout its lifetime.
Correct Answer
Scheduling queues
Your Answer
Scheduling queues