Question: 1. What is a deadlock detection algorithm in operating systems? a) A technique for preventing deadlocks b) A technique for detecting when a deadlock has

1. What is a deadlock detection algorithm in operating systems?
 a) A technique for preventing deadlocks
 b) A technique for detecting when a deadlock has occurred and resolving it
 c) A technique for increasing the priority of a process
 d) A technique for managing memory allocation


2. Which scheduling algorithm allows a process to hold the CPU until it voluntarilyreleases it?
 a) Round Robin
 b) First-Come, First-Served (FCFS)
 c) Shortest Job Next (SJN)
 d) Priority Scheduling


3. What is a command interpreter in an operating system?
 a) A device driver
 b) A program that translates high-level programming languages into machine code
 c) A program that interprets and executes user commands
 d) A type of file system


4. What is a disk cache in an operating system?
 a) A hardware component for storing data
 b) A portion of RAM used to store frequently accessed disk data
 c) A type of CPU cache
 d) A device driver for disk drives


5. What is the purpose of the 'grep' command with the '-i' option in Unix-like systems?
 a) To create a new file

 b) To search for a pattern case-insensitively
 c) To display a list of currently running processes
 d) To check disk space usage


6. What is the role of the 'fork' system call in Unix-like operating systems?
 a) To terminate a process
 b) To synchronize processes
 c) To allocate memory
 d) To create a new process


7. What is a page table in virtual memory management?
 a) A table of contents in a book
 b) A data structure that maps virtual addresses to physical addresses
 c) A table used to store database records
 d) A table used to store file permissions


8. What is the role of the 'cron' daemon in Unix-like systems?
 a) To create a new process
 b) To manage user accounts
 c) To schedule and execute periodic tasks
 d) To monitor network traffic


9. What is a file descriptor in Unix-like systems?
 a) A file that contains a description of other files
 b) A pointer to an open file
 c) A device driver
 d) A hardware device used for file storage


10. What is the purpose of the 'mount' command in Unix-like systems?
 a) To create a new file
 b) To change file permissions
 c) To attach a file system to the directory tree
 d) To remove a directory

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

1 b A technique for detecting when a deadlock has occurred and resolving it 2 b FirstCome FirstServ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Operating System Questions!