1. What is the role of the 'init' process in Unix-like operating systems? a) Initializing hardware components...
Question:
1. What is the role of the 'init' process in Unix-like operating systems?
a) Initializing hardware components
b) Initializing the user's desktop environment
c) Starting and managing system processes
d) Handling user authentication
2. Which memory management technique uses fixed-size partitions?
a) Paging
b) Segmentation
c) Fragmentation
d) Contiguous allocation
3. Which scheduling algorithm assigns the CPU to the process with the highest priority?
a) Round Robin
b) First-Come, First-Served (FCFS)
c) Shortest Job Next (SJN)
d) Priority Scheduling
4. What is the purpose of a shell in an operating system?
a) It protects the hardware from external threats
b) It provides a user interface to interact with the operating system
c) It manages memory allocation
d) It controls the CPU clock speed
5. What is a system call?
a) A call to a system administrator for help
b) A call to a system's customer support hotline
c) An interface for programs to request services from the operating system
d) A call to a hardware manufacturer for technical assistance
6. Which of the following is not a type of file in Unix-like systems?
a) Regular file
b) Directory file
c) Special file
d) Application file
7. What is the purpose of the 'grep' command in Unix-like operating systems?
a) To copy files
b) To search for patterns in text
c) To create new directories
d) To display the system's hardware information
8. Which process has the process ID (PID) of 1 in Unix-like operating systems?
a) User's shell
b) System's kernel
c) init
d) crond
9. What is a page fault?
a) A hardware error in the memory module
b) An error in the page table
c) A process trying to access a page not in RAM
d) A file system corruption error
20. Which command is used to display the contents of a file in Unix-like systems?
a) cat
b) ls
c) cp
d) mv
Management Accounting Information for Decision-Making and Strategy Execution
ISBN: 978-0137024971
6th Edition
Authors: Anthony A. Atkinson, Robert S. Kaplan, Ella Mae Matsumura, S. Mark Young