MCQ IN COMPUTER SCIENCE & ENGINEERING

COMPUTER SCIENCE AND ENGINEERING

OPERATING SYSTEM

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
An operating system manages processes. In doing so what does the operating system do?
A
Ensures that different processes can utilise the CPU and do not interfere with each other or crash
B
Allows creation and deletion of user accounts
C
Communicates with and receives data input to a keyboard/mouse/other valid input device
D
Ensures that programs/data do not corrupt each other
Explanation: 

Detailed explanation-1: -Process management is a critical function of the operating system. By managing processes, the operating system can ensure that resources are used efficiently and that the system remains stable. In addition, process management allows the operating system to control how programs interact with each other.

Detailed explanation-2: -The operating systems allocate resources that allow the process to exchange information. It synchronises among processes and safeguards the resources of other processes. The operating system manages the running processes in the system and performs tasks like scheduling and resource allocation.

Detailed explanation-3: -The operating system is a primary resource manager. It manages the hardware, including processors, memory, Input-Output devices, and communication devices. The operating system operates either in kernel mode or user mode. Compilers and editors run in user mode, whereas operating system code runs in kernel mode.

Detailed explanation-4: -There are two possible ways for an OS to regain control of the processor during a program’s execution in order for the OS to perform de-allocation or allocation: The process issues a system call (sometimes called a software interrupt); for example, an I/O request occurs requesting to access a file on hard disk.

There is 1 question to complete.