BCA2010 – OPERATING SYSTEM

Dear students get fully solved assignments
Send your semester & Specialization name to our mail id :

  “ help.mbaassignments@gmail.com ”
or
Call us at : 08263069601



(Winter  2014) ASSIGNMENT

PROGRAM
BCA (REVISED FALL 2012)
SEMESTER
2
SUBJECT CODE & NAME
BCA2010 – OPERATING SYSTEM
CREDIT
2
BK ID
B1405
MAX.MARKS
60

Note: Answer all questions. Kindly note that answers for 10 marks questions should be approximately of 400 words. Each question is followed by evaluation scheme.


1. Define operating system. Explain any four major functions of Operating system.
Answer : A computer's operating system is one of the most important “parts” of the computer. Almost every type of computer—including mobile telephones, video game systems, E-book readers, and DVRs—needs an operating system in order to operate properly. When one turns on a computer, the operating system tells the computer what to do by controlling the system resources such as the processor, memory, disk space, etc. The operating system allows the user to work on the computer without having to know all the details about how the hardware works.

When choosing an operating system for a business, the primary considerations should be the hardware platform used, the number of users and attendant system security requirements, the ease of administration, the adaptability toward



2 Explain the different process states.

Answer : A process is a program in execution. The execution of a process must progress in a sequential fashion. Definition of process is following.
A process which is Executed by the Process have various States, the State of the Process is also called as the Status of the process, The Status includes whether the Process has Executed or Whether the process is Waiting for Some input and output from the user and whether the Process is Waiting for the CPU to Run the Program after the Completion of the Process.

The various States of the Process are as Followings:-

1) New State : When a user request for a Service from the System , then the System will first initialize the process or the System will call it an initial Process . So Every new Operation which is Requested to the System is known as the New Born Process.






3 Define Deadlock. Explain necessary conditions for deadlock.

Answer : A deadlock is a situation in which two computer programs sharing the same resource are effectively preventing each other from accessing the resource, resulting in both programs ceasing to function. The earliest computer operating systems ran only one program at a time. Eventually some operating systems offered dynamic allocation of resources. Programs could request further allocations of resources after they had begun running. This led to the problem of the deadlock.

 Coffman (1971) identified four (4) conditions that must hold simultaneously for there to be a deadlock.

1. Mutual Exclusion Condition
The resources involved are non-shareable.
Explanation: At least one resource (thread) must be held in a non-shareable mode, that is, only one process at a time claims exclusive control of the


4. Differentiate between Sequential access and direct access methods.

Answer : The hypertext and hyperlink exemplify the direct-access paradigm and are a significant improvement over the more traditional, book-based model of sequential access.

(Direct access can also be called random access, because it allows equally easy and fast access to any randomly selected destination. Somewhat like traveling by a Star Trek transporter instead of driving along the freeway and passing the exits one at a time, which is what you get with sequential access.)

In a normal, physical book, the reader is supposed to read pages one by one, in the order in which they are provided by the author. For most books (fiction, at least), it makes little sense for the reader to turn directly page 256 and start reading there. Unless, of course, that is where the reader left off in their last reading session. Getting to page 256 in




5. Differentiate between Daisy chain bus arbitration and Priority encoded bus arbitration.

Answer : In most mini- and mainframe computer systems, a great deal of input and output occurs between the disk system and the processor. It would be very inefficient to perform these operations directly through the processor; it is much more efficient if such devices, which can transfer data at a very high rate, place the data directly into the memory, or take the data directly from the processor without direct intervention from the processor. I/O performed in this way is usually called direct memory access, or DMA. The controller for a device employing DMA must have the capability of generating address signals for the memory, as well as all of the memory control signals. The processor informs the DMA controller that data is available (or is to be placed into) a block of memory locations starting at a certain address in




6. Explain LRU page replacement algorithm with example

Answer: A good approximation to the optimal algorithm is based on the observation that pages that have been heavily used in the last few instructions will probably be heavily used again in the next few. Conversely, pages that have not been used for ages will probably remain unused for a long time. This idea suggests a realizable algorithm: when a page fault occurs, throw out the page that has been unused for the longest time. This strategy is called LRU (Least Recently Used) paging.

Although LRU is theoretically realizable, it is not cheap. To fully implement LRU, it is necessary to maintain a linked list of all pages in memory, with the most recently used page at the front and the least recently used page at the rear. The difficulty is that the list must be updated on every memory reference. Finding a page in the list, deleting it, and then moving it to the front is a very time consuming operation, even in hardware (

Dear students get fully solved assignments
Send your semester & Specialization name to our mail id :

  “ help.mbaassignments@gmail.com ”
or
Call us at : 08263069601


No comments:

Post a Comment

Note: only a member of this blog may post a comment.