Quiz 1

.docx

School

University of Phoenix *

*We aren’t endorsed by this school

Course

4100

Subject

Computer Science

Date

Feb 20, 2024

Type

docx

Pages

6

Uploaded by lashee86

Report
n 1 1 Which part of the memory allocated to a process is responsible for storing dynamically allocated data? The machine instructions. The static data. The execution stack. The heap. Question 2 1 / 1 point What is a system call? An asynchronous signal sent to a processor by another device. A hardware event caused by user program behavior. A procedure called by a process to request the kernel to perform a privileged operation. A signal generated by the kernel that notifies a process of an event. Question 3 1 / 1 point Which of the following does not result in a switch from kernel mode to user mode? An interrupt is generated by an I/O device. A process is loaded into memory and is ready to execute its first instruction. The kernel switches from the current process to a different process. The kernel finishes processing an interrupt. Question 4 1 / 1 point When a programmer attempts to execute an illegal instruction, which of the following occurs? An external device generates an interrupt. A processor exception is generated.
The program makes a system call. None of the above. Question 5 1 / 1 point Which of the following is difficult to do using a base-and-bound approach to protecting memory? Determine if a memory access is within the accepted address range. Keeping track of the memory allocated to each process. Giving the kernel unlimited access to memory. Relocating a process to another location in memory. Question 6 1 / 1 point Which of the following performance metrics measures the additional resource cost of implementing an abstraction? Overhead. Fairness. Response time. Throughput. Question 7 0 / 1 point Which of the following best describes a time-sharing operating system? A multiuser system that operates on a queue of jobs. A system that supports multiple simultaneous network connections. A set of I/O routines for a single user system. A system that processes input events to support interactive computing. Question 8 1 / 1 point
Which of the following roles is an operating system playing when it provides libraries for a graphical interface so that applications can have the same look and feel? Referee (managing resources) Illusionist (abstracting the hardware) Glue (providing common services) None of the above Question 9 1 / 1 point Which of the following roles is an operating system playing when it determines which application should run next on a processor? Referee (managing resources) Illusionist (abstracting the hardware) Glue (providing common services) None of the above Question 10 1 / 1 point Which of the following roles is an operating system playing when it gives each application its own set of unlimited contiguous memory addresses? Referee (managing resources) Illusionist (abstracting the hardware) Glue (providing common services) None of the above Question 11 1 / 1 point When a kernel creates a new process, which of the following actions is performed while in user mode?
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help