SNS COLLEGE OF ENGINEERING

Similar documents
QUESTION BANK UNIT I

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

SYED AMMAL ENGINEERING COLLEGE CS6401- OPERATING SYSTEM

DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING UNIT I

KINGS COLLEGE OF ENGINEERING DEPARTMENT OF INFORMATION TECHNOLOGY QUESTION BANK

MC7204 OPERATING SYSTEMS


Chendu College of Engineering & Technology

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

Operating System(16MCA24)

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

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

INSTITUTE OF AERONAUTICAL ENGINEERING (Autonomous) Dundigal, Hyderabad

CS6401- Operating System QUESTION BANK UNIT-IV

INSTITUTE OF AERONAUTICAL ENGINEERING

CHAPTER NO - 1 : Introduction:

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

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

PESIT SOUTHCAMPUS. Question Bank

VALLIAMMAI ENGINEERING COLLEGE

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

Exam Guide COMPSCI 386

CSI3131 Final Exam Review

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

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

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

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

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

St. Joseph College of Engineering

Final Exam Preparation Questions

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

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

Indian Institute of Technology, Kharagpur


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

UNIT I PROCESSES AND THREADS

CS6401- OPERATING SYSTEM

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

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

Prepared by Heena Patel(Asst. Prof) Page 1

ASSIGNMENT-1 M.Sc. DEGREE EXAMINATION, MAY 2018 (First Year) INFORMATION TECHNOLOGY Basics of Information Technology

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

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

COMP 3361: Operating Systems 1 Final Exam Winter 2009

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

CS350: Final Exam Review

MARUTHI SCHOOL OF BANKING (MSB)

(b) External fragmentation can happen in a virtual memory paging system.

CS6401- Operating System QUESTION BANK UNIT-I

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

Department of CSIT ( G G University, Bilaspur ) Model Answer 2013 (Even Semester) - AR-7307

1. Draw and explain program flow of control without and with interrupts. [16]

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

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

UNIT I. Introduction to OS& System Structures

Fall COMP3511 Review

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

SNS COLLEGE OF ENGINEERING DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING

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

3 rd Year V Semester

OPERATING SYSTEMS CS3502 Spring Processor Scheduling. Chapter 5

CPU Scheduling. Rab Nawaz Jadoon. Assistant Professor DCS. Pakistan. COMSATS, Lahore. Department of Computer Science

Main Points of the Computer Organization and System Software Module

stack Two-dimensional logical addresses Fixed Allocation Binary Page Table

Final Review. Quiz-5 Solutions. Tevfik Koşar

CHAPTER 2: PROCESS MANAGEMENT

Practice Exercises 449

OPERATING SYSTEMS. Sharafat Ibn Mollah Mosharraf TOUCH-N-PASS EXAM CRAM GUIDE SERIES. Students. Special Edition for CSEDU

CONTENTS. Computer-System Structures

Q 1. (10 Points) Assume that a process executes the following pseudo codes:

Chapter 6: CPU Scheduling

FORTH SEMESTER DIPLOMA EXAMINATION IN ENGINEERING/ TECHNOLIGY- OCTOBER, 2012

Operating System MC Exercises

1993 Paper 3 Question 6

Dan Noé University of New Hampshire / VeloBit

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.

Distributed Deadlock Detection

Virtual Memory COMPSCI 386

Operating Systems (Classroom Practice Booklet Solutions)

Guru Ghasidas Vishwavidyalaya (Bilaspur ) BSC(Third Semester) Examination, 2014 Introduction to Operating System Paper Code: PCSC-301.

Solution for Operating System

Lecture 5 / Chapter 6 (CPU Scheduling) Basic Concepts. Scheduling Criteria Scheduling Algorithms

DEPT OF INFORMATION TECHNOLOGY OPERATING SYSTEMS IT204 / CS202

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

LECTURE 3:CPU SCHEDULING

King Saud University. College of Computer & Information Sciences. Information Technology Department. IT425: Operating Systems.

CS3733: Operating Systems

Properties of Processes

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

Operating System Design

Following are a few basic questions that cover the essentials of OS:

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

Memory management. Knut Omang Ifi/Oracle 10 Oct, 2012

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

Virtual Memory. Reading: Silberschatz chapter 10 Reading: Stallings. chapter 8 EEL 358

Course Syllabus. Operating Systems

ALL the assignments (A1, A2, A3) and Projects (P0, P1, P2) we have done so far.

Subject Teacher: Prof. Sheela Bankar

CS370 Operating Systems

Transcription:

SNS COLLEGE OF ENGINEERING Coimbatore. Department of Computer Science and Engineering Question Bank- Even Semester 2015-2016 CS6401 OPERATING SYSTEMS Unit-I OPERATING SYSTEMS OVERVIEW 1. Differentiate between tightly coupled systems and loosely coupled systems. 2. Define OS 3. What are the differences between Batch OS and Multiprogramming? 4. What are the differences between Multitasking and Multiprogramming? 5. List the difference between mainframe & desktop OS. 6. What is Clustered System? 7. What is Real Time System? List out their types. 8. Is Os a resource Manager? If so justify your answer 9. What is the kernel? 10. What are the three main purposes of an operating system? 11. Define cache memory 12. What is interrupts. 13. What is direct memory access? 14. What are batch systems? 15. What are privileged instructions? 16. What do you mean by system calls? 17. State the advantage of multiprocessor system. 18. What is function of system programs? Write the categories in which system program can be divided.

19. What are the three major activities of an operating system in regard to Secondary- storage management? 20. What is the use of fork and exec system calls? 1. Explain the various types of computer systems. 2. Explain interrupts in detail. 3. Explain Direct Memory Access. 4. Discuss Memory Hierarchy. 5. What are the system components of an operating system and explain them? 6. List five services provided by an operating system. Explain how each provides convenience to the users. Explain also in which cases it would be impossible for user level programs to provide these services. 7. What are the 5 categories of system calls? 8. Discuss OS Generation and System Boot. 9. Explain the concept of Virtual Machine with neat sketch 10. Discuss Computer System Organization Unit-II PROCESS MANAGEMENT 1. What is a process? 2. What is process control block? 3. What are schedulers? 4. What is co-operative process? 5. What is the use of inter process communication. 6. What is independent process? 7. What are the benefits of co-operating processes? 8. What is a thread? 9. What are the benefits of multithreaded programming? 10. Compare user threads and kernel threads.

11. Define CPU scheduling. 12. What are the advantages and disadvantages of threads? 13. What is Synchronization? 14. What is critical section problem? 15. What is a semaphore? 16. Define deadlock. 17. Define CPU scheduling. 18. What are the various scheduling criteria for CPU scheduling? 19. What are the requirements that a solution to the critical section problem must satisfy? 20. What are conditions under which a deadlock situation may arise? 1. What are the various process scheduling concepts? 2. Explain about inter process communication. 3. Explain the various threading issues? 4. Write about the various CPU scheduling algorithms. 5. What is critical section problem and explain two process solutions and multiple process solutions? 6. Explain what semaphores are, their usage, implementation given to avoid busy waiting and binary semaphores. 7. Explain the various classic problems of synchronization. 8. Give a detailed description about deadlocks and its characterization 9. Explain the Banker s algorithm for deadlock avoidance. 10. Consider the following set of processes, with the length of the CPU-burst time given in milliseconds: Process Burst Time Priority 1. P1 10 0 3 2. P2 29 1 1 3. P3 3 2 4 4. P4 7 3 5 5. P5 12 4 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 processes using FCFS,SJF,A non preemptive 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 Paging. 2. Define Thrashing. Give an example. How do you limit the effects of thrashing? 3. Give the pictorial representation of storage hierarchy. 4. What are the advantages of virtual memory management systems? 5. What are overlays? What is the use of it? 6. What is demand paging? 7. Differentiate demand paging and swapping. 8. What is spatial locality of reference? 9. Write about partition memory management. 10. What is the advantage of demand paging? 11. Differentiate a page from a segment. 12. Define TLB. 13. Differentiate between internal and external fragmentation. How the problem of external fragmentation can be solved? 14. What is address binding? 15. What do you mean by page fault? 16. What is page frame?

17. If a system supports 16 bit address line and 1K page size, what is the maximum number of pages? 18. Define logical address and physical address. 19. What is the main function of the memory-management unit? 20. What is segmentation? 1. Illustrate contiguous memory allocation schemes, give examples. List the advantages and disadvantages. 2. Explain the basic concepts of segmentation. 3. Explain memory allocation in variable partitions for multiprogramming. 4. Give the basic concepts about paging and explain the types of Page Table Structure. 5. Explain 32 bit architecture and 64 bit architecture in detail. 6. Explain the various page replacement strategies. 7. 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 one, two, three, four, five, six, or seven frames? Remember all frames are initially empty, so your first unique pages will all cost one fault each. LRU replacement FIFO replacement Optimal replacement 8. A page-replacement algorithm should minimize the number of page faults. We can do this minimization by distributing heavily used pages evenly over all of memory, rather than having them compete for a small number of page frames. We can associate with each page frame a counter of the number of pages that are associated with that frame. Then, to replace a page, we search for the page frame with the smallest counter. a. Define a page-replacement algorithm using this basic idea. Specifically

address the problems of (1) what the initial value of the counters is, (2) when counters are increased, (3) when counters are decreased, and (4) how the page to be replaced is selected. b. How many page faults occur for your algorithm for the following reference string, for four page frames? 1, 2, 3, 4, 5, 3, 4, 1, 6, 7, 8, 7, 8, 9, 7, 8, 9, 5, 4, 5, 4, 2. c. What is the minimum number of page faults for an optimal page - replacement strategy for the reference string in part b with four page frames? (4) 9. (i) What is demand paging? Describe the process of demand paging in OS. (8) (ii) How can demand paging be implemented with virtual memory? (8) 10. (i) Explain in detail about thrashing (8) Explain in detail about Allocation of kernel memory (8) Unit-IV I/O SYSTEMS 1. Mention the pros and cons of a fixed head disk and a moving head disk. 2. Brief about the concept of a file. List some operations on it. 3. Define rotational latency. 4. Define UFD and MFD. 5. State the disadvantages of Contiguous allocation. 6. Name the methods available to access a file. 7. Name any four common file types. Write the various file attributes. 8. What are the ways for directory implementation? 9. What are the two types of system directories? 10. What is seek time? 11. What characteristics determine the disk access speed? 12. What is garbage collection? 13. Mention the objectives of file management system. 14. What is the need for disk scheduling? Give the various disk scheduling methods. 15. What does swap space management mean? 16. What is the content of typical file control block? 17. Define log structured file. What are the disadvantages of log-structured file systems?

18. What is meant by RAID? 19. Which disk scheduling algorithm would be best to optimize the performance of a RAM disk? 20. What is NFS? 1. Write briefly about file attributes, operations, types and structure. 2. a. Discuss in detail about file allocation methods. (8) b. What are the possible structures for directory? Discuss them in detail. (8) 3. Explain about disk scheduling and any of its two algorithms with suitable example. 4. Explain the following: a. RAID (8) b. I/O in Linux (8) 5. Write a detailed note on various file access methods with neat sketch. 6. Explain in detail the free space management with neat diagram. 7. a. Describe the two level and tree type directory structures in detail. (8) b. Describe the life cycle of an I/O request in detail. (8) 8. a. Describe Windows XP file system in detail. (10) b. Explain the directory structure of Linux operating system. (6) 9. a. Describe how the disk space from deleted files can be reused. (8) b. Explain in detail the process management and file system in LINUX system. (8) 10. Suppose that the disk drive has 5000 cylinders number 0 to 4999. The drive is currently serving a request at cylinder 143 and the previous request was at 125, the queue of the pending request in FIFO order is: 86,1470,913,1174,948,1509.1022,1750,130 starting from the current head position, what is the total distance (cylinders) that the disk arm moves to satisfy all the pending requests for each of the disk scheduling algorithms. i. SSTF ii. SCAN iii. LOOK iv. C-LOOK

Unit-V CASE STUDY-LINUX SYSTEM 1. What are the design principles of LINUX system? 2. What are the components of a Linux System? 3. List the components of kernel modules. 4. Define LINUX virtualization. 5. What are the types of virtualization? 6. Define hypervisor. 7. What are the two components of hypervisor? 8. What are the types of hypervisor? 9. Define XEN. 10. What are the components of XEN? 11. What are the two types of guest supported by XEN hypervisor? 12. What is domain name system (DNS)? 13. List few responsibilities of LINUX system administrator. 14. List few requirements needed for LINUX system administrator. 15. What are the key features of VMware server virtualization? 16. What do you mean by guest operating system? 17. What is the relationship between a guest operating system and a host operating system in a system like VMware what factors need to be considered in choosing the host operating system? 18. What is demand-zero memory? 19. List the types of LINUX device classes. 20. List the three layers of networking in LINUX kernel. 1. Explain in detail the design principles, kernel modules, process management, scheduling in LINUX system. 2. Explain in detail the memory management in LINUX system. 3. Explain in detail the file system in LINUX system. 4. Explain in detail about I/O in LINUX system. 5. Describe about the network structure of LINUX system. 6. List and explain the system administration of LINUX system and the requirements for LINUX system administrator in detail. 7. Explain in detail about setting up a LINUX multifunction server. 8. What is virtualization? Explain its basic concepts in detail. 9. Write the procedure for setting XEN on LINUX host and adding guest OS. 10. Write the procedure for setting VMware on LINUX host and adding guest OS.