The kernel is responsible for which of the following:
A. memory leaks
B.Restoring the computers operating system
C.database backup
D.Interrupt Handling
C.all of the above
Answer is D kernel performs interrupt handling
A is wrong because there can be memory leaks in kernel code also
B is wrong because kernel is part of operating system
C is wrong because database backup is not handles by kernel
The kernel is responsible for which of the following: A. memory leaks B.Restoring the computers operating...
Demonstrate the following in java: Proper handling of memory and objects to avoid memory leaks
The VAX/ VMS operating system makes use of four processor access modes to facili-tate the protection and sharing of system resources among processes. The accessmode determines:• Instruction execution privileges: What instructions the processor may execute• Memory access privileges: Which locations in virtual memory the current instruc-tion may accessThe four modes are as follows:• Kernel: Executes the kernel of the VMS operating system, which includes memo-ry management, interrupt handling, and I/ O operations• Executive: Executes many of the operating system service...
A real time kernel is considered a “ bare bones” real-time operating system. At a minimum a kernel should provide a) Task management , file management, memory management b) Task scheduling, task dispatching, file management c) Intertask communication, task dispatching, memory allocation d) Task scheduling , task dispatching, intertask communication
There are 3 strategies to map user to kernel threads. Briefly describe each. Which one is used in most modern operating systems? Describe how an operating system can be viewed differently depending on the use case (e.g., administrators, users, developers, system engineers). There are 5 general areas of management that an operating system is responsible for. Name and briely describe 3 of them.
Q.25. Given the following program, you are asked to discuss memory leaks caused in its execution. Determine which memory locations get uncontrolled. (2 points) 4 6 7 8 9 10 11 12 B 13 14 15 16 17 18 1 #include <stdio.h> 2 #include <stdlib.h> 3 #include <string.h> 5 void main() { char *aString = "Memory leaks?"; char **strList; int i, n = 5; strlist = (char**)malloc(n*sizeof(char*)); for (i=0; i<n; i++) { printf("\nstring %d ", i+1); strList[i] = (char*)malloc(50*sizeof (char));...
The VAX/ VMS operating system makes use of four processor access modes to facili-tate the protection and sharing of system resources among processes. The access mode determines:• Instruction execution privileges: What instructions the processor may execute• Memory access privileges: Which locations in virtual memory the current instruc-tion may access The four modes are as follows:• Kernel: Executes the kernel of the VMS operating system, which includes memo-ry management, interrupt handling, and I/ O operations• Executive: Executes many of the operating...
Which of the following in a computer system is responsible for holding temporary mem- ory? (a) Secondary Memory (b) Input Devices (c) Cache Memory (d) Read-Only Memory Which of the following would be one of the fastest forms of memory? (a) CD-ROMS (b) Hard Drives (c) Random Access Memory (RAM) (d) Magnetic Tapes Which of the following types of information systems involve the use of a complex mathe- matical model to aid managers in their decision making? (a) Transaction Processing...
For the efficient memory management and to avoid errors modern systems uses secondary memory as a part of the main memory known as a virtual memory. When a computer system is running serval programs at the same time, the main memory often becomes exhausted. In such circumstances instead of closing some programs the operating system use the secondary memory as part of the main memory to store some data. In short virtual memory is an elegant interaction of hardware exceptions,...
Various computers and operating systems in the past have used separate instruction and data spaces, allowing up to 2k program addresses and also 2k data addresses using a k-bit address. For example, for k=32, a program could access 4GB of instructions and also 4GB of data, for a total address space of 8GB. Using a scheme like this it is impossible for a program to overwrite itself. How could the operating system load programs into memory?
Operating systems: please explain
1 (24) Multiple Choice(3 points for each): 1) In the interrupt systems. What processing need be done by hardware when an interrupt occurs? A. Save remainder of process state information B. Restore process state information c. pushes PSW and PC onto control stack D. Restore old PSW and PC E None of the above. 2) In the distributed system, which of the following statement is true? A All the processors in the system share the memory....