Oral Que Answer OSAnsar
Oral Que Answer OSAnsar
Answer: An Operating System (OS) is software that manages hardware and software resources,
providing common services for programs.
o Types: Batch OS, Time-Sharing OS, Distributed OS, Real-Time OS, Multi-User OS,
Embedded OS.
Answer: Shell scripting is writing commands in a file to automate tasks in the command-line interface
(CLI).
Answer: A virtual machine (VM) is a software emulation of a computer system that allows multiple
OSs to run on one hardware setup, providing isolation and resource management.
Answer:
o Monolithic Kernel: All OS services run within one large kernel, enhancing
performance but limiting modularity.
o Microkernel: Only essential services run in the kernel, while others operate in user
space, improving modularity and security.
Answer:
Answer: OS functions include process management, memory management, file management, I/O
management, security, and user interface.
7. What is Multithreading?
9. What is PCB?
Answer: A Process Control Block (PCB) is a data structure containing information about a process,
such as ID, state, and priority.
Answer:
Answer:
Answer: Criteria include CPU utilization, throughput, turnaround time, waiting time, and response
time.
14. What is a Thread and its Types?
Answer: Context switching is saving and restoring the state of a process for multitasking.
Answer: A system call is a program's request to the OS for services like file operations.
Answer:
Answer: Mutual exclusion ensures only one process accesses a resource at a time.
Answer: Deadlock is a state where processes are blocked indefinitely, waiting for each other’s
resources.
Answer: Use resource allocation graphs, avoid circular wait, and monitor resource allocation.
22. What is IPC (Inter-Process Communication)?
Answer: Synchronization ensures correct execution order for shared resources, preventing data
inconsistency.
Answer: Ensures mutual exclusion, progress, and bounded waiting in concurrent resource access.
Answer:
Answer: A safe state ensures resources can be allocated without deadlock; unsafe states may lead to
deadlock.
Answer: Banker's algorithm evaluates each resource request to ensure a safe state.
Answer: Allocates and deallocates memory to processes, manages RAM and swap space.
Answer:
Answer:
Answer: Paging divides memory into fixed-size pages; demand paging loads pages only when
needed.
Answer: Algorithms like FIFO, LRU, and Optimal manage which pages to replace in memory.
Answer: Manages data storage and retrieval on devices like HDD, SSD.
Answer:
Answer: Tools (compilers, interpreters, assemblers) that convert code to executable form.
Answer:
Answer: A low-level language with symbolic instructions; an assembler translates it to machine code.
Answer:
Answer: Relocation adjusts addresses during loading, linking resolves external references.