0% found this document useful (0 votes)
13 views3 pages

Variant 2

The document discusses processes and process management in operating systems. It includes 20 multiple choice questions about processes, covering topics like process states, context switching, process creation, and daemons. The questions test understanding of key concepts in process management.

Uploaded by

baglannurkasym6
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views3 pages

Variant 2

The document discusses processes and process management in operating systems. It includes 20 multiple choice questions about processes, covering topics like process states, context switching, process creation, and daemons. The questions test understanding of key concepts in process management.

Uploaded by

baglannurkasym6
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

Test Variant 2

1. What is the purpose of the process abstraction in operating systems?


 A) To provide a platform for debugging tools
 B) To allow for more efficient CPU usage
 C) To simplify the development of applications
 D) To support the illusion of concurrent operation on a single CPU
 Correct Answer: D
2. Which is a function performed by background processes on a user's PC?
 A) Displaying graphics
 B) Checking for incoming emails
 C) Managing user passwords
 D) Handling user inputs
 Correct Answer: B
3. What is pseudoparallelism in the context of operating systems?
 A) Running each process on a separate CPU
 B) The CPU running one process at any one time but switching rapidly
 C) Processes running independently without any CPU
 D) Simulating multiple CPUs on a single core
 Correct Answer: B
4. Which is true about the running state of a process?
 A) The process is waiting for an event to occur
 B) The process is currently using the CPU
 C) The process is ready to run but temporarily stopped
 D) The process has been terminated
 Correct Answer: B
5. What does the fork system call do in UNIX?
 A) It terminates a process
 B) It creates a new process that is a clone of the calling process
 C) It sends a process to the background
 D) It changes the priority of a process
 Correct Answer: B
6. How are new processes created in response to user actions in interactive systems?
 A) Through automatic system updates
 B) By issuing system calls from other processes
 C) By users starting a program through commands or clicks
 D) By scheduling tasks in the operating system
 Correct Answer: C
7. What happens to the address space when a process is created in UNIX?
 A) It is shared between the parent and child process
 B) Each process gets a distinct copy of the parent's address space
 C) The child process's address space is merged with the parent's
 D) Address space details are not applicable in UNIX
 Correct Answer: B
8. Which system call in Windows creates a new process?
 A) fork
 B) execve
 C) CreateProcess
 D) startProcess
 Correct Answer: C
9. What describes the 'ready' state of a process?
 A) The process is running and using the CPU
 B) The process is waiting for an event to occur to proceed
 C) The process is prepared to run when the CPU becomes available
 D) The process has completed execution and is about to close
 Correct Answer: C
10. What leads to the creation of a new process during system initialization?
 A) User logs into the system
 B) System boots up and starts essential services
 C) External devices are connected
 D) Network services start automatically
 Correct Answer: B
11. In which state is a process if it is awaiting completion of an I/O operation?
 A) Running
 B) Ready
 C) Blocked
 D) Terminated
 Correct Answer: C
12. What typically causes a process to terminate voluntarily?
 A) It completes its execution and performs an exit system call
 B) It encounters a fatal error
 C) It is killed by another process
 D) The operating system crashes
 Correct Answer: A
13. Which feature allows processes to handle their own errors in some systems like
UNIX?
 A) The ability to ignore all errors
 B) The signal mechanism which allows processes to catch and handle specific
errors
 C) Automatic error handling by the system
 D) None, as processes cannot handle errors
 Correct Answer: B
14. What is the significance of the process state diagram?
 A) It details the security levels of a process
 B) It shows the different stages a process goes through in its lifecycle
 C) It lists all the processes running on the system
 D) It describes the user interactions with the process
 Correct Answer: B
15. What happens to the logical program counter of a process when it is switched out
of the running state?
 A) It is deleted
 B) It is saved until the process resumes
 C) It is reset
 D) It is shared with other processes
 Correct Answer: B
16. How does the operating system ensure that a new process has the resources it
needs to run?
 A) By terminating other running processes
 B) By allocating necessary resources during the process creation
 C) By reducing the priority of other processes
 D) By ignoring resource allocation
 Correct Answer: B
17. What is the primary purpose of the Win32 function CreateProcess?
 A) To monitor processes
 B) To create a new process and load the correct program into it
 C) To send signals to processes
 D) To delete processes
 Correct Answer: B
18. What mechanism does UNIX use to ensure that changes in a child process's
memory do not affect the parent process?
 A) Shared memory
 B) Copy-on-write
 C) Static memory allocation
 D) Dynamic memory allocation
 Correct Answer: B
19. How do modern multicore processors affect process management?
 A) They eliminate the need for process management
 B) They allow each core to run multiple processes simultaneously
 C) They enable each core to run a separate process at the same time
 D) They reduce the number of processes that can run concurrently
 Correct Answer: C
20. What role do daemons play in a UNIX system?
 A) They interact directly with users
 B) They manage user interfaces
 C) They perform background tasks without direct user interaction
 D) They provide security checks for user actions
 Correct Answer: C

You might also like