Exam Details
Subject | operating systems | |
Paper | ||
Exam / Course | b.tech | |
Department | ||
Organization | Institute Of Aeronautical Engineering | |
Position | ||
Exam Date | May, 2018 | |
City, State | telangana, hyderabad |
Question Paper
Hall Ticket No Question Paper Code: ACS007
INSTITUTE OF AERONAUTICAL ENGINEERING
(Autonomous)
B.Tech IV Semester End Examinations (Regular) May, 2018
Regulation: IARE R16
OPERATING SYSTEMS
Time: 3 Hours (Common to CSE IT) Max Marks: 70
Answer ONE Question from each Unit
All Questions Carry Equal Marks
All parts of the question must be answered in one place only
UNIT I
1. State the main advantage of the layered approach to traditional Unix structure? What are the
disadvantages of using the layered approach?
Why an operating system be more careful when accessing input to a system call when the data
is in memory?
2. Define an operating system? State and explain the basic functions or services of an operating
system?
Distinguish between the client-server and peer-to-peer models of distributed systems?
UNIT II
3. Name and describe different scheduling algorithms. What are the advantages and disadvantages
of each?
What are three requirements of any solution to the critical sections problem? Why are they
needed?
4. A semaphore is a blocking synchronization primitive. Describe how they work with the aid of
pseudo-code. You can assume the existence of a thread_block() and a thread_wakeup() function.
Define process. Explain the process state transition diagram with examples.
UNIT III
5. Compare the number of page faults for LRU and Optimal page replacement algorithm for a given
string 6. Which algorithm shows least page
faults?
What are the draw backs of the FIFO page replacement algorithm.
6. Distinguish between page table and inverted page table. With a neat diagram.
Explain segmentation and its architecture. With a neat sketch.
UNIT IV
7. What is file sharing and how it would be done among multiple users? What are the failure modes
in context to remote file system?
Discuss operating-system services provided for mass storage RAID system.
Page 1 of 2
8. In how many ways the disks are attached? Explain it briefly with an example.
What is the maximum file size supported by a file system with 16 direct blocks, single, double,
and triple indirection? The block size is 512 bytes. Disk block numbers can be stored in 4 bytes.
UNIT V
9. Describe four general strategies for dealing with deadlocks.
Assume that there are 5 processes, P0 through P4, and 4 types of resources. At T0 we have the
following system state:
Table 1
Allocation Max Available
A B C D A B C D A B C D
P0 0 1 1 0 0 2 1 0 1 5 2 0
P1 1 2 3 1 1 6 5 2
P2 1 3 6 5 2 3 6 6
P3 0 6 3 2 0 6 5 2
P4 0 0 1 4 0 6 5 6
Use the safety algorithm to test whether the system is in a safe state or not. If the system is in
a safe state, can the P1 requests be granted, why or why not?
10. Assuming the operating system detects the system is deadlocked, what can the operating system
do to recover from deadlock? Describe the general strategy behind deadlock prevention, and give
an example of a practical deadlock prevention method.
What is the difference between protection and security? Discuss about language based protection.
INSTITUTE OF AERONAUTICAL ENGINEERING
(Autonomous)
B.Tech IV Semester End Examinations (Regular) May, 2018
Regulation: IARE R16
OPERATING SYSTEMS
Time: 3 Hours (Common to CSE IT) Max Marks: 70
Answer ONE Question from each Unit
All Questions Carry Equal Marks
All parts of the question must be answered in one place only
UNIT I
1. State the main advantage of the layered approach to traditional Unix structure? What are the
disadvantages of using the layered approach?
Why an operating system be more careful when accessing input to a system call when the data
is in memory?
2. Define an operating system? State and explain the basic functions or services of an operating
system?
Distinguish between the client-server and peer-to-peer models of distributed systems?
UNIT II
3. Name and describe different scheduling algorithms. What are the advantages and disadvantages
of each?
What are three requirements of any solution to the critical sections problem? Why are they
needed?
4. A semaphore is a blocking synchronization primitive. Describe how they work with the aid of
pseudo-code. You can assume the existence of a thread_block() and a thread_wakeup() function.
Define process. Explain the process state transition diagram with examples.
UNIT III
5. Compare the number of page faults for LRU and Optimal page replacement algorithm for a given
string 6. Which algorithm shows least page
faults?
What are the draw backs of the FIFO page replacement algorithm.
6. Distinguish between page table and inverted page table. With a neat diagram.
Explain segmentation and its architecture. With a neat sketch.
UNIT IV
7. What is file sharing and how it would be done among multiple users? What are the failure modes
in context to remote file system?
Discuss operating-system services provided for mass storage RAID system.
Page 1 of 2
8. In how many ways the disks are attached? Explain it briefly with an example.
What is the maximum file size supported by a file system with 16 direct blocks, single, double,
and triple indirection? The block size is 512 bytes. Disk block numbers can be stored in 4 bytes.
UNIT V
9. Describe four general strategies for dealing with deadlocks.
Assume that there are 5 processes, P0 through P4, and 4 types of resources. At T0 we have the
following system state:
Table 1
Allocation Max Available
A B C D A B C D A B C D
P0 0 1 1 0 0 2 1 0 1 5 2 0
P1 1 2 3 1 1 6 5 2
P2 1 3 6 5 2 3 6 6
P3 0 6 3 2 0 6 5 2
P4 0 0 1 4 0 6 5 6
Use the safety algorithm to test whether the system is in a safe state or not. If the system is in
a safe state, can the P1 requests be granted, why or why not?
10. Assuming the operating system detects the system is deadlocked, what can the operating system
do to recover from deadlock? Describe the general strategy behind deadlock prevention, and give
an example of a practical deadlock prevention method.
What is the difference between protection and security? Discuss about language based protection.
Other Question Papers
Subjects
- ac machines
- advanced databases
- aircraft materials and production
- aircraft performance
- aircraft propulsion
- aircraft systems and controls
- analog communications
- analysis of aircraft production
- antennas and propagation
- applied physics
- applied thermodynamics
- basic electrical and electronics engineering
- basic electrical engineering
- building materials construction and planning
- business economics and financial analysis
- compiler design
- complex analysis and probability distribution
- computational mathematics and integral calculus
- computer networks
- computer organization
- computer organization and architecture
- computer programming
- concrete technology
- control systems
- data structures
- database management systems
- dc machines and transformers
- design and analysis of algorithms
- design of machine members
- digital and pulse circuits
- digital communications
- digital ic applications using vhdl
- digital logic design
- digital system design
- disaster management
- disaster management and mitigation
- discrete mathematical structures
- dynamics of machinery
- electrical circuits
- electrical measurements and instrumentation
- electrical technology
- electromagnetic field theory
- electromagnetic theory and transmission lines
- electronic circuit analysis
- electronic devices and circuits
- elements of mechanical engineering
- engineering chemistry
- engineering drawing
- engineering geology
- engineering mechanics
- engineering physics
- english
- english for communication
- environmental studies
- finite element methods
- fluid mechanics
- fluid mechanics and hydraulics
- fundamental of electrical and electronics engineering
- fundamental of electrical engineering
- gender sensitivity
- geotechnical engineering
- heat transfer
- high speed aerodynamics
- hydraulics and hydraulic machinery
- image processing
- industrial automation and control
- instrumentation and control systems
- integrated circuits applications
- introduction to aerospace engineering
- kinematics of machinery
- linear algebra and calculus
- linear algebra and ordinary differential equations
- low speed aerodynamics
- machine tools and metrology
- mathematical transform techniques
- mathematical transforms techniques
- mechanics of fluids and hydraulic machines
- mechanics of solids
- mechanism and machine design
- metallurgy and material science
- microprocessor and interfacing
- modern physics
- network analysis
- object oriented analysis and design
- object oriented programming through java
- operating systems
- optimization techniques
- power electronics
- power generation systems
- probability and statistics
- probability theory and stochastic processes
- production technology
- programming for problem solving
- pulse and digital circuits
- reinforced concrete structures design and drawing
- software engineering
- strength of materials - i
- strength of materials - ii
- structural analysis
- surveying
- theory of computation
- theory of structures
- thermal engineering
- thermo dynamics
- thermodynamics
- tool design
- transmission and distribution systems
- unconventional machining processes
- waves and optics
- web technologies