Operating System and Shell Programming (BCA 4th Sem)
UNIT 1 – Introduction to Operating System
1. Define Operating System. Explain functions of an Operating System.
2. Explain different types of Operating Systems with examples.
3. Describe computer system organization.
4. Explain system calls in detail.
5. Difference between Linux, GNU, and UNIX.
6. Explain UNIX architecture with diagram.
7. What are the features of UNIX Operating System?
8. Define Process. Explain process states with diagram.
9. What is Process Control Block (PCB)? Explain its contents.
10. Difference between program and process.
UNIT 2 – Process Management & Threads
1. Define thread. Explain types of threads.
2. What is multithreading? Explain advantages of multithreading.
3. Explain multithreading models.
4. What are thread libraries?
5. Explain threading issues in Operating Systems.
6. What is context switching?
7. Explain process creation and termination.
8. Define Inter Process Communication (IPC).
9. Explain need and methods of IPC.
10. Difference between process and thread.
UNIT 3 – CPU Scheduling, Deadlocks & Memory Management
1. Explain CPU scheduling criteria.
2. Explain FCFS scheduling algorithm with example.
3. Explain SJF scheduling algorithm with example.
4. Explain Round Robin scheduling algorithm with example.
5. Compare different CPU scheduling algorithms.
6. Define deadlock. Explain necessary conditions for deadlock.
7. Explain deadlock prevention and avoidance.
8. Explain deadlock detection and recovery methods.
9. What is paging? Explain paging technique.
10. Explain segmentation with example.
11. Difference between paging and segmentation.
12. Explain virtual memory and demand paging.
13. Explain page replacement algorithms.
14. Write short notes on FIFO and LRU page replacement algorithms.
UNIT 4 – File System & Shell Programming
1. Explain UNIX file system.
2. What is a file name? Explain parent-child relationship in directories.
3. Explain absolute and relative pathnames with examples.
4. Explain HOME variable, pwd, cd, mkdir, and rmdir commands.
5. Explain vi editor and its features.
6. Explain insert mode and command mode in vi editor.
7. Explain navigation commands in vi editor.
8. Explain editing text and undo commands in vi editor.
9. Explain searching and substitution commands in vi editor.
10. Write short notes on UNIX commands used in shell programming.
Most Expected Exam Questions
• Functions of Operating System
• UNIX Architecture
• Process States & PCB
• Multithreading Models
• IPC
• CPU Scheduling Algorithms
• Deadlock Prevention & Avoidance
• Paging vs Segmentation
• Virtual Memory & Demand Paging
• Page Replacement Algorithms
• UNIX File System
• vi Editor Commands
Important Algorithms to Practice
• FCFS
• SJF
• Round Robin
• FIFO Page Replacement
• LRU Page Replacement