Processes Additional Questions
Processes Additional Questions
c) Audio-Based Interface
d) Touch-Screen Interface
4. Which system call category involves operations like creating and terminating
processes?
a) File management
b) Device management
c) Process control
d) Communications
b) Terminates a program
c) Creates a new process
d) Writes to a file
a) Process control
b) Communications
c) Protection
d) File management
7. What is the purpose of system services like the network daemon in an operating
system?
a) Error detection
b) Data analysis
c) Resource allocation
d) Program execution
10. How do operating systems provide security and protection as a service?
a) GUI components
a) chmod()
b) ioctl()
c) exec()
d) fork()
c) They perform fundamental tasks that are not visible to the user.
d) They monitor the performance of applications.
16. What is the main purpose of the operating system's user interface?
d) To compile programs
a) Process control
b) File management
c) Protection
d) Information maintenance
a) fork()
b) exec()
c) exit()
d) open()
b) Device driver
c) Boot loader
d) User interface
a) Web hosting
b) Data analytics
c) Task management
d) Software development
c) Encrypting data
27. Which system call in an operating system is responsible for creating a new
process?
a) delete()
b) read()
c) fork()
d) write()
28. Operating system services typically include:
29. How do operating systems handle 'system services' that involve time-
consuming operations?
b) By using interrupts
30. What is the main role of the operating system's system services layer?
32. Which feature of operating systems decouples application code from hardware
operations?
a) Device drivers
b) User interfaces
c) System calls
d) Encryption services
33. Why is the system call interface crucial for modern operating systems?
a) It provides security against malware.
a) Data management
b) Application development
c) Task scheduling
d) Resource allocation
37. In the context of an operating system, what is the primary purpose of device
drivers?
b) Device driver
c) Web browser
d) Word processor
a) To encrypt files
d) To schedule processes
c) A program in execution
a) Data section
b) Stack
c) Text section
d) Heap section
43. What does the PCB stand for?
a) Running
b) Stopped
c) Waiting
d) Paused
45. What mechanism deals with the execution of user programs and system
programs?
a) Process scheduling
b) Interrupt handling
c) Boot sequencing
d) Resource allocation
a) Pipes
b) Semaphores
c) Shared memory
d) Email
a) Pipes
b) Sockets
c) Shared memory
d) Signals
48. What type of system call provides the creation and management of processes?
a) Development calls
b) Control calls
c) Kernel calls
d) Management calls
a) Completion
b) Error
c) External interruption
a) create()
b) fork()
c) new()
d) exec()
b) A type of process
b) Increased responsiveness
c) Simplified code
a) Many-to-one
b) One-to-many
c) Many-to-many
d) Both A and C
d) A failure in synchronization
b) Storage limitations
a) Kernel threads
b) User threads
c) System threads
d) Process threads
59. What mechanism can be used for threads to communicate directly without
using process methods?
a) Virtual memory
b) Shared registers
c) Message passing
d) Interrupt requests
a) One-to-one model
b) Many-to-one model
c) Many-to-many model
d) Single-thread model
61. What is the main function of the process scheduler in an operating system?
a) I/O operation
b) Data processing
c) Memory allocation
d) Power management
a) Program Counter
b) Stack
c) Registers
d) Kernel stack
a) Peripheral scheduling
b) Memory scheduling
c) CPU scheduling
d) Network scheduling
a) Pipes
b) Signals
c) Semaphores
d) Shared Memory
c) Exits
c) It is a background process
d) It cannot access the hardware directly
b) It makes the process idle until one of its child processes finishes
a) Process isolation
b) System calls
b) Ensuring that one thread can access a resource at any given time
c) Preventing any thread from accessing resources
74. Which threading model maps multiple user-level threads to one kernel thread?
a) Many-to-one
b) One-to-one
c) Many-to-many
d) Two-level
77. What typically triggers a context switch between threads in the same process?
a) A system call
b) Completion of the process
c) An I/O request
d) A hardware interrupt
b) When multiple threads try to access and modify the same data concurrently
79. Which synchronization tool would be most suitable for managing access to a
shared resource?
a) Message queue
b) Mutex
c) Event flag
d) Pipe
80. What is the primary advantage of dividing program execution into multiple
threads?
a) Increased complexity
c) Improved throughput