SlideShare a Scribd company logo
1 of 3
Dear students get fully solved assignments
Send your semester & Specialization name to our mail id :
“ help.mbaassignments@gmail.com ”
or
Call us at : 08263069601
(SPRING 2015 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. Differentiate between Simple Batch Operating Systems and Timesharing Operating Systems.
Answer : Batch Operating System:
In earlycomputersystems,the userdidnotinteractdirectlywiththe computersystem.The dataand
programswere firstprepared on the input media such as punched cards or punched tape. The data
and programspreparedonthe punchedtape or punched cards were referred to as jobs. These jobs
were submitted to the computer operator. The computer operator would arrange the jobs into
propersequence knownasbatchesandrun the batchesthroughthe computer. The batch operating
system was used to manage and control such type of operations.
The simple batchoperatingsystemtransfersthe jobs to the processor one by one. When one job is
completed, then control is transferred to
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 processwhichis Executedbythe Processhave variousStates,the State of the Processisalsocalled
as the Status of the process,The Status includes whether the Process has Executed or Whether the
processisWaitingfor 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
3 Define Deadlock. Explain necessary conditions for deadlock.
Answer : A deadlock is a situation in which two computer programs sharing the same resource are
effectivelypreventingeachotherfromaccessingthe resource,resultinginboth programs ceasing to
function.The earliestcomputeroperatingsystemsranonlyone 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.
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.
(Directaccesscan also be calledrandomaccess,because itallowsequallyeasyandfastaccess to any
randomlyselecteddestination.Somewhatlike traveling by a Star Trek transporter instead of driving
alongthe freewayandpassingthe exitsone ata time,whichiswhatyou getwithsequentialaccess.)
In a normal, physical book, the reader is supposed to read pages one by one, in the order in which
theyare providedbythe author.Formost books(fiction,atleast),itmakeslittle sense forthe reader
to turn directlypage 256 andstart readingthere.Unless,of course, that is where the reader left off
in their last reading session. Getting to page 256 in a 500-
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
betweenthe disksystemandthe processor.Itwouldbe veryinefficienttoperformthese operations
directlythroughthe processor;itismuch more efficientif such devices, which can transfer data at a
veryhighrate,place the data directlyintothe 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 goodapproximationtothe optimal algorithmisbasedonthe 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
maintaina linkedlistof all pages in memory, with the most recently used page at the front and the
leastrecentlyusedpage atthe rear. The difficultyisthatthe list must be updated on every memory
reference. Finding a page in the list, deleting it,
Dear students get fully solved assignments
Send your semester & Specialization name to our mail id :
“ help.mbaassignments@gmail.com ”
or
Call us at : 08263069601

More Related Content

What's hot

Lecture 2 more about parallel computing
Lecture 2   more about parallel computingLecture 2   more about parallel computing
Lecture 2 more about parallel computingVajira Thambawita
 
program flow mechanisms, advanced computer architecture
program flow mechanisms, advanced computer architectureprogram flow mechanisms, advanced computer architecture
program flow mechanisms, advanced computer architecturePankaj Kumar Jain
 
Data decomposition techniques
Data decomposition techniquesData decomposition techniques
Data decomposition techniquesMohamed Ramadan
 
program partitioning and scheduling IN Advanced Computer Architecture
program partitioning and scheduling  IN Advanced Computer Architectureprogram partitioning and scheduling  IN Advanced Computer Architecture
program partitioning and scheduling IN Advanced Computer ArchitecturePankaj Kumar Jain
 
Hardware and software parallelism
Hardware and software parallelismHardware and software parallelism
Hardware and software parallelismSumita Das
 
Physical organization of parallel platforms
Physical organization of parallel platformsPhysical organization of parallel platforms
Physical organization of parallel platformsSyed Zaid Irshad
 
Communication costs in parallel machines
Communication costs in parallel machinesCommunication costs in parallel machines
Communication costs in parallel machinesSyed Zaid Irshad
 
Scheduling in distributed systems - Andrii Vozniuk
Scheduling in distributed systems - Andrii VozniukScheduling in distributed systems - Andrii Vozniuk
Scheduling in distributed systems - Andrii VozniukAndrii Vozniuk
 
Dynamic load balancing in distributed systems in the presence of delays a re...
Dynamic load balancing in distributed systems in the presence of delays  a re...Dynamic load balancing in distributed systems in the presence of delays  a re...
Dynamic load balancing in distributed systems in the presence of delays a re...Mumbai Academisc
 
Lec 4 (program and network properties)
Lec 4 (program and network properties)Lec 4 (program and network properties)
Lec 4 (program and network properties)Sudarshan Mondal
 
Chapter 3 principles of parallel algorithm design
Chapter 3   principles of parallel algorithm designChapter 3   principles of parallel algorithm design
Chapter 3 principles of parallel algorithm designDenisAkbar1
 
Program and Network Properties
Program and Network PropertiesProgram and Network Properties
Program and Network PropertiesBeekrum Duwal
 
Parallel Computing 2007: Bring your own parallel application
Parallel Computing 2007: Bring your own parallel applicationParallel Computing 2007: Bring your own parallel application
Parallel Computing 2007: Bring your own parallel applicationGeoffrey Fox
 
Chapter 1 - introduction - parallel computing
Chapter  1 - introduction - parallel computingChapter  1 - introduction - parallel computing
Chapter 1 - introduction - parallel computingHeman Pathak
 
Mi0034 database management system
Mi0034   database management systemMi0034   database management system
Mi0034 database management systemStudy Stuff
 
Lecture 1 introduction to parallel and distributed computing
Lecture 1   introduction to parallel and distributed computingLecture 1   introduction to parallel and distributed computing
Lecture 1 introduction to parallel and distributed computingVajira Thambawita
 
Flow control in computer
Flow control in computerFlow control in computer
Flow control in computerrud_d_rcks
 
An efficient approach for load balancing using dynamic ab algorithm in cloud ...
An efficient approach for load balancing using dynamic ab algorithm in cloud ...An efficient approach for load balancing using dynamic ab algorithm in cloud ...
An efficient approach for load balancing using dynamic ab algorithm in cloud ...bhavikpooja
 
Report on High Performance Computing
Report on High Performance ComputingReport on High Performance Computing
Report on High Performance ComputingPrateek Sarangi
 

What's hot (20)

Lecture 2 more about parallel computing
Lecture 2   more about parallel computingLecture 2   more about parallel computing
Lecture 2 more about parallel computing
 
program flow mechanisms, advanced computer architecture
program flow mechanisms, advanced computer architectureprogram flow mechanisms, advanced computer architecture
program flow mechanisms, advanced computer architecture
 
Data decomposition techniques
Data decomposition techniquesData decomposition techniques
Data decomposition techniques
 
program partitioning and scheduling IN Advanced Computer Architecture
program partitioning and scheduling  IN Advanced Computer Architectureprogram partitioning and scheduling  IN Advanced Computer Architecture
program partitioning and scheduling IN Advanced Computer Architecture
 
Hardware and software parallelism
Hardware and software parallelismHardware and software parallelism
Hardware and software parallelism
 
Physical organization of parallel platforms
Physical organization of parallel platformsPhysical organization of parallel platforms
Physical organization of parallel platforms
 
Chapter 1 pc
Chapter 1 pcChapter 1 pc
Chapter 1 pc
 
Communication costs in parallel machines
Communication costs in parallel machinesCommunication costs in parallel machines
Communication costs in parallel machines
 
Scheduling in distributed systems - Andrii Vozniuk
Scheduling in distributed systems - Andrii VozniukScheduling in distributed systems - Andrii Vozniuk
Scheduling in distributed systems - Andrii Vozniuk
 
Dynamic load balancing in distributed systems in the presence of delays a re...
Dynamic load balancing in distributed systems in the presence of delays  a re...Dynamic load balancing in distributed systems in the presence of delays  a re...
Dynamic load balancing in distributed systems in the presence of delays a re...
 
Lec 4 (program and network properties)
Lec 4 (program and network properties)Lec 4 (program and network properties)
Lec 4 (program and network properties)
 
Chapter 3 principles of parallel algorithm design
Chapter 3   principles of parallel algorithm designChapter 3   principles of parallel algorithm design
Chapter 3 principles of parallel algorithm design
 
Program and Network Properties
Program and Network PropertiesProgram and Network Properties
Program and Network Properties
 
Parallel Computing 2007: Bring your own parallel application
Parallel Computing 2007: Bring your own parallel applicationParallel Computing 2007: Bring your own parallel application
Parallel Computing 2007: Bring your own parallel application
 
Chapter 1 - introduction - parallel computing
Chapter  1 - introduction - parallel computingChapter  1 - introduction - parallel computing
Chapter 1 - introduction - parallel computing
 
Mi0034 database management system
Mi0034   database management systemMi0034   database management system
Mi0034 database management system
 
Lecture 1 introduction to parallel and distributed computing
Lecture 1   introduction to parallel and distributed computingLecture 1   introduction to parallel and distributed computing
Lecture 1 introduction to parallel and distributed computing
 
Flow control in computer
Flow control in computerFlow control in computer
Flow control in computer
 
An efficient approach for load balancing using dynamic ab algorithm in cloud ...
An efficient approach for load balancing using dynamic ab algorithm in cloud ...An efficient approach for load balancing using dynamic ab algorithm in cloud ...
An efficient approach for load balancing using dynamic ab algorithm in cloud ...
 
Report on High Performance Computing
Report on High Performance ComputingReport on High Performance Computing
Report on High Performance Computing
 

Viewers also liked

Strategic management
Strategic managementStrategic management
Strategic managementsmumbahelp
 
Klöckner & Co - Willkommen bei Becker Stahl-Service 2010
Klöckner & Co - Willkommen bei Becker Stahl-Service 2010Klöckner & Co - Willkommen bei Becker Stahl-Service 2010
Klöckner & Co - Willkommen bei Becker Stahl-Service 2010Klöckner & Co SE
 
Mh0059 – quality management in healthcare services
Mh0059 – quality management in healthcare servicesMh0059 – quality management in healthcare services
Mh0059 – quality management in healthcare servicessmumbahelp
 
GeneTalk - How-to Analyse Your Genetic Variant Data
GeneTalk - How-to Analyse Your Genetic Variant DataGeneTalk - How-to Analyse Your Genetic Variant Data
GeneTalk - How-to Analyse Your Genetic Variant DataAlexej Knaus
 
Face conference finding new clients with adwords
Face conference   finding new clients with adwordsFace conference   finding new clients with adwords
Face conference finding new clients with adwordsLatitude Digital Marketing
 
Rhein- Ruhr- Team
Rhein- Ruhr- TeamRhein- Ruhr- Team
Rhein- Ruhr- TeamRic Ode
 
Rate credit card processing
Rate credit card processingRate credit card processing
Rate credit card processingratecredi8
 
Newfoundland mortgage
Newfoundland mortgageNewfoundland mortgage
Newfoundland mortgagerossbrian
 

Viewers also liked (16)

Strategic management
Strategic managementStrategic management
Strategic management
 
4th sem
4th sem4th sem
4th sem
 
Klöckner & Co - Willkommen bei Becker Stahl-Service 2010
Klöckner & Co - Willkommen bei Becker Stahl-Service 2010Klöckner & Co - Willkommen bei Becker Stahl-Service 2010
Klöckner & Co - Willkommen bei Becker Stahl-Service 2010
 
Rammeverk: Effektivisering av HR-forvaltingen
Rammeverk: Effektivisering av HR-forvaltingenRammeverk: Effektivisering av HR-forvaltingen
Rammeverk: Effektivisering av HR-forvaltingen
 
Artisan Development Initiative
Artisan Development InitiativeArtisan Development Initiative
Artisan Development Initiative
 
Mh0059 – quality management in healthcare services
Mh0059 – quality management in healthcare servicesMh0059 – quality management in healthcare services
Mh0059 – quality management in healthcare services
 
DOL model notice for exchange
DOL  model notice for exchangeDOL  model notice for exchange
DOL model notice for exchange
 
Bab4 130104100650-phpapp02(1)
Bab4 130104100650-phpapp02(1)Bab4 130104100650-phpapp02(1)
Bab4 130104100650-phpapp02(1)
 
GeneTalk - How-to Analyse Your Genetic Variant Data
GeneTalk - How-to Analyse Your Genetic Variant DataGeneTalk - How-to Analyse Your Genetic Variant Data
GeneTalk - How-to Analyse Your Genetic Variant Data
 
Affordable Care Act- Healthcare Act for Large Businesses
Affordable Care Act- Healthcare Act for Large BusinessesAffordable Care Act- Healthcare Act for Large Businesses
Affordable Care Act- Healthcare Act for Large Businesses
 
Publications of patent applications by Indian Patent Office and Indian Grante...
Publications of patent applications by Indian Patent Office and Indian Grante...Publications of patent applications by Indian Patent Office and Indian Grante...
Publications of patent applications by Indian Patent Office and Indian Grante...
 
Face conference finding new clients with adwords
Face conference   finding new clients with adwordsFace conference   finding new clients with adwords
Face conference finding new clients with adwords
 
Rhein- Ruhr- Team
Rhein- Ruhr- TeamRhein- Ruhr- Team
Rhein- Ruhr- Team
 
Search Marketing Plan
Search Marketing PlanSearch Marketing Plan
Search Marketing Plan
 
Rate credit card processing
Rate credit card processingRate credit card processing
Rate credit card processing
 
Newfoundland mortgage
Newfoundland mortgageNewfoundland mortgage
Newfoundland mortgage
 

Similar to Bca2010 – operating system

Mit201– operating system
Mit201– operating systemMit201– operating system
Mit201– operating systemsmumbahelp
 
Os files 2
Os files 2Os files 2
Os files 2Amit Pal
 
Os solved question paper
Os solved question paperOs solved question paper
Os solved question paperAnkit Bhatnagar
 
Distributed system notes unit I
Distributed system notes unit IDistributed system notes unit I
Distributed system notes unit INANDINI SHARMA
 
Concurrency and Parallelism, Asynchronous Programming, Network Programming
Concurrency and Parallelism, Asynchronous Programming, Network ProgrammingConcurrency and Parallelism, Asynchronous Programming, Network Programming
Concurrency and Parallelism, Asynchronous Programming, Network ProgrammingPrabu U
 
Operating system Q/A
Operating system Q/AOperating system Q/A
Operating system Q/AAbdul Munam
 
Mainmemoryfinal 161019122029
Mainmemoryfinal 161019122029Mainmemoryfinal 161019122029
Mainmemoryfinal 161019122029marangburu42
 
SOLUTION MANUAL OF OPERATING SYSTEM CONCEPTS BY ABRAHAM SILBERSCHATZ, PETER B...
SOLUTION MANUAL OF OPERATING SYSTEM CONCEPTS BY ABRAHAM SILBERSCHATZ, PETER B...SOLUTION MANUAL OF OPERATING SYSTEM CONCEPTS BY ABRAHAM SILBERSCHATZ, PETER B...
SOLUTION MANUAL OF OPERATING SYSTEM CONCEPTS BY ABRAHAM SILBERSCHATZ, PETER B...vtunotesbysree
 
Bt0070, operating systems
Bt0070, operating systemsBt0070, operating systems
Bt0070, operating systemssmumbahelp
 
operating system question bank
operating system question bankoperating system question bank
operating system question bankrajatdeep kaur
 
Cloud Computing Load Balancing Algorithms Comparison Based Survey
Cloud Computing Load Balancing Algorithms Comparison Based SurveyCloud Computing Load Balancing Algorithms Comparison Based Survey
Cloud Computing Load Balancing Algorithms Comparison Based SurveyINFOGAIN PUBLICATION
 
Hardback solution to accelerate multimedia computation through mgp in cmp
Hardback solution to accelerate multimedia computation through mgp in cmpHardback solution to accelerate multimedia computation through mgp in cmp
Hardback solution to accelerate multimedia computation through mgp in cmpeSAT Publishing House
 
Analysis of a Pool Management Scheme for Cloud Computing Centres by Using Par...
Analysis of a Pool Management Scheme for Cloud Computing Centres by Using Par...Analysis of a Pool Management Scheme for Cloud Computing Centres by Using Par...
Analysis of a Pool Management Scheme for Cloud Computing Centres by Using Par...IJERA Editor
 
Machine learning in Dynamic Adaptive Streaming over HTTP (DASH)
Machine learning in Dynamic Adaptive Streaming over HTTP (DASH)Machine learning in Dynamic Adaptive Streaming over HTTP (DASH)
Machine learning in Dynamic Adaptive Streaming over HTTP (DASH)Eswar Publications
 
A survey of various scheduling algorithm in cloud computing environment
A survey of various scheduling algorithm in cloud computing environmentA survey of various scheduling algorithm in cloud computing environment
A survey of various scheduling algorithm in cloud computing environmenteSAT Journals
 
A survey of various scheduling algorithm in cloud computing environment
A survey of various scheduling algorithm in cloud computing environmentA survey of various scheduling algorithm in cloud computing environment
A survey of various scheduling algorithm in cloud computing environmenteSAT Publishing House
 

Similar to Bca2010 – operating system (20)

Mit201– operating system
Mit201– operating systemMit201– operating system
Mit201– operating system
 
Os files 2
Os files 2Os files 2
Os files 2
 
Os solved question paper
Os solved question paperOs solved question paper
Os solved question paper
 
Distributed system notes unit I
Distributed system notes unit IDistributed system notes unit I
Distributed system notes unit I
 
Concurrency and Parallelism, Asynchronous Programming, Network Programming
Concurrency and Parallelism, Asynchronous Programming, Network ProgrammingConcurrency and Parallelism, Asynchronous Programming, Network Programming
Concurrency and Parallelism, Asynchronous Programming, Network Programming
 
Os
OsOs
Os
 
Operating system Q/A
Operating system Q/AOperating system Q/A
Operating system Q/A
 
Mainmemoryfinal 161019122029
Mainmemoryfinal 161019122029Mainmemoryfinal 161019122029
Mainmemoryfinal 161019122029
 
Os
OsOs
Os
 
SOLUTION MANUAL OF OPERATING SYSTEM CONCEPTS BY ABRAHAM SILBERSCHATZ, PETER B...
SOLUTION MANUAL OF OPERATING SYSTEM CONCEPTS BY ABRAHAM SILBERSCHATZ, PETER B...SOLUTION MANUAL OF OPERATING SYSTEM CONCEPTS BY ABRAHAM SILBERSCHATZ, PETER B...
SOLUTION MANUAL OF OPERATING SYSTEM CONCEPTS BY ABRAHAM SILBERSCHATZ, PETER B...
 
Bt0070, operating systems
Bt0070, operating systemsBt0070, operating systems
Bt0070, operating systems
 
operating system question bank
operating system question bankoperating system question bank
operating system question bank
 
Main memoryfinal
Main memoryfinalMain memoryfinal
Main memoryfinal
 
Cloud Computing Load Balancing Algorithms Comparison Based Survey
Cloud Computing Load Balancing Algorithms Comparison Based SurveyCloud Computing Load Balancing Algorithms Comparison Based Survey
Cloud Computing Load Balancing Algorithms Comparison Based Survey
 
Hardback solution to accelerate multimedia computation through mgp in cmp
Hardback solution to accelerate multimedia computation through mgp in cmpHardback solution to accelerate multimedia computation through mgp in cmp
Hardback solution to accelerate multimedia computation through mgp in cmp
 
Analysis of a Pool Management Scheme for Cloud Computing Centres by Using Par...
Analysis of a Pool Management Scheme for Cloud Computing Centres by Using Par...Analysis of a Pool Management Scheme for Cloud Computing Centres by Using Par...
Analysis of a Pool Management Scheme for Cloud Computing Centres by Using Par...
 
Machine learning in Dynamic Adaptive Streaming over HTTP (DASH)
Machine learning in Dynamic Adaptive Streaming over HTTP (DASH)Machine learning in Dynamic Adaptive Streaming over HTTP (DASH)
Machine learning in Dynamic Adaptive Streaming over HTTP (DASH)
 
A survey of various scheduling algorithm in cloud computing environment
A survey of various scheduling algorithm in cloud computing environmentA survey of various scheduling algorithm in cloud computing environment
A survey of various scheduling algorithm in cloud computing environment
 
A survey of various scheduling algorithm in cloud computing environment
A survey of various scheduling algorithm in cloud computing environmentA survey of various scheduling algorithm in cloud computing environment
A survey of various scheduling algorithm in cloud computing environment
 
Chap2 slides
Chap2 slidesChap2 slides
Chap2 slides
 

Bca2010 – operating system

  • 1. Dear students get fully solved assignments Send your semester & Specialization name to our mail id : “ help.mbaassignments@gmail.com ” or Call us at : 08263069601 (SPRING 2015 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. Differentiate between Simple Batch Operating Systems and Timesharing Operating Systems. Answer : Batch Operating System: In earlycomputersystems,the userdidnotinteractdirectlywiththe computersystem.The dataand programswere firstprepared on the input media such as punched cards or punched tape. The data and programspreparedonthe punchedtape or punched cards were referred to as jobs. These jobs were submitted to the computer operator. The computer operator would arrange the jobs into propersequence knownasbatchesandrun the batchesthroughthe computer. The batch operating system was used to manage and control such type of operations. The simple batchoperatingsystemtransfersthe jobs to the processor one by one. When one job is completed, then control is transferred to 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 processwhichis Executedbythe Processhave variousStates,the State of the Processisalsocalled as the Status of the process,The Status includes whether the Process has Executed or Whether the processisWaitingfor 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
  • 2. 3 Define Deadlock. Explain necessary conditions for deadlock. Answer : A deadlock is a situation in which two computer programs sharing the same resource are effectivelypreventingeachotherfromaccessingthe resource,resultinginboth programs ceasing to function.The earliestcomputeroperatingsystemsranonlyone 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. 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. (Directaccesscan also be calledrandomaccess,because itallowsequallyeasyandfastaccess to any randomlyselecteddestination.Somewhatlike traveling by a Star Trek transporter instead of driving alongthe freewayandpassingthe exitsone ata time,whichiswhatyou getwithsequentialaccess.) In a normal, physical book, the reader is supposed to read pages one by one, in the order in which theyare providedbythe author.Formost books(fiction,atleast),itmakeslittle sense forthe reader to turn directlypage 256 andstart readingthere.Unless,of course, that is where the reader left off in their last reading session. Getting to page 256 in a 500- 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 betweenthe disksystemandthe processor.Itwouldbe veryinefficienttoperformthese operations directlythroughthe processor;itismuch more efficientif such devices, which can transfer data at a veryhighrate,place the data directlyintothe 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
  • 3. 6. Explain LRU page replacement algorithm with example Answer:A goodapproximationtothe optimal algorithmisbasedonthe 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 maintaina linkedlistof all pages in memory, with the most recently used page at the front and the leastrecentlyusedpage atthe rear. The difficultyisthatthe list must be updated on every memory reference. Finding a page in the list, deleting it, Dear students get fully solved assignments Send your semester & Specialization name to our mail id : “ help.mbaassignments@gmail.com ” or Call us at : 08263069601