SlideShare uma empresa Scribd logo
1 de 4
Baixar para ler offline
BCA ( SEM. - 4th ) ,MAY -2008

                              OPERATING SYSTEM

                             SUBJECT CODE : BC-404

TIME-03 Hours                                            Maximum Marks : 60

Instruction to candidates:

   1) Section – A is Compulsory.
   2) Attempt any Four questions from Section – B.

                         SECTION-A                                 (10 X 2=20)

     1. (a) What are the two main functions of an operating system?
      (b) What is the principal advantage of multiprogramming ?
      (c) Differentiate user level threads from kernel level threads.
      (d) Which is the best condition to prevent from a deadlock?
      (e) Define the concept of dynamic linking.
      (f) What is compaction and why is it used?
      (g) What is the difference between local page replacement and global page
      replacement?
      (h) How interrupt differ from trap?
      (i) What is the purpose of system program?
      (j) What is the function of dispatcher?
                           SECTION-B                                 (4X10=40)
     2. (a) What is operating system? Explain simple batch processing,
          Multiprogramming, multitasking and distributed systems.
         (b) Explain different types of scheduling queues and types of schedulers.

     3. Consider the following set of processes, with the length of CPU – burst
time given in milliseconds:
Process                    Burst Time                Priority

P1                         10                        3

P2                         29                        1

P3                         3                         3

P4                         7                         4

P5                         12                        2

The processes are assumed to have arrived in the order P1, P2,P3,P4 and P5 all at
time 0.

     (a) What is turnaround time of each process for using FCFS, SJF, a non-
         preemptive priority (a smaller priority number implies a higher priority) and
         RR (quantum =10) scheduling.
     (b) What is waiting time of each process for each of the scheduling algorithm in
         part a?

4. (a) Explain Dining Philosopher problem in process synchronization.

(b) What are the four necessary conditions to occur a deadlock? Explain banker’s
algorithm.

5. (a) Why are page sizes always power of 2?

  (b) Consider a logical address space of eight pages of 1024 words each ,
mapped onto a physical memory of 32 frames . How many bits are there in the
logical address and physical address?

6. (a) What is the causes of thrashing ? How it occurs and explain different
methods to prevent from thrashing .

  (b) Explain the different operations performed on files .

7. Write short note on the following:

  (a) Operating system security threats. (b) Data encryption and decryption.
BCA ( SEM. - 4th ) ,MAY -2009

                              OPERATING SYSTEM

                             SUBJECT CODE : BC-404

TIME-03 Hours                                            Maximum Marks : 60



Instruction to candidates:

     3. Section – A is Compulsory.
     4. Attempt any Four questions from Section – B.

                         SECTION-A                               (10 X 2=20)

      1. (a) What is difference between logical address and physical address?
         (b) Give any one reason for the process to get blocked.
         (c) What is Semaphore?
         (d) What do you mean by simple batch processing system?
         (e) Explain virtual memory and associative memory.
         (f) List the three functions of resource management.
         (g) What do you mean by program threats?
         (h) What is indexed allocation?
         (i) What do you mean by Resource allocation?
         (j) Describe Critical Region?

                           SECTION-B                                (4X10=40)
         2. Explain First come ,first served(FCFS) and Round Robin scheduling
         algorithms.
         3. State and Discuss the differences between Multiprogramming and
         Multitasking.
         4. What do you mean by page -faults? When do page-faults occur?
         Describe the action taken by the O.S when page-fault occurs?
         5. Explain the need and various services provided by Operating System.
6. Write an algorithm to determine whether a given system is in a
deadlock and explain.
7. Write short notes on the following:
(a) Inter-process communication
(b) Real time system.

Mais conteúdo relacionado

Mais procurados

Os solved question paper
Os solved question paperOs solved question paper
Os solved question paperAnkit Bhatnagar
 
Cpu scheduling qusetions
Cpu scheduling qusetionsCpu scheduling qusetions
Cpu scheduling qusetionsJasonMarandi1
 
RTOS MICRO CONTROLLER OPERATING SYSTEM-2
RTOS MICRO CONTROLLER OPERATING SYSTEM-2RTOS MICRO CONTROLLER OPERATING SYSTEM-2
RTOS MICRO CONTROLLER OPERATING SYSTEM-2JOLLUSUDARSHANREDDY
 
Operating system - Process and its concepts
Operating system - Process and its conceptsOperating system - Process and its concepts
Operating system - Process and its conceptsKaran Thakkar
 
Real Time Operating System Concepts
Real Time Operating System ConceptsReal Time Operating System Concepts
Real Time Operating System ConceptsSanjiv Malik
 
Kcd226 Sistem Operasi Lecture04
Kcd226 Sistem Operasi Lecture04Kcd226 Sistem Operasi Lecture04
Kcd226 Sistem Operasi Lecture04Cahyo Darujati
 
Windows process scheduling presentation
Windows process scheduling presentationWindows process scheduling presentation
Windows process scheduling presentationTalha Shaikh
 
Process creation and termination In Operating System
Process creation and termination In Operating SystemProcess creation and termination In Operating System
Process creation and termination In Operating SystemFarhan Aslam
 
Windows process-scheduling
Windows process-schedulingWindows process-scheduling
Windows process-schedulingTalha Shaikh
 
Process management
Process managementProcess management
Process managementBirju Tank
 
Chapter 02
Chapter 02Chapter 02
Chapter 02 Google
 
Operating system Q/A
Operating system Q/AOperating system Q/A
Operating system Q/AAbdul Munam
 
OS - Process Concepts
OS - Process ConceptsOS - Process Concepts
OS - Process ConceptsMukesh Chinta
 

Mais procurados (20)

Os notes
Os notesOs notes
Os notes
 
The Windows Scheduler
The Windows SchedulerThe Windows Scheduler
The Windows Scheduler
 
Os solved question paper
Os solved question paperOs solved question paper
Os solved question paper
 
Chapter 02
Chapter 02Chapter 02
Chapter 02
 
Cpu scheduling qusetions
Cpu scheduling qusetionsCpu scheduling qusetions
Cpu scheduling qusetions
 
Lecture 5 process concept
Lecture 5   process conceptLecture 5   process concept
Lecture 5 process concept
 
RTOS MICRO CONTROLLER OPERATING SYSTEM-2
RTOS MICRO CONTROLLER OPERATING SYSTEM-2RTOS MICRO CONTROLLER OPERATING SYSTEM-2
RTOS MICRO CONTROLLER OPERATING SYSTEM-2
 
Operating system - Process and its concepts
Operating system - Process and its conceptsOperating system - Process and its concepts
Operating system - Process and its concepts
 
Real Time Operating System Concepts
Real Time Operating System ConceptsReal Time Operating System Concepts
Real Time Operating System Concepts
 
process creation OS
process creation OSprocess creation OS
process creation OS
 
Kcd226 Sistem Operasi Lecture04
Kcd226 Sistem Operasi Lecture04Kcd226 Sistem Operasi Lecture04
Kcd226 Sistem Operasi Lecture04
 
Windows process scheduling presentation
Windows process scheduling presentationWindows process scheduling presentation
Windows process scheduling presentation
 
Process creation and termination In Operating System
Process creation and termination In Operating SystemProcess creation and termination In Operating System
Process creation and termination In Operating System
 
Windows process-scheduling
Windows process-schedulingWindows process-scheduling
Windows process-scheduling
 
Process management
Process managementProcess management
Process management
 
Process threads operating system.
Process threads operating system.Process threads operating system.
Process threads operating system.
 
Mutual exclusion and sync
Mutual exclusion and syncMutual exclusion and sync
Mutual exclusion and sync
 
Chapter 02
Chapter 02Chapter 02
Chapter 02
 
Operating system Q/A
Operating system Q/AOperating system Q/A
Operating system Q/A
 
OS - Process Concepts
OS - Process ConceptsOS - Process Concepts
OS - Process Concepts
 

Destaque

Curriculum vitae
Curriculum vitaeCurriculum vitae
Curriculum vitaeJoyjit Jana
 
PROPOSED SYSTEM FOR MID-AIR HOLOGRAPHY PROJECTION USING CONVERSION OF 2D TO 3...
PROPOSED SYSTEM FOR MID-AIR HOLOGRAPHY PROJECTION USING CONVERSION OF 2D TO 3...PROPOSED SYSTEM FOR MID-AIR HOLOGRAPHY PROJECTION USING CONVERSION OF 2D TO 3...
PROPOSED SYSTEM FOR MID-AIR HOLOGRAPHY PROJECTION USING CONVERSION OF 2D TO 3...IAEME Publication
 
3D Holo Presentation for MIT 100K Business Plan Competition
3D Holo Presentation for MIT 100K Business Plan Competition3D Holo Presentation for MIT 100K Business Plan Competition
3D Holo Presentation for MIT 100K Business Plan Competitionmturilin
 
2013-June: 3rd Semester Mechanical Engineering Question Paper
2013-June: 3rd Semester Mechanical Engineering Question Paper 2013-June: 3rd Semester Mechanical Engineering Question Paper
2013-June: 3rd Semester Mechanical Engineering Question Paper B G S Institute of Technolgy
 
Banker's note - Blackstone Synergy Pitch
Banker's note - Blackstone Synergy PitchBanker's note - Blackstone Synergy Pitch
Banker's note - Blackstone Synergy PitchDebashish Banerjee
 
Mca ii os u-3 dead lock & io systems
Mca  ii  os u-3 dead lock & io systemsMca  ii  os u-3 dead lock & io systems
Mca ii os u-3 dead lock & io systemsRai University
 
Introduction to Operating system
Introduction to Operating systemIntroduction to Operating system
Introduction to Operating systemMuhammad Aqeel
 
TTT diagram of eutectoid steel and martensitic transformation
TTT diagram of eutectoid steel and martensitic transformationTTT diagram of eutectoid steel and martensitic transformation
TTT diagram of eutectoid steel and martensitic transformationonlinemetallurgy.com
 
Lecture5
Lecture5Lecture5
Lecture5jntu
 
Operating system Dead lock
Operating system Dead lockOperating system Dead lock
Operating system Dead lockKaram Munir Butt
 

Destaque (20)

Holography
HolographyHolography
Holography
 
Curriculum vitae
Curriculum vitaeCurriculum vitae
Curriculum vitae
 
2nd Semester M Tech: Computer Science and Engineering (Jun-2016) Question Pa...
2nd  Semester M Tech: Computer Science and Engineering (Jun-2016) Question Pa...2nd  Semester M Tech: Computer Science and Engineering (Jun-2016) Question Pa...
2nd Semester M Tech: Computer Science and Engineering (Jun-2016) Question Pa...
 
2nd Semester M Tech: Computer Science and Engineering (June-2015) Question Pa...
2nd Semester M Tech: Computer Science and Engineering (June-2015) Question Pa...2nd Semester M Tech: Computer Science and Engineering (June-2015) Question Pa...
2nd Semester M Tech: Computer Science and Engineering (June-2015) Question Pa...
 
4th Semester M Tech: Computer Science and Engineering (Jun-2016) Question Papers
4th Semester M Tech: Computer Science and Engineering (Jun-2016) Question Papers4th Semester M Tech: Computer Science and Engineering (Jun-2016) Question Papers
4th Semester M Tech: Computer Science and Engineering (Jun-2016) Question Papers
 
PROPOSED SYSTEM FOR MID-AIR HOLOGRAPHY PROJECTION USING CONVERSION OF 2D TO 3...
PROPOSED SYSTEM FOR MID-AIR HOLOGRAPHY PROJECTION USING CONVERSION OF 2D TO 3...PROPOSED SYSTEM FOR MID-AIR HOLOGRAPHY PROJECTION USING CONVERSION OF 2D TO 3...
PROPOSED SYSTEM FOR MID-AIR HOLOGRAPHY PROJECTION USING CONVERSION OF 2D TO 3...
 
1st Semester M Tech Computer Science and Engg (Dec-2013) Question Papers
1st Semester M Tech Computer Science and Engg  (Dec-2013) Question Papers 1st Semester M Tech Computer Science and Engg  (Dec-2013) Question Papers
1st Semester M Tech Computer Science and Engg (Dec-2013) Question Papers
 
3D Holo Presentation for MIT 100K Business Plan Competition
3D Holo Presentation for MIT 100K Business Plan Competition3D Holo Presentation for MIT 100K Business Plan Competition
3D Holo Presentation for MIT 100K Business Plan Competition
 
2013-June: 3rd Semester Mechanical Engineering Question Paper
2013-June: 3rd Semester Mechanical Engineering Question Paper 2013-June: 3rd Semester Mechanical Engineering Question Paper
2013-June: 3rd Semester Mechanical Engineering Question Paper
 
1st and 2nd Semester M Tech: Computer Science and Engineering (Dec-2015; Jan-...
1st and 2nd Semester M Tech: Computer Science and Engineering (Dec-2015; Jan-...1st and 2nd Semester M Tech: Computer Science and Engineering (Dec-2015; Jan-...
1st and 2nd Semester M Tech: Computer Science and Engineering (Dec-2015; Jan-...
 
3rd Semester Mechanical Engineering (2013-June) Question Papers
3rd Semester Mechanical Engineering (2013-June) Question Papers 3rd Semester Mechanical Engineering (2013-June) Question Papers
3rd Semester Mechanical Engineering (2013-June) Question Papers
 
Banker's note - Blackstone Synergy Pitch
Banker's note - Blackstone Synergy PitchBanker's note - Blackstone Synergy Pitch
Banker's note - Blackstone Synergy Pitch
 
Bankers
BankersBankers
Bankers
 
4th Semester Mechanical Engineering (2013-June) Question Papers
4th Semester Mechanical Engineering (2013-June) Question Papers 4th Semester Mechanical Engineering (2013-June) Question Papers
4th Semester Mechanical Engineering (2013-June) Question Papers
 
Mca ii os u-3 dead lock & io systems
Mca  ii  os u-3 dead lock & io systemsMca  ii  os u-3 dead lock & io systems
Mca ii os u-3 dead lock & io systems
 
Introduction to Operating system
Introduction to Operating systemIntroduction to Operating system
Introduction to Operating system
 
Deadlock_SVVSDM_DWD
Deadlock_SVVSDM_DWDDeadlock_SVVSDM_DWD
Deadlock_SVVSDM_DWD
 
TTT diagram of eutectoid steel and martensitic transformation
TTT diagram of eutectoid steel and martensitic transformationTTT diagram of eutectoid steel and martensitic transformation
TTT diagram of eutectoid steel and martensitic transformation
 
Lecture5
Lecture5Lecture5
Lecture5
 
Operating system Dead lock
Operating system Dead lockOperating system Dead lock
Operating system Dead lock
 

Semelhante a 2009 Punjab Technical University B.C.A OPERATING SYSTEM Question paper

Operating%20 system iii_201
Operating%20 system iii_201Operating%20 system iii_201
Operating%20 system iii_201tafaratapera
 
IFSM 310 Software and Hardware Infrastructure ConceptsComputer.docx
IFSM 310 Software and Hardware Infrastructure ConceptsComputer.docxIFSM 310 Software and Hardware Infrastructure ConceptsComputer.docx
IFSM 310 Software and Hardware Infrastructure ConceptsComputer.docxscuttsginette
 
Smu bca winter 2013
Smu bca winter 2013Smu bca winter 2013
Smu bca winter 2013smumbahelp
 
C O M P U T E R O R G A N I Z A T I O N J N T U M O D E L P A P E R{Www
C O M P U T E R  O R G A N I Z A T I O N  J N T U  M O D E L  P A P E R{WwwC O M P U T E R  O R G A N I Z A T I O N  J N T U  M O D E L  P A P E R{Www
C O M P U T E R O R G A N I Z A T I O N J N T U M O D E L P A P E R{Wwwguest3f9c6b
 
Computer Organization Jntu Model Paper{Www.Studentyogi.Com}
Computer Organization Jntu Model Paper{Www.Studentyogi.Com}Computer Organization Jntu Model Paper{Www.Studentyogi.Com}
Computer Organization Jntu Model Paper{Www.Studentyogi.Com}guest3f9c6b
 
Cs ep-sample jan2012-final
Cs ep-sample jan2012-finalCs ep-sample jan2012-final
Cs ep-sample jan2012-finalIrfaan Bahadoor
 
2009 Punjab Technical University B.C.A Object Oriented Proagramming Language ...
2009 Punjab Technical University B.C.A Object Oriented Proagramming Language ...2009 Punjab Technical University B.C.A Object Oriented Proagramming Language ...
2009 Punjab Technical University B.C.A Object Oriented Proagramming Language ...Monica Sabharwal
 
2009 Punjab Technical University B.C.A Database Management System Question paper
2009 Punjab Technical University B.C.A Database Management System Question paper2009 Punjab Technical University B.C.A Database Management System Question paper
2009 Punjab Technical University B.C.A Database Management System Question paperMonica Sabharwal
 
Operating systems question bank
Operating systems question bankOperating systems question bank
Operating systems question bankanuradha raheja
 
BPSC Previous Year Question for AP, ANE, AME, ADA, AE
BPSC Previous Year Question for AP, ANE, AME, ADA, AE BPSC Previous Year Question for AP, ANE, AME, ADA, AE
BPSC Previous Year Question for AP, ANE, AME, ADA, AE Engr. Md. Jamal Uddin Rayhan
 
C O M P U T E R N E T W O R K S J N T U M O D E L P A P E R{Www
C O M P U T E R  N E T W O R K S  J N T U  M O D E L  P A P E R{WwwC O M P U T E R  N E T W O R K S  J N T U  M O D E L  P A P E R{Www
C O M P U T E R N E T W O R K S J N T U M O D E L P A P E R{Wwwguest3f9c6b
 
Computer Networks Jntu Model Paper{Www.Studentyogi.Com}
Computer Networks Jntu Model Paper{Www.Studentyogi.Com}Computer Networks Jntu Model Paper{Www.Studentyogi.Com}
Computer Networks Jntu Model Paper{Www.Studentyogi.Com}guest3f9c6b
 
SMU MCA SUMMER 2014 ASSIGNMENTS
SMU MCA SUMMER 2014 ASSIGNMENTSSMU MCA SUMMER 2014 ASSIGNMENTS
SMU MCA SUMMER 2014 ASSIGNMENTSsolved_assignments
 
Smu bscit sem 2 fall 2014 assignments
Smu bscit sem 2 fall 2014 assignmentsSmu bscit sem 2 fall 2014 assignments
Smu bscit sem 2 fall 2014 assignmentssmumbahelp
 
05211201 A D V A N C E D D A T A S T R U C T U R E S A N D A L G O R I...
05211201  A D V A N C E D  D A T A  S T R U C T U R E S   A N D   A L G O R I...05211201  A D V A N C E D  D A T A  S T R U C T U R E S   A N D   A L G O R I...
05211201 A D V A N C E D D A T A S T R U C T U R E S A N D A L G O R I...guestd436758
 
05211201 Advanced Data Structures And Algorithms
05211201 Advanced Data Structures  And  Algorithms05211201 Advanced Data Structures  And  Algorithms
05211201 Advanced Data Structures And Algorithmsguestac67362
 

Semelhante a 2009 Punjab Technical University B.C.A OPERATING SYSTEM Question paper (20)

Operating%20 system iii_201
Operating%20 system iii_201Operating%20 system iii_201
Operating%20 system iii_201
 
Csa papers
Csa papersCsa papers
Csa papers
 
IFSM 310 Software and Hardware Infrastructure ConceptsComputer.docx
IFSM 310 Software and Hardware Infrastructure ConceptsComputer.docxIFSM 310 Software and Hardware Infrastructure ConceptsComputer.docx
IFSM 310 Software and Hardware Infrastructure ConceptsComputer.docx
 
Smu bca winter 2013
Smu bca winter 2013Smu bca winter 2013
Smu bca winter 2013
 
C O M P U T E R O R G A N I Z A T I O N J N T U M O D E L P A P E R{Www
C O M P U T E R  O R G A N I Z A T I O N  J N T U  M O D E L  P A P E R{WwwC O M P U T E R  O R G A N I Z A T I O N  J N T U  M O D E L  P A P E R{Www
C O M P U T E R O R G A N I Z A T I O N J N T U M O D E L P A P E R{Www
 
Computer Organization Jntu Model Paper{Www.Studentyogi.Com}
Computer Organization Jntu Model Paper{Www.Studentyogi.Com}Computer Organization Jntu Model Paper{Www.Studentyogi.Com}
Computer Organization Jntu Model Paper{Www.Studentyogi.Com}
 
Cs ep-sample jan2012-final
Cs ep-sample jan2012-finalCs ep-sample jan2012-final
Cs ep-sample jan2012-final
 
2009 Punjab Technical University B.C.A Object Oriented Proagramming Language ...
2009 Punjab Technical University B.C.A Object Oriented Proagramming Language ...2009 Punjab Technical University B.C.A Object Oriented Proagramming Language ...
2009 Punjab Technical University B.C.A Object Oriented Proagramming Language ...
 
2009 Punjab Technical University B.C.A Database Management System Question paper
2009 Punjab Technical University B.C.A Database Management System Question paper2009 Punjab Technical University B.C.A Database Management System Question paper
2009 Punjab Technical University B.C.A Database Management System Question paper
 
Operating systems question bank
Operating systems question bankOperating systems question bank
Operating systems question bank
 
SMU ,CA FALL 2014 ASSIGNMENTS
SMU ,CA FALL 2014 ASSIGNMENTSSMU ,CA FALL 2014 ASSIGNMENTS
SMU ,CA FALL 2014 ASSIGNMENTS
 
Cs 63
Cs 63Cs 63
Cs 63
 
7th Semester (June; July-2015) Computer Science and Information Science Engin...
7th Semester (June; July-2015) Computer Science and Information Science Engin...7th Semester (June; July-2015) Computer Science and Information Science Engin...
7th Semester (June; July-2015) Computer Science and Information Science Engin...
 
BPSC Previous Year Question for AP, ANE, AME, ADA, AE
BPSC Previous Year Question for AP, ANE, AME, ADA, AE BPSC Previous Year Question for AP, ANE, AME, ADA, AE
BPSC Previous Year Question for AP, ANE, AME, ADA, AE
 
C O M P U T E R N E T W O R K S J N T U M O D E L P A P E R{Www
C O M P U T E R  N E T W O R K S  J N T U  M O D E L  P A P E R{WwwC O M P U T E R  N E T W O R K S  J N T U  M O D E L  P A P E R{Www
C O M P U T E R N E T W O R K S J N T U M O D E L P A P E R{Www
 
Computer Networks Jntu Model Paper{Www.Studentyogi.Com}
Computer Networks Jntu Model Paper{Www.Studentyogi.Com}Computer Networks Jntu Model Paper{Www.Studentyogi.Com}
Computer Networks Jntu Model Paper{Www.Studentyogi.Com}
 
SMU MCA SUMMER 2014 ASSIGNMENTS
SMU MCA SUMMER 2014 ASSIGNMENTSSMU MCA SUMMER 2014 ASSIGNMENTS
SMU MCA SUMMER 2014 ASSIGNMENTS
 
Smu bscit sem 2 fall 2014 assignments
Smu bscit sem 2 fall 2014 assignmentsSmu bscit sem 2 fall 2014 assignments
Smu bscit sem 2 fall 2014 assignments
 
05211201 A D V A N C E D D A T A S T R U C T U R E S A N D A L G O R I...
05211201  A D V A N C E D  D A T A  S T R U C T U R E S   A N D   A L G O R I...05211201  A D V A N C E D  D A T A  S T R U C T U R E S   A N D   A L G O R I...
05211201 A D V A N C E D D A T A S T R U C T U R E S A N D A L G O R I...
 
05211201 Advanced Data Structures And Algorithms
05211201 Advanced Data Structures  And  Algorithms05211201 Advanced Data Structures  And  Algorithms
05211201 Advanced Data Structures And Algorithms
 

2009 Punjab Technical University B.C.A OPERATING SYSTEM Question paper

  • 1. BCA ( SEM. - 4th ) ,MAY -2008 OPERATING SYSTEM SUBJECT CODE : BC-404 TIME-03 Hours Maximum Marks : 60 Instruction to candidates: 1) Section – A is Compulsory. 2) Attempt any Four questions from Section – B. SECTION-A (10 X 2=20) 1. (a) What are the two main functions of an operating system? (b) What is the principal advantage of multiprogramming ? (c) Differentiate user level threads from kernel level threads. (d) Which is the best condition to prevent from a deadlock? (e) Define the concept of dynamic linking. (f) What is compaction and why is it used? (g) What is the difference between local page replacement and global page replacement? (h) How interrupt differ from trap? (i) What is the purpose of system program? (j) What is the function of dispatcher? SECTION-B (4X10=40) 2. (a) What is operating system? Explain simple batch processing, Multiprogramming, multitasking and distributed systems. (b) Explain different types of scheduling queues and types of schedulers. 3. Consider the following set of processes, with the length of CPU – burst time given in milliseconds:
  • 2. Process Burst Time Priority P1 10 3 P2 29 1 P3 3 3 P4 7 4 P5 12 2 The processes are assumed to have arrived in the order P1, P2,P3,P4 and P5 all at time 0. (a) What is turnaround time of each process for using FCFS, SJF, a non- preemptive priority (a smaller priority number implies a higher priority) and RR (quantum =10) scheduling. (b) What is waiting time of each process for each of the scheduling algorithm in part a? 4. (a) Explain Dining Philosopher problem in process synchronization. (b) What are the four necessary conditions to occur a deadlock? Explain banker’s algorithm. 5. (a) Why are page sizes always power of 2? (b) Consider a logical address space of eight pages of 1024 words each , mapped onto a physical memory of 32 frames . How many bits are there in the logical address and physical address? 6. (a) What is the causes of thrashing ? How it occurs and explain different methods to prevent from thrashing . (b) Explain the different operations performed on files . 7. Write short note on the following: (a) Operating system security threats. (b) Data encryption and decryption.
  • 3. BCA ( SEM. - 4th ) ,MAY -2009 OPERATING SYSTEM SUBJECT CODE : BC-404 TIME-03 Hours Maximum Marks : 60 Instruction to candidates: 3. Section – A is Compulsory. 4. Attempt any Four questions from Section – B. SECTION-A (10 X 2=20) 1. (a) What is difference between logical address and physical address? (b) Give any one reason for the process to get blocked. (c) What is Semaphore? (d) What do you mean by simple batch processing system? (e) Explain virtual memory and associative memory. (f) List the three functions of resource management. (g) What do you mean by program threats? (h) What is indexed allocation? (i) What do you mean by Resource allocation? (j) Describe Critical Region? SECTION-B (4X10=40) 2. Explain First come ,first served(FCFS) and Round Robin scheduling algorithms. 3. State and Discuss the differences between Multiprogramming and Multitasking. 4. What do you mean by page -faults? When do page-faults occur? Describe the action taken by the O.S when page-fault occurs? 5. Explain the need and various services provided by Operating System.
  • 4. 6. Write an algorithm to determine whether a given system is in a deadlock and explain. 7. Write short notes on the following: (a) Inter-process communication (b) Real time system.