Similar documents
Chendu College of Engineering & Technology

QUESTION BANK UNIT I

INSTITUTE OF AERONAUTICAL ENGINEERING Dundigal, Hyderabad COMPUTER SCIENCE AND ENGINEERING QUESTION BANK OPERATING SYSTEMS

INSTITUTE OF AERONAUTICAL ENGINEERING (Autonomous) Dundigal, Hyderabad

KINGS COLLEGE OF ENGINEERING DEPARTMENT OF INFORMATION TECHNOLOGY QUESTION BANK

CSI3131 Final Exam Review

MC7204 OPERATING SYSTEMS

CLASS: II YEAR / IV SEMESTER CSE SUBJECT CODE AND NAME: CS6401 OPERATING SYSTEMS UNIT I OPERATING SYSTEMS OVERVIEW

CHAPTER NO - 1 : Introduction:

SYED AMMAL ENGINEERING COLLEGE CS6401- OPERATING SYSTEM

Operating Systems Comprehensive Exam. Spring Student ID # 2/17/2011

Operating Systems. Designed and Presented by Dr. Ayman Elshenawy Elsefy

SNS COLLEGE OF ENGINEERING

INSTITUTE OF AERONAUTICAL ENGINEERING

CS 571 Operating Systems. Midterm Review. Angelos Stavrou, George Mason University

Operating Systems Comprehensive Exam. Spring Student ID # 3/16/2006

Subject: Operating System (BTCOC403) Class: S.Y.B.Tech. (Computer Engineering)

Main Points of the Computer Organization and System Software Module

UNIT I. Introduction to OS& System Structures

Chapter 2 Processes and Threads

Last Class: Synchronization Problems. Need to hold multiple resources to perform task. CS377: Operating Systems. Real-world Examples

Department of Computer applications. [Part I: Medium Answer Type Questions]

Operating System(16MCA24)

Operating Systems: William Stallings. Starvation. Patricia Roy Manatee Community College, Venice, FL 2008, Prentice Hall

Operating Systems Comprehensive Exam. Spring Student ID # 3/20/2013

Processes The Process Model. Chapter 2. Processes and Threads. Process Termination. Process Creation

CSE 421/521 - Operating Systems Fall Lecture - XXV. Final Review. University at Buffalo

Processes The Process Model. Chapter 2 Processes and Threads. Process Termination. Process States (1) Process Hierarchies

Midterm Exam. October 20th, Thursday NSC

Deadlock. Concurrency: Deadlock and Starvation. Reusable Resources

Last Class: Monitors. Real-world Examples

The Deadlock Problem (1)

Semaphore. Originally called P() and V() wait (S) { while S <= 0 ; // no-op S--; } signal (S) { S++; }

CSC Operating Systems Spring Lecture - XII Midterm Review. Tevfik Ko!ar. Louisiana State University. March 4 th, 2008.

PROCESSES & THREADS. Charles Abzug, Ph.D. Department of Computer Science James Madison University Harrisonburg, VA Charles Abzug

Operating Systems Comprehensive Exam. Fall Student ID # 10/31/2013

Course Description: This course includes the basic concepts of operating system

Last Class: Deadlocks. Today

MARUTHI SCHOOL OF BANKING (MSB)

DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING UNIT I

Maximum CPU utilization obtained with multiprogramming. CPU I/O Burst Cycle Process execution consists of a cycle of CPU execution and I/O wait

PESIT SOUTHCAMPUS. Question Bank

Solution for Operating System


Operating Systems Structure

Department of Information Technology Operating Systems Question Bank YEAR/SEM:III/V

More on Synchronization and Deadlock

Deadlock. Disclaimer: some slides are adopted from Dr. Kulkarni s and book authors slides with permission 1

VALLIAMMAI ENGINEERING COLLEGE

Techno India Batanagar Department of Computer Science & Engineering. Model Questions. Multiple Choice Questions:

Contents. 1.1 What Operating Systems Do Computer-System Organization Computer-System Architecture 12. Operating-System Structures

Operating Systems Antonio Vivace revision 4 Licensed under GPLv3

OS Structure. User mode/ kernel mode (Dual-Mode) Memory protection, privileged instructions. Definition, examples, how it works?

Last Class: Synchronization Problems!

Operating Systems: Quiz2 December 15, Class: No. Name:

Chapter 7: Deadlocks. Operating System Concepts 9 th Edition

Indian Institute of Technology, Kharagpur

OS Structure. User mode/ kernel mode. System call. Other concepts to know. Memory protection, privileged instructions

CS450/550 Operating Systems

1. Consider the following page reference string: 1, 2, 3, 4, 2, 1, 5, 6, 2, 1, 2, 3, 7, 6, 3, 2, 1, 2, 3, 6.

CSE 120. Fall Lecture 8: Scheduling and Deadlock. Keith Marzullo

ROEVER ENGINEERING COLLEGE, PERAMBALUR DEPARTMENT OF INFORMATION TECHNOLOGY OPERATING SYSTEMS QUESTION BANK UNIT-I

Chapter 6: Synchronization. Operating System Concepts 8 th Edition,

Process Synchronization

Chapter 2 Processes and Threads. Interprocess Communication Race Conditions

CS 153 Design of Operating Systems Winter 2016

Interprocess Communication By: Kaushik Vaghani

Midterm Exam #2 Solutions October 25, 2016 CS162 Operating Systems

CHAPTER 6: PROCESS SYNCHRONIZATION

Dept. of CSE, York Univ. 1

What is the Race Condition? And what is its solution? What is a critical section? And what is the critical section problem?

COMP 3361: Operating Systems 1 Final Exam Winter 2009

Semaphores. Jinkyu Jeong Computer Systems Laboratory Sungkyunkwan University

CPSC/ECE 3220 Summer 2018 Exam 2 No Electronics.

Deadlock. Disclaimer: some slides are adopted from Dr. Kulkarni s and book authors slides with permission 1

DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING UNIT-1

CSc33200: Operating Systems, CS-CCNY, Fall 2003 Jinzhong Niu December 10, Review

CS450/550 Operating Systems

Deadlock. Disclaimer: some slides are adopted from Dr. Kulkarni s and book authors slides with permission 1

CS350: Final Exam Review

Concurrency: Principles of Deadlock. Processes and resources. Concurrency and deadlocks. Operating Systems Fall Processes need resources to run

Process Management And Synchronization

Two hours. Question ONE is COMPULSORY UNIVERSITY OF MANCHESTER SCHOOL OF COMPUTER SCIENCE. Date: Friday 25th January 2013 Time: 14:00-16:00

Chapter 6: Process Synchronization

Fundamentals of Operating Systems (COMP355/L) A Student's Manual for Practice Exercises

1. a. Show that the four necessary conditions for deadlock indeed hold in this example.

CSE 4/521 Introduction to Operating Systems

Threads. Threads The Thread Model (1) CSCE 351: Operating System Kernels Witawas Srisa-an Chapter 4-5

Exam Guide COMPSCI 386

CONTENTS. Computer-System Structures

CS153: Deadlock. Chengyu Song. Slides modified from Harsha Madhyvasta, Nael Abu-Ghazaleh, and Zhiyun Qian

CSE 120 Principles of Operating Systems

Chapter 5: Process Synchronization. Operating System Concepts Essentials 2 nd Edition

Chapters 5 and 6 Concurrency

SAZ4B/SAE5A Operating System Unit : I - V

QUESTION BANK UNIT I : 2 Marks

CS307 Operating Systems Introduction Fan Wu

Scheduling. The Basics

Process Synchronization: Semaphores. CSSE 332 Operating Systems Rose-Hulman Institute of Technology

Contents. 1.1 What Operating Systems Do Computer-System Organization Computer-System Architecture 12. Operating-System Structures

Transcription:

R13 SET - 1 2. Answering the question in Part-A is compulsory 1 a) Define Operating System. List out the objectives of an operating system. [3M] b) Describe different attributes of the process. [4M] c) Define Busy Waiting? How to overcome busy waiting using Semaphore operations. [4M] d) Write the difference between internal and external fragmentation. [4M] e) Describe the Safe, unsafe, and deadlock state spaces. [4M] f) What are the various attributes that are associated with an opened file? [3M] 2 a) What are the various components of operating system structure and explain the simple and layered approach of operating system in detail. b) In a multi programming and time sharing environment, several users share the system simultaneously, This situation can result in various security problem: i) What are two such problem? ii) Can be ensure the same degree of security in a time-shared machine as in a dedicated machine? Justify your answer. 3 a) Name five major activities of an OS with respect to process management and briefly describe why each is required. b) Write in detail about the thread libraries. 4 a) What is Readers-Writers problem? Give a solution to Readers-Writers problem using Monitors. b) What is a Critical Section problem? Give the conditions that a solution to the critical section problem must satisfy. 5 a) What is a Virtual Memory? Discuss the benefits of virtual memory technique. b) What is Thrashing? What is the cause of Thrashing? How does the system detect Thrashing? What can the system do to eliminate this problem? 6 a) What is a deadlock? Consider the deadlock situation that could occur in the dining philosopher s problem when the philosophers obtain the chopsticks one at a time. Discuss how the four necessary conditions for deadlock indeed hold in this setting. What are the solutions for this problem? b) Explain Deadlock Detection scheme for Several Instances of a resource Type. 7 a) Explain the three allocation methods in file system implementation. Illustrate with proper diagram. b) What are the objectives of file management systems? Explain the file system architecture.

R13 SET - 2 2. Answering the question in Part-A is compulsory 1 a) Write various registers used in computer system. [3M] b) Identify the situations for preemption of a process. [4M] c) What are the functions of mutex semaphore? [3M] d) Write the first,best fit memory allocation techniques. [4M] e) What are different conditions used in Banker s algorithm. [4M] f) Define boot block. How it initiated from disk? [4M] 2 a) What are the functionalities of operating system? Explain in detail. b) Write about monolithic kernel, layered, and microkernel structures of operating systems. 3 a) Process Arrival Time Burst Time 1 0 3 2 2 6 3 4 4 4 6 5 5 8 2 Perform non preemptive CPU scheduling algorithms on the given snapshot and analyze their performance. b) Write about i) Process Control Block ii) CPU scheduling algorithm evaluation. 4 a) What is monitor? Explain its functionalities. How it is different from semaphore in implementing synchronization. b) What is Producer Consumer problem? How it can illustrate the classical problem of synchronization? Explain. 5 a) Explain different structures and page tables with strengths and weaknesses. b) What do you mean by thrashing? Suggest solutions to overcome this in virtual memory. 1 of 2

R13 SET - 2 6 a) In what way resource allocation graphs are used for detection of deadlocks? Write the algorithm. b) Explain the different techniques to recover the system from deadlock. 7 a) Write the role of sector sparing in identifying the bad blocks of mass storage. What are the other techniques available for this? b) Discuss in detail the file allocation techniques : sequential, indexed and linked. 2 of 2

R13 SET - 3 2. Answering the question in Part-Ais compulsory 1 a) What are the various security issues that arise in multiprogramming and [3M] timeshared systems? b) Write the benefits of multithreaded programming. [3M] c) Give the Peterson s solution to the Critical section problem. [4M] d) Explain why sharing a reentrant module is easier, when segmentation is used than [4M] when pure paging is used. e) Write about Resource-Allocation graph. [4M] f) Briefly explain the indexed allocation method. [4M] 2 a) Differentiate protection and security. [4M] b) Explain the features of a distributed operating system. c) Explain models of distributed systems. [4M] 3 a) Explain the actions taken by a thread library to context-switch between user level threads. b) What is a Scheduler? Explain different CPU Schedulers. 4 a) What is a semaphore? List the types of semaphores and Show that, if the wait() and signal() semaphore operations are not executed atomically, then mutual exclusion may be violated. b) How to implement process synchronization using i)test and Set ii) SWAP iii) Lock instructions? Explain with Pseudo code. 5 a) What is paged segmentation? How it can be implemented? Discuss its advantages b) Write about Least Recently Used page replacement algorithm all its variants with an example. 6 a) Explain deadlock avoidance process using Resource-Allocation-Graph. b) Explain Deadlock detection algorithm with an example. 7 a) How to organize the mass storage? Explain b) Write in detail about file attributes, operations and types and structures.

Powered by TCPDF (www.tcpdf.org) Code No: RT31055 R13 SET - 4 2. Answering the question in Part-Ais compulsory 1 a) What is the importance of Real-Time Embedded systems? [3M] b) Define Cooperating process? What is the environment need in Cooperating [4M] processes? c) What are the three requirements that a solution to the critical section problem must [3M] satisfy? d) What is the purpose of Paging and Page tables? [4M] e) Discuss the usage of wait-for graph method. [4M] f) Explain the bit vector representation of free space management. [4M] 2 a) Explain the various types of system calls provided by an operating system. b) Explain the Dual-Mode operation of an operating system. 3 a) Explain in detail Inter Process Communication models. [3M] b) Explain the Round Robin scheduling algorithm with a suitable example. 4 a) By illustrating the structure of process P1, explain the Petersons solution to critical section problem. b) State the Critical Section problem. Illustrate the software based solution to the Critical Section problem. 5 a) Consider the following page reference string: 1,2,3,4,2,1,5,6,2,1,2,3,7,6,3,2,1,2,3,6 How many page faults would occur for the optimal page replacement algorithm, assuming three frames and all frames are initially empty. b) Discuss various issues related to the allocation of frames to processes. 6 a) Explain deadlock avoidance using banker s algorithm with suitable example. b) How to Recover From Deadlock situations? Discuss in detail. 7 a) Explain various file access methods with suitable examples. b) Discuss various issues involved in selecting appropriate disk scheduling algorithm.