Sample CDAC CCAT Questions - Operating Systems
1. Introduction to Operating Systems
Q: What is the main purpose of an operating system?
A: To manage hardware and software resources and provide services for computer programs.
2. Process Management
Q: What is a process?
A: A process is a program in execution.
3. Threads and Concurrency
Q: What is the difference between a process and a thread?
A: A thread is the smallest unit of CPU execution within a process; multiple threads can exist in one process.
4. CPU Scheduling
Q: Which CPU scheduling algorithm may lead to starvation?
A: Shortest Job First (SJF)
5. Synchronization
Q: What is a critical section?
A: A part of the program where shared resources are accessed and which must not be executed by more
than one process at a time.
6. Deadlock
Q: What are the four necessary conditions for a deadlock to occur?
A: Mutual exclusion, hold and wait, no preemption, circular wait
7. Memory Management
Q: What is paging in memory management?
Sample CDAC CCAT Questions - Operating Systems
A: Dividing memory into fixed-size pages to manage memory more efficiently.
8. Virtual Memory
Q: What is virtual memory?
A: A memory management technique that gives an application the impression it has contiguous working
memory.
9. File Systems
Q: What is the purpose of the file system?
A: To manage how data is stored and retrieved on a disk.
10. I/O Management
Q: What is the role of device drivers?
A: Device drivers act as translators between the hardware device and the operating system.