Question

In: Computer Science

1. What does compiling do?    A.       Manages process switching in a computer   ...

1. What does compiling do?   

A.       Manages process switching in a computer   

B.       Translates a source program written in a high-level language into machine language   

C.       Transfers programs from memory to RAM to disk   

D.       Controls the process switching between cores when a CPU has multiple cores   

E.       None of these answers

2. What does the file system do?   

A.       Keeps users and kernel/root processes distinct   

B.       Organize the information stored on the non-volatile storage of a computer   

C.       Control process switching   

D.       All of the above

3. Kernel space in the address space is reserved for us by what?

A.       Privileged processes   

B.       No processes   

C.       All of these answers   

D.       All processes   

E.       User processes

4. What is the kernel of an operating system?   

A.       It handles processors   

B.       It handles memory and I/O devices   

C.       the core component of the operating system   

D.       All of these answers   

E.       It handles low-level resources

Solutions

Expert Solution

Answer 1: B. Translates a source program written in a high-level language into machine

                       language   

  Manages process switching in a computer is done by operating system.

            Compiler is language translator which take one language (high-level) as input and produce its equivalent another language (machine language). During this process if any error are encounter then compiler display error message.

So option (B) is correct option.

Answer 2: B. Organize the information stored on the non-volatile storage of a computer.

            For process switching kernel is responsible.

            A file is collection of correlated information which is recorded on secondary storage. Its main objective is provide I/O support for variety of storage device type, minimize data lost, and help OS to standardized I/O interface routine.

So option (B) is correct option.

Answer 3: E. User processes

When CPU is in privileged mode then and then the kernel address space is accessible

Kernel space is part of memory where the kernel runs and provide its service.

Through the use of system calls kernel space can be accessed by user process. By an active process system call are requests in a UNIX.

So option (E) is correct option.

Answer 4: D. All of these answers

A kernel is the heart of an operating system which has control over everything in the system.

The kernel is the first program which is loaded after the boot loader and remain in the memory until the operating system is shut-down.

For low-level tasks such as disk management, memory management, task management, etc. the Kernel is responsible. An interface between the user and the hardware components of the system is provided by t=the kernel.

Every process need memory and allocation and deallocation of memory for execution of process is manage by the kernel. Allocation of peripheral devices is also managed by the kernel.

So option (D) is correct option.

If at any point if you find any difficulty feel free ask me.


Related Solutions

Conversion is the process of switching from the old (computer or manual) system to the new...
Conversion is the process of switching from the old (computer or manual) system to the new Information System. There are four conversion methods. · Parallel conversion. Where you run both the new and the old for a time before switching off the old. · Pilot conversion. Where you implement and test the new system, on a small scale in one business unit, then you expand the conversion to include all of the other business units. · Phased conversion. Where over...
__________ manages basic computer operations such as start-up, controls access to system resources, and manages computer...
__________ manages basic computer operations such as start-up, controls access to system resources, and manages computer memory and files. Event data recorders Application software Software defined networking System software
What does the SDLC have to do with Computer Security?
What does the SDLC have to do with Computer Security?
Hiram is a computer engineer. While unemployed, he invented a switching device for computer networks. He...
Hiram is a computer engineer. While unemployed, he invented a switching device for computer networks. He patented the device, but did not reduce it to practice. Hiram has a zero tax basis for the patent. In consideration of $800,000 plus a $1 royalty per device sold, Hiram assigned the patent to a computer manufacturing company. Hiram assigned all substantial rights in the patent. Which of the following is correct? a.         Hiram has long-term capital gain from the lump sum payment, but...
What does process integration mean and what does this have to do with Supply Chain Management?
What does process integration mean and what does this have to do with Supply Chain Management?
A server is a computer or device on a network that manages network resources. Servers are...
A server is a computer or device on a network that manages network resources. Servers are often dedicated, meaning that they perform no other tasks besides their server tasks. On multiprocessing operating systems however, a server may be one of several programs that are each managing specific requests for services from clients or a particular hardware or software resource, rather than the entire computer. For each of the server types below, provide a short description of the service each provides...
Assuming the government does not eliminate LIFO, what are the ethical implications of a company switching...
Assuming the government does not eliminate LIFO, what are the ethical implications of a company switching its accounting policy from FIFO to LIFO, or the other way—from LIFO to FIFO? When and why would a company make this change? Explain your answer and discuss the financial statement effects.
1) The set of instructions that tells a computer what to do is called a ______________?...
1) The set of instructions that tells a computer what to do is called a ______________? 2) A program design tool used to list the attributes and methods of objects within an object-oriented program is called _______________. 3) Of the programming languages discussed in the textbook, which language is used to create web applications (called applets) that can be inserted into web pages? 4) If a programmer makes a spelling mistake or violates the rules of the programming language the...
Question one 1- What is meant by an external balance and what are the expenditure switching...
Question one 1- What is meant by an external balance and what are the expenditure switching policies that might be use to improve the external balance. Explain. 2- A balance of payment surplus may lead to inflation, while a balance of payment deficit may lead to unemployment. Explain this statement. 3- Implementation of the Fiscal Policy will lead to an increase in interest rates thus affecting internal and external balances. What is the sterilization policies that can be taken by...
What role does the amount of memory in your computer play inmemory management? Do you...
What role does the amount of memory in your computer play in memory management? Do you think the amount of memory that Microsoft recommends is adequate for most users? Why or why not?
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT