Chapter 5, Concurrency: Mutual Exclusion and Synchronization
#
|
Question
|
Book Ref.
|
Marks
|
Year
|
1
|
Define
multiprocessing.
|
5.1
|
1
|
Jan,2000
|
2
|
Define
distributed processing.
|
5.1
|
1
|
Jan,2000
|
3
|
Define
the mutual exclusion.
OR
Give
the condition required for mutual exclusion.
|
5.1
|
1
2
|
Jan,2000
Jan,2004
|
4
|
List
the two control problems created due to enforcement of mutual exclusion in
concurrent process
|
|
1
|
Jan,2003
|
5
|
Why semaphored are used for
mutual exclusion among an arbitrary number of processes? State the P and V
operations on semaphores. Also enumerate the hardware support developed for
mutual exclusion in various computer systems.
|
5.2
|
4
|
Jan,2000
|
6
|
Give the difference between
strong and weak semaphores.
OR
Define strong and weak
semaphore
OR
Explain the semaphores with
the help of an example.
OR
List the difference between
Strong and weak Semaphore
|
|
2
2
5
2
|
Jan,2004
Aug,2004
Jan,2005
Jan,2008
|
7
|
What is semaphore? Give and explain the
algorithm of producer consumer problem with bounded buffer using general
semaphore.
OR
Explain
bounded buffer Producer Consumer problem with algorithm
|
|
4
5
|
Jan,2000
Aug,2004
|
8
|
What
is monitor? Give the implementation of the bounded Buffer Producer-Consumer
problem using monitor.
|
|
5
|
Dec,2006
|
9
|
What
is monitor? What are the requirements that need to be met by a system, which
provides a support for mutual Exclusion?
|
|
4
|
Jan,2008
|
10
|
Give
the advantages of using monitor.
|
|
1
|
Jan,2000
|
11
|
Describe
reader’s writer problem. Implement it using semaphore.
OR
Define
Readers Writers problem what are conditions generally associated with this
problem? How can this problem be solved suing semaphores?
OR
Define
Readers Writers Problem. Give its implementation using Semaphore. Here,
readers have more priority than writer.
|
|
4
5
5
|
Jan,2000
Jan,2004
Dec,2006
|
12
|
Write
and explain Producer Consumer problem with circular buffer.
|
|
4
|
Jan,2002
|
13
|
Discuss
the Barbershop problem to use semaphores
OR
Discuss
how barbershop problem is solves with the use of semaphores.
OR
Define
the barbershop Problem. Explain The implementation of a fair Barbershop
Problem using semaphore.
|
|
3
5
5
|
Jan,2003
Jan,2004
Jan,2008
|
14
|
Give the difference between competing process
and cooperating process
OR
Difference Between competing and cooperative
processes.
|
|
2
2
|
Jan,2004
Aug,2004
|
15
|
Write
short notes on Message passing system.
|
|
2
|
Jan,2000
|
16
|
Explain Monitors for process
synchronization
|
|
2
|
Jan,2000
|
17
|
Write
short note on Bakery algorithm for mutual exclusion
|
|
3
|
Jan,2002
|
18
|
Define
test and Set
Test-and-set instruction
Ø
Good for short time wait, not good for long
time wait
Ø
Nor so good in single processor system
Ø
May reserve CPU, which is needed by the
process holding the lock
Ø
Waiting is usually “busy wait” in a loop
|
|
1
|
Jan,2002
|
19
|
State
whether the following statements are true or false.
The
wait and signal operations must be non atomic.
|
False
|
1
|
Jan,2002
|
Subscribe to:
Post Comments (Atom)
Subjects
- WordPress
- Mobile Computing-4649303 Practical Solution
- Android Programming New Syllabus Theory
- PHP LAMP Question Bank
- PHP LAMP Theory
- Step by Step Android Example
- Android Practical
- Android Theory
- Android Question Bank
- Networking FON Practical
- Networking FON Theory
- OS Practical
- OS Theory
- HTML
- JavaScript
- J2EE WTAD Theory
- J2EE WTAD Question Bank
- J2EE WTAD Quick Guide
- J2EE WTAD GTU Papers
- J2EE WTAD Practical
- Python
- JAVA Theory
- JAVA Practical
- MIS
Categories
- Android (55)
- c (11)
- Configure Tomcat7 (2)
- CSS (3)
- Decryption (16)
- Difference (1)
- Encryption (16)
- Error Detection and Correction Techniques (3)
- FON (27)
- Framing Technic (2)
- install Tomcat (2)
- J2EE (29)
- JAVA (13)
- JavaScript (19)
- linux (8)
- OS (17)
- PHP (11)
- Protocol (3)
- SERVER SOCKET PROGRAMING (7)
- Servlet (13)
- shell script (33)
- unix (22)
- WTAD (34)
Blog Archive
-
▼
2012
(79)
-
▼
September
(22)
- Chapter 7, Memory Management
- Chapter 6, Concurrency: Deadlock and Starvation
- Chapter 5, Concurrency: Mutual Exclusion and Sync...
- Chapter 4, Threads, SMP, and Micro kernels
- Chapter 3, Process Description and Control
- Chapter 2, Operating System Overview
- Chapter 1, Computer System Overview
- menu in android tutorial
- android animation example
- android chronometer example
- spinner in android example
- listview in android
- implicit intent in android example
- addTextChangedListener in Android example
- Be a Freelances and earn $$$$
- View SQLite Database
- Write a shell script to delete zero sized files fr...
- Android Intent Example
- Hello World in Android
- SQLite Android Tutorial
- Happy Teachers' Day
- Thank you GOD
-
▼
September
(22)
Total Pageviews
© BipinRupadiya.com. Powered by Blogger.
0 comments:
Post a Comment