Operating System(16MCA24)

Similar documents
QUESTION BANK UNIT I

KINGS COLLEGE OF ENGINEERING DEPARTMENT OF INFORMATION TECHNOLOGY QUESTION BANK

SNS COLLEGE OF ENGINEERING

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

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

MC7204 OPERATING SYSTEMS

Chendu College of Engineering & Technology

SYED AMMAL ENGINEERING COLLEGE CS6401- OPERATING SYSTEM

DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING UNIT I

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

INSTITUTE OF AERONAUTICAL ENGINEERING (Autonomous) Dundigal, Hyderabad

INSTITUTE OF AERONAUTICAL ENGINEERING

CHAPTER NO - 1 : Introduction:

3 rd Year V Semester

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

CSI3131 Final Exam Review

JBIET. Dept of IT. Operating Systems III B.Tech -I Sem. Department of Information Technology

Operating System Design

PESIT SOUTHCAMPUS. Question Bank

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


UNIT I PROCESSES AND THREADS

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

Teaching and Examination Scheme: PAPER HRS TH TU PR TH PR OR TW TOTAL

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


DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING Operating System Third Year CSE( Sem:I) 2 marks Questions and Answers UNIT I

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

St. Joseph College of Engineering

Main Points of the Computer Organization and System Software Module

AC59/AT59/AC110/AT110 OPERATING SYSTEMS & SYSTEMS SOFTWARE DEC 2015

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

So far. Next: scheduling next process from Wait to Run. 1/31/08 CSE 30341: Operating Systems Principles

CSE 153 Design of Operating Systems

Institute of Engineering & Management. Course:CS603- Operating System. Course pre-requisites

Architectural Support. Processes. OS Structure. Threads. Scheduling. CSE 451: Operating Systems Spring Module 28 Course Review

( D ) 4. Which is not able to solve the race condition? (A) Test and Set Lock (B) Semaphore (C) Monitor (D) Shared memory

Syllabus CSCI 405 Operating Systems Fall 2018

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

OPERATING SYSTEMS. COMS W1001 Introduction to Information Science. Boyi Xie

Exam Guide COMPSCI 386

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

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

Properties of Processes

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

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

UNIT I. Introduction to OS& System Structures

Midterm Exam. October 20th, Thursday NSC

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

Course Contents/Syllabus: Weightage (%) Module I: Introduction to operating system: 15

CS6401- OPERATING SYSTEM

MARUTHI SCHOOL OF BANKING (MSB)

CTP203 Operating Systems Syllabus

CIS 21 Final Study Guide. Final covers ch. 1-20, except for 17. Need to know:

Chapter 6: CPU Scheduling

CONTENTS. Computer-System Structures

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

VALLIAMMAI ENGINEERING COLLEGE

CSE 4/521 Introduction to Operating Systems. Lecture 27 (Final Exam Review) Summer 2018

( B ) 4. Which is not able to solve the race condition? (A) Test and Set Lock (B) Shared memory (C) Semaphore (D) Monitor

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

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

Deadlock. Concurrency: Deadlock and Starvation. Reusable Resources

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

Operating Systems (1DT020 & 1TT802)

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

Discussion Week 10. TA: Kyle Dewey. Tuesday, November 29, 11

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

B. V. Patel Institute of Business Management, Computer &Information Technology, UTU

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

Course Syllabus. Operating Systems

CS370 Operating Systems

CPU Scheduling: Part I ( 5, SGG) Operating Systems. Autumn CS4023

COURSE PLAN Regulation: R11 FACULTY DETAILS: Department::

OS Assignment II. The process of executing multiple threads simultaneously is known as multithreading.

COMP 3361: Operating Systems 1 Final Exam Winter 2009

Operating System Concepts Ch. 5: Scheduling

Review. Preview. Three Level Scheduler. Scheduler. Process behavior. Effective CPU Scheduler is essential. Process Scheduling

COMP SCI 3SH3: Operating System Concepts (Term 2 Winter 2006) Test 2 February 27, 2006; Time: 50 Minutes ;. Questions Instructor: Dr.

Fall COMP3511 Review

DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING UNIT-1

OPERATING SYSTEMS INTERNALS AND DESIGN PRINCIPLES. William Stallings SIXTH EDITION. Pearson Education International. Prentice Hall

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

Chapter 6: CPU Scheduling. Operating System Concepts 9 th Edition

Lecture 9: Midterm Review

CS6401- Operating System QUESTION BANK UNIT-IV

FCM 710: Architecture of Secure Operating Systems

CSE 4/521 Introduction to Operating Systems. Lecture 15 Virtual Memory I (Background, Demand Paging) Summer 2018

Announcements. Final Exam. December 10th, Thursday Patrick Taylor Hall. Chapters included in Final. 8.

King Fahd University of Petroleum and Minerals. Write clearly, precisely, and briefly!!

(MCQZ-CS604 Operating Systems)

More on Synchronization and Deadlock

CHAPTER 2: PROCESS MANAGEMENT

SRM UNIVERSITY FACULTY OF ENGINEERING AND TECHNOLOGY SCHOOL OF COMPUTING DEPARTMENT OF CSE COURSE PLAN

Sistemas Operacionais I. Valeria Menezes Bastos

Indian Institute of Technology, Kharagpur

Chapter 9: Virtual Memory. Operating System Concepts 9 th Edition

3. CPU Scheduling. Operating System Concepts with Java 8th Edition Silberschatz, Galvin and Gagn

Lecture 2 Process Management

ANNAI MATHAMMAL SHEELA ENGINEERING COLLEGE DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING QUESTION BANK CS6401 OPERATING SYSTEMS

Transcription:

PESIT- Bangalore South Campus Hosur Road (1km Before Electronic city) Bangalore 560 100 Department of MCA COURSE INFORMATION SHEET Operating System(16MCA24) 1. GENERAL INFORMATION Academic Year: 2017 Semester(s):I Title Code Duration OPERATING SYSTEM Lecture 52 Hrs 16MCA24 Total: 52 Hrs 2. FACULTY DETAILS Deta Name RICHA SHARMA Department MCA Room 517 5 TH FLOOR E-mail richasharma@pes.edu Contact Hours Office Hours Consultation By Email

3. VENUE AND HOURS/WEEK All lectures will normally be held in 500. Lecture Hours/week: 4Hr 2. PRE REQUIREMENT STATEMENT This course provides a comprehensive introduction to understand the underlying principles, techniques and approaches which constitute a coherent body of knowledge in operating systems. In particular, the course will consider inherent functionality and processing of program execution. The emphasis of the course will be placed on understanding how the various elements that underlie operating system interact and provides services for execution of application software. 3. COURSE OBJECTIVES 4. CO U RS E OUTCOMES: The STUDENT WILL BE ABLE : 1.Gain extensive knowledge on principles and modules of operating system. 2.Understand key mechanisms in design of operating system modules. 3.Understand process management, concurrent processes and threads, memory management, virtual memory concepts, deadlocks. 4.Be familiar with multithreading 5.Master concepts of memory management including virtual memory 6.Master system resources sharing among the users 7.Master issues related to file system interface and implementation, disk management 8.Be familiar with protection and security mechanisms 9.Be familiar with various types of operating systems including Unix 10.Produce algorithmic solution to process synchronization problems. 11.Practice with operation system concepts such as process management, synchronization.

5. MODULE SPECIFICATION:

% of syllabus Class Theme Topic Outline & Readings covered Cumulative % of Portions Covered 1. Basic Elements, Processor Registers, Instruction Execution, Interrupts 1 2. 3. The Memory Hierarchy, Cache Memory, I/O Communication 3 Techniques, Introduction to Operating System, Mainframe Systems, Desktop Systems, Multiprocessor 5 Systems 4 Distributed Systems, Clustered Systems, 5 Real - Time Systems,Handheld Systems, Feature Migration, Computing 6 Environments. 7 9 11 34 Computer System Components, Operating 7 and System Services 13 Operating Systems 8 System Calls, System Programs Structure 15 9 System Structure, Virtual Machines, 17 10 System Design and Implementation 11 System Generation. 12 19 21 23 13 Process, Process States, Process Description, Process Control 25 14 Execution of the Operating System, Security Issues 26 15 Processes and Threads, Symmetric Multiprocessing(SMP) 28 16 CPU Scheduler and 30

Scheduling. 17 CPU Scheduler and Scheduling. 32 18 CPU Scheduler and Scheduling. 34 19 Principles o f Concurrency, Monitors 36 20 Mutual Exclusion : Hardware 48 Support 38 21 Process Semaphores 40 Management and Mutual Execution 22 Message Passing 23 Readers/Writes Problem 45 42 24 Readers/Writes Problem 48 25 Principles of Deadlock,, Deadlock Avoidance, Deadlock Detection, An Integrated Deadlock Strategy, 50 Dining Philosophers Problem 26 Deadlock Prevention 52 27 Deadlock and Deadlock Detection 54 Memory 76 Management 28 An Integrated Deadlock Strategy 56 29 Dining Philosophers Problem 30 Readers 31 Swapping, Contiguous Memory Allocation 32 Paging 66 64 33 Segmentation, Segmentation with Paging 68

34 Demand Paging, Process Creation 70 35 Page Replacement 36 Allocation of Frames 72 74 37 Thrashing 76 File Concept, Access Methods, 38 Directory Structure, 78 39 File System Mounting, File Sharing, Protection 80 40 File SystemFile System Structure, & Secondary Storage 41 File System Implementation, 84 Directory Implementation 43 Allocation Methods 86 44 Free Space Management. 88 45 Disk Structure, Disk Scheduling 90 94 82 46 Disk Scheduling,Disk Management, 92 51, 52 47 User Authentication, The Security 94 Problem, 48 Computer Program Threats, System Threats. 96 Security Linux System, Linux history, 49 Case study of Design Principles, Kernel modules 96 50 Linux Operating 100 system: Process management, scheduling, 98 Memory management, File systems, Input and output, Inter-process Communications. 100

Literature /References TEXT BOOKS 1. Silberschatz, Galvin, Gagne, Operating System Concepts John Wiley, Sixth Edition, 2004 2. William Stallings, Operating Systems Internals and Design Principles Pearson, 6th edition, 2012 REFERENCE BOOKS 1.Chakraborty, Operating Systems Jaico Publishing House, 2011. 2. Dhananjay M. Dhamdhere, Operating Systems A Concept Based Approach, Tata McGraw Hill, 3rd Edition, 2012 Elmasri, Carrick, Levine, Operating Systems A spiral Approach, Tata McGraw Hill, 2012

3. Internal Assessment S.No Activity Marks 1. Seminar 5 2. Quizzes (surprise test) 5 3. Overall Participation 5 4. Assignment 5 5. Internal Tests 30 TOTAL 50 Seminar: A group of 2 students each will present either a case study. The presentation has to be approved by me before presenting in class. Assignment: Question Bank Part - A 1. What is an operating system? 2. What is the kernel?

3. What are batch systems? 4. Differentiate tightly coupled systems and loosely coupled systems. 6. What is real time system? 8. What do you mean by system calls? 10. What is a process? 11. What is process control block? 12. What is scheduler? 13. What are the use of job queues, ready queues and device queues? 14. What is meant by context switch? 15. What is independent process? 16. What is co-operative process? 17. What are the benefits OS co-operating processes? 19. State the advantage of multiprocessor system. 20. What is the use of inter process communication? 22. What are the benefits of multithreaded programming? 23. Compare user threads and kernel threads. 24. What is the use of fork and exec system calls? Part - B 1. Explain the various types of computer systems. 2. (i) what is the purpose of system calls? Briefly explain the types of system calls provided by a typical operating system. (ii)explain how co-operating process communication with each other via an IPC. 3. Discuss briefly the various issues involved in implementing Inter process communication (IPC) in message passing system. 4. Explain in detail about the threading issues. 5. Explain about Multi-Threading Models.

6. Explain in detail about Review of Computer Organization. 7. Write short notes about Process concept and process scheduling. UNIT-II PROCESS SCHEDULING AND SYNCHRONIZATION 1. Define CPU scheduling. 2. What is preemptive and no preemptive scheduling? 3. What is a Dispatcher? 4. What is dispatch latency? 5. What are the various scheduling criteria for CPU scheduling? 6. Define throughput. 7. What is turnaround time? 8. Define race condition. 9. What is critical section problem? 10. What are the requirements that a solution to the critical section problem must satisfy? 11. Define entry section and exit section. 12. What is a semaphore? 13. Define busy waiting and spin lock. 14. Define deadlock. 15. What are conditions under which a deadlock situation may arise? 16. What is a resource-allocation graph? 17. Define request edge and assignment edge. 18. What are the methods for handling deadlocks? 19. Define deadlock prevention.

20. Define deadlock avoidance. 21. What are a safe state and an unsafe state? 22. What is banker s algorithm? Part - B 1. Write about the various CPU scheduling algorithms. 2. What is critical section problem and explain two process solutions and multiple process solutions? 3. Explain what semaphores are, their usage, implementation given to avoid busy waiting and binary semaphores. 4. Write about critical regions and monitors. 5. Give a detailed description about deadlocks and its characterization. 6. Explain about the methods used to prevent deadlocks 7.Explain the Banker s algorithm for deadlock avoidance. 8. Consider the following snapshot of a system: Process Allocation max available Answer the following questions using the banker s algorithm: 1) What is the content of the matrix need? 2) Is the system in a safe state? 3) If a request from process p1 arrives for (0, 4, 2, 0), can the request be granted immediately? 9. Consider the following set of process, with the length of the CPU-burst time given in milliseconds:

process Burst time Priority P1 10 3 P2 1 1 P3 2 3 P4 1 4 P5 5 2 The processes are assumed to have arrived in the order p1, p2, p3, p4, p5, all at time 0. a) Draw four Gantt charts illustrating the execution of these process using FCFS, SJF, a nonpreemptive priority (a smaller priority number implies a higher priority), and RR (quantum=1) scheduling. b) What is the turnaround time of each process for each of the scheduling algorithms in part a? c) What is the waiting time of each process for each of the scheduling algorithms in part a? d) Which of the schedules in part a results in the minimal average waiting time (over all processes)? UNIT-III-STORAGE MANAGEMENT 1. Define logical address and physical address. 2. What is logical address space and physical address space? 3. What is the main function of the memory-management unit? 4. Define dynamic loading. 5. Define dynamic linking. 6. Define swapping. 7. What are the common strategies to select a free hole from a set of available holes? 8. What do you mean by best fit? 9. What do you mean by first fit? 10. What is virtual memory?

11. What is Demand paging? 12. Define lazy swapper. 13. What is a pure demand paging? 14. Define effective access time. 15. Define secondary memory. 16. What is the basic approach of page replacement? 17. What are the various page replacement algorithms used for page replacement? 18. What are the major problems to implement demand paging? 19. What is a reference string? 20. What are the advantages of Contiguous allocation? 21. Define Paging. 22. Define Segmentation. Part - B 1. Explain about contiguous memory allocation. 2. Give the basic concepts about paging. 3. Explain the basic concepts of segmentation. 4. Explain the various page replacement strategies. 5. 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 following replacement algorithms, assuming frame size is 4.Remember that frames are initially empty. (i)lru replacement (ii)fifo replacement (iii)optimal replacement 6. Explain in detail about swapping and thrashing. 7. Write in detail about Virtual memory.

UNIT-IV FLE SYSTEM 1. What is a file? 2. List the various file attributes. 3. What are the various file operations? 4. What is the information associated with an open file? 5. What are the different accessing methods of a file? 6. What are the operations that can be performed on a directory? 7. What are the most common schemes for defining the logical structure of a directory? 8 What are the various layers of a file system? 9. What are the structures used in file-system implementation? 10. What are the functions of virtual file system (VFS)? 11. Define seek time and latency time. 12. What are the allocation methods of a disk space? 13. What are the advantages of Contiguous allocation? 14. What are the drawbacks of contiguous allocation of disk space? 15. What are the advantages of Linked allocation? 16. What are the disadvantages of linked allocation? 17. What are the advantages of Indexed allocation? 18. Define rotational latency and disk bandwidth. 19. How free-space is managed using bit vector implementation? Part - B 1. What are files and explain the access methods for files? 2. Write in detail about file concept.

3. Write notes about the protection strategies provided for files. 4. Write in detail about directory structure. 5. Write in detail about File-System Implementation. 6. Write in detail about Allocation methods. UNIT-V-I/O SYSTEMS 1. Define buffering. 2. Define caching. 3. Define spooling. 4. What are the various disk-scheduling algorithms? 5. What is low-level formatting? 6. What is the use of boot block? 7. What is sector sparing? 8. Define rotational latency and disk bandwidth. 9. What is mean by streams? 10. Define seek time. 11. What is mean by FCFS and SSTF scheduling algorithms? 12. Define SCAN and C-SCAN scheduling algorithms. 13. What is Look Scheduling? 14. Define RAID. 15. Difference between stable storage and tertiary storage. Part - B 1. Write about the kernel I/O subsystem. 2. Explain the various disk scheduling techniques

3. Write notes about disk management and swap-space management. 4. A hard disk having 2000 cylinders, numbered from 0 to 1999. the drive is currently serving the request at cylinder 143,and the previous request was at cylinder 125.The status of the queue is as follows 86, 1470, 913, 1774,948,1509,1022,1750,130 What is the total distance (in cylinders) that the disk arm moves to satisfy the entire pending request for each of the following disk-scheduling algorithms? (i)sstf) (ii) FCFS (iii) SCAN (IV) C-SCAN 5. Explain in various RAID Level. 6.Write notes about Stable storage and tertiary storage.