0% found this document useful (0 votes)
29 views5 pages

Operating Systems II Exam Questions

The document is an examination paper for T.Y. B.Sc. (Computer Science) on Operating Systems II, consisting of multiple questions across various topics including distributed systems, mobile operating systems, and file management. It includes sections with compulsory questions requiring definitions, comparisons, and explanations of concepts like deadlock prevention, cloud computing, and disk scheduling algorithms. The exam is structured into five questions with varying marks, emphasizing the importance of understanding both theoretical and practical aspects of operating systems.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
29 views5 pages

Operating Systems II Exam Questions

The document is an examination paper for T.Y. B.Sc. (Computer Science) on Operating Systems II, consisting of multiple questions across various topics including distributed systems, mobile operating systems, and file management. It includes sections with compulsory questions requiring definitions, comparisons, and explanations of concepts like deadlock prevention, cloud computing, and disk scheduling algorithms. The exam is structured into five questions with varying marks, emphasizing the importance of understanding both theoretical and practical aspects of operating systems.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

Total No.

of Questions: SEAT
5]
[Total No. of
[6055]-
T.Y. [Link]. (Computer Science)
CS-361 : OPERATING SYSTEMS-
II
Time : 2 Hours] [Max. Marks : 35
Instructions to the candidates:
1)All questions are compulsory.
2)Figures to the right indicate full marks.

Q1) Attempt any Eight of the following. [8x1=8]


a)What is claim edge?
b)What is request edge?
c)List any two file attributes.
d)List any two Disk performance parameters.
e)Define distributed system.
f)Write any two design goals of distributed systems.
g)What is cluster computer?
h)What is grid computing?
i)What is size scalability in distributed systems?
j)What is kernel?

Q2) Attempt any Four of the following. [4x2=8]


a)What are advantages of windows mobile OS?
b)Write the difference between SCAN & Look disk Scheduling algorithms.
c)Explain in brief sensor network.
d)Write a short note on centralised organisation system architecture.
e)D e f i n e .
i)Seek time
i i ) Rotational latency

P.T.O.
Q3) Attempt any Two of the following. [2)(4=8]
a) Consider the given snapshot of the system. A system has 5 processes
and 3 types of resources A,B,C.

Allocation
A B C
o0 10
P

P1 2 0 0
P2 3 0 2
P1 2 1 1
P4 0 0 2

Available A B C 3 3 2

Max
Answer the following questionsAusingB Banker's
C algorithm
7 5 3
i)What are the contents of need arrary?
3 2 2
ii)Is the system is in the safe state give the safe sequence.
9 0 2
b)Explain any four file operations
2 2 2
c)Write a note on cloud computing system
4 3 3
Q4) Attempt any Two of the following. [2x4=8]
a)Explain the benefits or advantages of distributed systems.
b)Explain any two deadlock prevention strategies.
c)Explain sequential access & direct access methods of files.

Q5) Attempt any One of the following. [1x3=3]


a)What is total head movement for first-come first-served (FCFS) scheduling
for the disk queue with requests for I/O to blocks on cylinders 98, 183, 37,
122, 14, 124, 65, 67 in that order. If the disk head is initially at cylinder 53.
b)Give a comparative study of Android OS and Apple IOS mobile operating
systems.
Total No. of Questions : SEAT
5]
[Total No. of Pages :
[6237]-601
[Link].
COMPUTER
CS-361 : Operating Systems - II
(Revised 2019 Pattern) (Semester-
Time : 2 Hours] [Max Marks : 35
Instructions to the candidates:
1) All questions are compulsory.
2)Figures to the right indicate full marks.

Q1) Attempt any Eight of the following questions. [8x1=8]


a)What is safe sequence?
b)What is grid computing?
c)Write file access methods.
d)Define rotational Latency.
e)What are the different types of distributed system?
f)List any four file attributes.
g)List any two important features of an Android mobile OS.
h)"Hybrid cloud is a combination of the public cloud and the private cloud".
Comment (True/False)
i) State all the necessary conditions for a deadlock to occur.
j)List any four special constraints of mobile operating system.

Q2) Attempt any four of the following questions. [4)(2=8]


a)What is C-Scan and C-look? Compare them.
b)What is mobile operating system? What are it's responsibilities?
c)Explain deadlock prevention strategies.
d)Explain different methods for handling free-space list in file system.
e)Explain cloud computing.

P.T.O.
Q3) Attempt any Two of the following questions. [2x4=8]
a)Compare Desktop OS and Mobile OS.
b)What are the operations performed on files?
c)Consider given snapshot of system. A system has 5 processes and 3
types of resources A,B,C

Allocation Max Available


Answer the
A B C following questions
A B using Banker's
C Algorithm.
i)What are the contents of need matrix? A B C
PO 2 3 2 9 7 5
ii)Is the system in a safe state? If yes find safe sequence.
P1 4 0 0 5 2 2
P2 5 0 4 11 0 4
Q4) Attempt any two of the following. [2x4=8]
P3 4 3 3 4 4 4
a) Define P2P architecture of distributed OS.
P4 2 2 4 6 5 5
b) Consider the following sets P, R and E
P = [P1, P2, P3]
P = [R1, R2, R3, R4]
E = [P1—> R1, P2-> R3, R1-> P2, R2- P2, R2-> P1]
Also consider the following number of instances per resource type.
i)One instance of resource type R 1 and R2.
ii)Two instance of resource type R 2 .
iii)Three instance of resource type R4.
Construct the resource allocation graph for the above problem. Check
whether the system is in deadlock.
c) What is directory? What are it's type? Explain two of them.

Q5) Attempt any one of the following. [1 x3=3]


a)What is total head movement for FcFs and SSTF scheduling for the disk
queue with requests for I/o to blocks on cylinders. 176, 79, 34, 60, 92, 11,
41, 114 in that order. If the disk head is initially at cylinder 50.
b)What is client server system. Also state it's advantages.

[6237]-601 2
Total No. of Questions : 5] SEAT No. :
P5157 [5823]-601 [Total No. of Pages : 2

[Link]. (C.S.)
CS-361 : OPERATING SYSTEM-II
(2019 Credit Pattern) (Semester - VI)
Time : 2 Hours] [Max. Marks : 35
Instructions to the candidates:
1)All question are compulsory.
2)Figures to the right indicate full marks.

Q1) Attempt any eight of the following. [8x1=8]


a)List any four attributes of files.
b)What is starvation?
c)List the features of ios. mobile OS?
d)What is Access Transparency?
e)Define mobile OS?
f)Define rational latency?
g)Define claim edge?
h)Wha is cloud computing?
i)Define P2P architecture?
j)Define native level programming?

Q2) Attempt any four of the following [4x2=8]


a)Define cluster computing. State the advantages and disadvantages of
cluster operating system.
b)Differentiate mobile OS and desktop OS.
c)Explain disk formatting in disk management.
d)What is distributed operating system? List the purpose of distributed
operating system"?
e)List down the advantages and disadvantages of windows mobile OS?

PTO.

Common questions

Powered by AI

The Banker's algorithm assesses system safety by simulating allocation to determine if there is a sequence of all processes (safe sequence) such that each process can obtain its maximum resource needs incrementally. To determine if the system is in a safe state, the algorithm checks if enough resources are available to satisfy the remaining needs of each process in some order. A system is in a safe state only if such an order exists. The safe sequence is a sequence of processes that define this order ensuring no deadlock occurs .

Deadlock prevention strategies are designed to ensure that at least one of the necessary conditions for deadlocks does not hold. Such strategies include requiring that resources be requested in a specific order or ensuring that a process never holds resources while waiting for another resource. In contrast, deadlock avoidance requires additional information about how resources will be requested, and dynamically analyzes this to ensure that a system will never enter a deadlock state. The Banker's algorithm is a classic example of a deadlock avoidance strategy .

Mobile operating systems (OS) differ from desktop OS mainly in terms of mobility, connectivity, user interface, and resource management. Key attributes of mobile OS include support for touch input, power management for battery use, and connectivity features like wireless networking. Unique constraints include limited processing power, restricted memory, and varying screen sizes. Unlike desktop OS, which prioritize multitasking and customization, mobile OS focus on efficient management of limited resources and providing a seamless user experience .

Cloud computing utilizes distributed system frameworks to offer scalable and on-demand resource availability over the internet. It leverages virtualization, parallel processing, and distributed storage to manage computational resources flexibly and efficiently. Cloud platforms balance loads across multiple servers, ensuring reliability and scaling according to user demand, which significantly enhances efficiency and resource utilization. By abstracting hardware levels, cloud computing facilitates quick adaptation and expanded capabilities, addressing varied computing needs effectively .

Disk formatting is a crucial step in disk management, involving the preparation of a data storage device for initial use. It initializes the file system structure and organizes storage into specified blocks and sectors, necessary for storing files and managing data efficiently. Formatting ensures compatibility with desired operating systems and can aid in detecting bad sectors. It is significant because it defines how data is stored and accessed, affecting the speed and reliability of data retrieval and storage operations .

SCAN and LOOK are disk scheduling algorithms designed to manage requests for disk I/O operations efficiently. SCAN, also known as the elevator algorithm, moves the disk arm across the disk surface from one end to the other, servicing requests in one direction and then reversing. This can lead to long delays for requests just arrived at the starting point after the head has moved past. In contrast, LOOK is an optimization of SCAN that only goes as far as the last request in each direction, avoiding unnecessary arm movement. LOOK can improve performance by minimizing the total head movement required to service requests .

Sequential access involves processing the file in a linear order, which is typical for reading files like logs or music playlists where data is consumed sequentially. Direct (or random) access allows for accessing any part of the file without a sequential read, which is useful for databases where records need quick look-ups. Sequential access is efficient when data is processed in order, minimizing seek time, whereas direct access is more efficient when random segments require constant access, but could lead to increased seek times if not managed properly .

Rotational latency refers to the delay waiting for the desired disk sector to rotate to the disk read/write head. It affects disk performance as it adds to the time required to complete an I/O request. Minimizing rotational latency can involve disk scheduling algorithms that optimize the order of read/write requests, such as SCAN and LOOK, which reduce unnecessary delays. Faster disk rotation speeds (RPMs) and solid-state drives that eliminate moving parts altogether can significantly reduce or eliminate rotational latency .

Distributed systems offer significant advantages over centralized systems, including improved resource sharing, reliability, redundancy, and scalability. They support concurrent processing across multiple nodes, enhancing performance and fault tolerance. Key design goals of distributed systems include transparency (users are unaware of multiple machines), reliability, and efficient communication. These systems aim to minimize the complexity perceived by users, improve access and flexibly manage resource sharing across distributed sources .

Cluster computing offers several advantages, such as cost-effectiveness, scalability, and redundancy, allowing for high availability and load balancing. It enables multiple computers to work together as a single system, improving performance. However, disadvantages include the complexity of management, the need for physical space, and potential issues with data consistency and network latency compared to single-system images. Additionally, clusters require careful configuration and maintenance to optimize performance and reliability .

You might also like