COP 4600(2024 Latest Update)correct 100%(GRADED A+)
What does a process control block include? - ANSWER Information on the process's state: process state/process number/program counter/registers/memory limits/list of open files/... Comparing virtual machines and containers, which one is more light weight and runs more efficiently? - ANSWER Containers Which level of cache is usually owned (not shared) by CPU cores? L1, L2, or L3? - ANSWER L1 Which of the following is not true of a Microkernel? a.) Its ore reliable. b.) Its more efficient to run programs c.) Its easier to port the operating system to new architectures. d.) Its more secure. - ANSWER Its more efficient to run programs. Which approach is usually used by today's OS design? a.) Microkernal-based b.) Monolithic c.) Module-based d.) Layered-based - ANSWER Module-based The _____ of a process contains temporary data such as function parameters, return addresses, and local variables. - ANSWER Stack When a child process is created, what is a possibility in terms of the execution or address space of the child process? a.) the child runs concurrently with the parent b.) the child has a new program loaded into it c.) the child is a duplicate of the parent - ANSWER Psych! It's all of them. What is the current most popular hypervisor on Linux? a.) XEN b.)VMWare Workstation c.) KVM d.) Virtualbox - ANSWER KVM Which of these is not a process state? a.) running b.) ready c.) waiting d.) sleeping - ANSWER Sleeping The list of processes waiting for a particular I/O device is called a(n) ____. - ANSWER device queue Which is true of a message passing model? a.) It's only useful for small, simple OSs b.) It's easier to implement than a shared memory model for intercomputer communication c.) It's faster than the shared memory model d.) It's a network protocol and does not apply to OSs - ANSWER It's easier to implement than a shared memory model for intercomputer communication The major difficulty in designing a layered operating system approach is... a.) Making sure each layer is easily converted to modules. b.) Debugging a particular layer. c.) Appropriately defining the various layers. - ANSWER Appropriately defining the various layers. Which of the following is true of a microkernel? a.) It's stripped of all nonessential components. b.) It's compiled to produce the smallest size possible when stored to a disk. c.) It contains many components that are optimized to reduce resident memory size. d.) It's compressed before lading in order to reduce its resident memory size. - ANSWER It's stripped of all nonessential components. Which of the following is not a benefit of virtual machines? a.) It protects the host system from guest OSs b.) It has the ability to run several different operating systems that all share the same hardware. c.) It uses less physical memory than an actual OS d.) It has the ability to concurrently run several different OSs - ANSWER It uses less physical memory than an actual OS Through which of the following can you NOT pass parameters from an application to a system call? a.) Cache memory b.) Registers c.) Stack d.) Special block in memory. - ANSWER Cache memory Which of the following provides an interface to the services provided by an OS? a.) Shared memory b.) Communication c.) System calls d.) Simulators - ANSWER System calls Which of the following is true of a spinlock? a.) It will ultimately result in a context switch when a process must wait on a lock. b.) It does not require a context switch when a process must wait on a lock. c.) It is useful when locks are expected to be held for long amounts of time. d.) It is never advantageous. - ANSWER It does not require a context switch when a process must wait on a lock. When a process creates a new process using the fork() operation, which of the following state is shared between the parent process and the child process? a.) Stack b.) Heap c.) Shared memory segments d.) Global variables. - ANSWER Shared memory segments T/F: Multi-threading can also improve software performance (speed) when running on a single-core CPU. - ANSWER True What kind of multithreading model multiplexes many user-level threads to a smaller or equal number of kernel threads? - ANSWER Many-to-Many How many processes will be generated in the following code? f
Written for
- Institution
- COP 4600
- Course
- COP 4600
Document information
- Uploaded on
- February 2, 2024
- Number of pages
- 22
- Written in
- 2023/2024
- Type
- Exam (elaborations)
- Contains
- Questions & answers
Subjects
- cop latest updatestuvia
-
cop latest updatecorrect 100graded a
Also available in package deal