CS6401-Operating System - Valliammai Engineering College

Document technical information

Format pdf
Size 160.5 kB
First found Nov 13, 2015

Document content analysis

Language
English
Type
not defined
Concepts
no text concepts found

Transcript

VALLIAMMAI ENGNIEERING COLLEGE
SRM Nagar, Kattankulathur – 603203.
DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING
Year and Semester : II / IV Section : CSE – 1 & 2 Subject Code : CS6401 Subject Name : Operating System Degree and Branch : B.E – CSE Staff In charge : G.Sangeetha &V.Prema UNIT ‐ I 2 MARK QUESTIONS:
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
Define system process What is an interrupt? What is a system call? What is an interrupt vector? Define bootstrap program Define operating system What is a resource allocator? What is Moore’s law? What is kernel? Draw the storage device hierarchy What is fault tolerant? Define job pool what are the types of operation in operating system ? What is a privileged instruction? What is a trap? What is bitmap? What is real time operating system? What is boot disk? Draw the system structure for unix What is the layered approach in OS? Prepared by G.Sangeetha & V.Prema Page 1 16 MARK QUESTIONS:
1. Explain in detail the modern computer system 2. Explain the abstract view of the components of a computer system 3. Explain Von Neumann architecture 4. Explain multiprocessor system 5. Explain operating system structure in detail 6. Explain computing environments 7. Explain open source operating system 8. Explain in detail the operating system services 9. Explain in detail operating system structure 10. Write about OS generation UNIT‐ II 2 MARK QUESTIONS:
1. Define Process
2. What are the Process State
3. What Is PCB?
4.Define Threads.
5. What are the types of Schedulers?
6. What is Context Switch?
7. What is Co-operative Process?
8. Define IPC.
9. What is Remote procedure Calls?
10. Define threads.
11. What is multicore Programming?
12. Define Multithreading
13. What is critical section problem?
14. What is semaphores?
Prepared by G.Sangeetha & V.Prema Page 2 15. What is monitors?
16. What is preemptive Scheduling?
17. What is Non Preemptive Scheduling?
18. What are the scheduling Criteria?
19. What are the scheduling algorithm?
20. Define Dead Locks.
16 MARK QUESTIONS:
1. Explain the various process state 2. Explain the interprocess communication 3. Explain about remote procedure calls 4. Explain about Multi threading models 5. Consider the following set of processes 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 processes using FCFS,SJF,anon 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? 6.Explain about various scheduling algorithms Prepared by G.Sangeetha & V.Prema Page 3 7.Explain in detail about the critical section problem 8.Explain in detail about semaphores and monitors 9.Expain about deadlock prevention and deadlock avoidance algorithms 10. Consider the following snapshot of a system Allocation Max Available A B C D A B C D A B C D P0 0 0 1 2 0 0 1 2 1 5 2 0 P1 1 0 0 0 1 7 5 0 P2 1 3 5 4 2 3 5 6 P3 0 6 3 2 0 6 5 2 P4 0 0 1 4 0 6 5 6 Answer the following question using banker’s algorithm a)What is the content of the matrix Need? b)Is the system in a safe state? c)If a request from process p1 arrives for (0,4,2,0) can the request be granted immediately? UNIT‐ III 2 MARK QUESTIONS:
1. Define Memory Management Unit 2. What is Dynamic Loading? 3. What is Overlays? 4. Define Swapping 5. What is Paging? 6. Define segmentation. Prepared by G.Sangeetha & V.Prema Page 4 7. What is Hit ratio? 8. What is TLB? 9. What is Virtual Memory? 10. What is demand paging? 11.How to calculate Effective access time in Demand Paging? 12.What is memory mapping approach? 13.What are the page replacement algorithm? 14.Compare LRU and Optimal Replacement Algorithm 15.Define Allocation Algorithm. 16.Compare the Global and Local Allocation? 17.What is Thrashing? 18.Consider a logical address space of eight pages of 1024 words each mapped onto a physical memory of 32 frames a)How many bits are in the logical address? b)How many bits are in the physical address? 19.Difference between internal and external fragmentation. 20.Difference between logical and physical address. 16 MARK QUESTIONS:
1.
2.
3.
4.
5.
Explain in detail Contiguous Memory Allocation. Explain in detail about segmentation. Explain in detail about paging. Explain in detail about segmentation with paging. Describe the following allocation algorithms: a. First fit b. Best fit c. Worst fit 6. Given memory partitions of 100 KB, 500 KB, 200 KB, 300 KB, and 600 KB( in order), how would each off the first‐fit, best‐fit, and worst‐fit algorithms place processes of 212 KB, 417 KB, 112 KB, and 426 KB (in order) ? Which algorithm makes the most efficient use of memory? Prepared by G.Sangeetha & V.Prema Page 5 7. Explain demand paging. 8. Explain page replacement algorithms. 9. 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 two, three frames? Remember that all frames are initially empty, so your first unique pages will all cost one fault each. • LRU replacement • FIFO replacement • Optimal replacement 10. Explain in detail about Thrashing. UNIT‐ IV 2 MARK QUESTIONS:
1.What is seek time? 2.what is Rotational latency? 3.What are the types of disk scheduling? 4.What is Physical formatting of the disk? 5.What is logical formatting of the disk? 6.What is boot block? 7.What is bad blocks? 8.What are the file attributes? 9.What are the File types? 10.What are the methods for Accessing the file? 11.Define single level directory. 12.Define Two‐level directory. 13.What is distributed file system? 14. Write the structure of layered file system Prepared by G.Sangeetha & V.Prema Page 6 15.What is FCB. 16.What are the allocation methods for disk space? 17.What is bit vector? 18.What is polling? 19.Write down the Characteristics of I/O devices. 20.What is streams? 16 MARK QUESTIONS:
1. Explain in detail about disc scheduling algorithm. 2. Suppose that a disk drive has 5000 cylinders, numbered 0 to 4999. The drive is currently serving a request at cylinder 143, and the previous request was at cylinder 125. The queue of pending requests, in FIFO order, is 86, 1470, 913, 1774, 948, 1509, 1022, 1750, 130. Starting from the current head position, what is the total distance (in cylinders) that the disk arm moves to satisfy all the pending requests for each of the following disk‐scheduling algorithms? 3.
4.
5.
6.
7.
8.
9.
10.
a. FCFS b. SSTF c. SCAN d. LOOK e. C‐SCAN f. C‐LOOK Explain in detail about disc management. Explain in detail about directory structure. Explain in detail about file sharing and protection. Explain in detail about file system structure and implementation. Explain in detail about allocation methods of disc. Explain in detail about free space management. Explain in detail about BUS structure. Explain in detail about Kernel I/O sub system. UNIT‐ V 2 MARK QUESTIONS:
1. Write about Linux Kernel system. Prepared by G.Sangeetha & V.Prema Page 7 2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
Draw the components of the Linux system. What are the three network layers in the Linux kernel system. List down the components of a Linux System. What are the three components of module support under Linux What is buddy‐heap algorithm? What is domain name system? What is virtualization? Draw the architecture of Xen project. What is VMware on Linux? What is Linux multifunction server? Define Fork . What is kernel Synchronization in Linux? What is Linux ex2fs file system? Draw the device driver block structure in Linux What is the purpose of block buffer cache? What are the security groups in Linux? What is protection mask? What is firewall management? What is static and dynamic linking? 16 MARK QUESTIONS:
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
Explain the basic concepts of the Linux system. Explain system administration requirement for Linux system administrator. Explain setting up a Linux multifunction server. Explain local network services. Explain Domain name systems. Explain the basic concepts of Virtualization. Explain in detail about setting up Xen. Explain in detail about VM Ware on Linux Host and Adding Guest OS. Explain in detail about Kernel modules in Linux systems. Explain in detail about network structure and security in Linux. Prepared by G.Sangeetha & V.Prema Page 8 

Similar documents

×

Report this document