Is it possible for a system with a single CPU to support parallelism?
a) Yes - there can be multiple PCBs even if only one is active at a time.
b) Yes - one of the fundamental design goals of an operating-system is to support resource sharing.
c) No - the operating system would not support multi-tasking.
d) No - there can never be two programs running at the same time.
Answer: a) yes-there can be multiple PCBs even if only one is active at a time.
Explanation: In a single core , multi threading concept is used to run two or more programs in parallel.
Is it possible for a system with a single CPU to support parallelism? a) Yes -...
4. A multi-programmed operating system running on a single CPU assigns time slices of CPU time to the virtual machines that run the individual programs. Each virtual machine is given access to the CPU for a certain time (the time slice), during which it will continue to execute its program. The next time slice then goes to another virtual machine, and so on. Assume that each time slice is one millisecond (1/1000 of a second) long and the computer on...
4. A multi-programmed operating system running on a single CPU assigns time slices of CPU time to the virtual machines that run the individual programs. Each virtual machine is given access to the CPU for a certain time (the time slice), during which it will continue to execute its program. The next time slice then goes to another virtual machine, and so on. a. Assume that each time slice is one millisecond (1/1000 of a second) long. The computer on...
Will a deadlock be possible? If yes. how to prevent the deadlock without change the nature of the problem Virtual Memory A computer system is in the Thrashing state: CPU utilization: 20% Virtual Memory swapping pages: 98% Other I/O: 5%. Which of the following will improve CPU utilization? Install Fast CPU. Increase virtual memory size. run more programs stop several programs that are running Install More RAM Install faster hard drive Add cache memory Increase page size Install larger hard...
1). The _____ supports only those services that are necessary to allow other system services (executed in user space) to run. a. max-kernel b. micro-kernel c. mini-kernel d. macro-kernel 2). _____ means having multiple programs (processes) running on one processor, whereas multiprocessing means having multiple processors. _____ typically refers to multiple processes from multiple users, whereas multithreading generally refers to multiple threads from one user process. a. Multi-GUI b. Multi-programming c. Multi-flow d. Multi-CPU 3). _____ saves disk space, results...
A system consists of 1 CPU, 1 Disk, and 1 Network Interface. A web server running on this system consists of a process that waits for an HTTP request. Once the request is received, the process services it by fetching the requested file from disk (an I/O operation) and then by sending the file content to the client. Assume that serving a request consists of the following phases: i. Process uses the CPU for 2 msec (parse request) // CPU...
(30 points) Assume you have three processes with the following attributes running on a single CPU (uniprocessor system): Process 1/0 Burst Total CPU Time Arrival Time CPU Burst | 05 22 12 B 7 10 C D Create three scheduling simulations for these processes using the following algorithms: a. First Come First Served (FCFS) b. Round Robin, Time Slice = 2 c. Shortest Job (CPU Burst Time) First with NO Preemption Use the simulation format we covered in class to...
Operating System Theory and Design
Write a program to simulate the operation of two of CPU scheduling methods. The program does the following: 1. Get the number of processes from the user. 2. Get the burst time of each process from the user 3. Assume that all processes arrive at "O" to the ready queue. 4. The program lets the user select one of the two methods to implement the o e oo implement the CPU scheduling. time. You can...
Using the Critical Thinking Process, identify 5 disk
scheduling options, and 5 disk scheduling criteria. Weigh the
options against the criteria and select the best disk scheduling
option for:
Identify and select a process-to-process communication technique
that best both upward and downward scalability for a
non-real time mission-critical system your company has
been building.
In This Format:
An approach to making informed, unemotional decisions to is employ the following 4 step process: A) Identify your options B) Establish your criteria...
Choose the correct answer 1. A virtual machine executes on a host operating system and a hypervisor provides an API to the actual hardware 2. The guest OS knows that it is not accessing the actual hardware so that it can perform better 3. The VM may supply an environment that is different than the actual host hardware 4. Applications running within the VM have an illusion that they are executing on a real machine Select one: a. All the...
Coupling and Cohesion One of the measures of good system design is how costly, difficult, or intrusive it is to make changes to that system. Consider the problem of a business owner who has decided to use neon for his store-front signage. Neon signs, in which data (information) presentation is bound together with the sign itself, may have to be completely rebuilt to make even a relatively simple change. As a result, any update to that signage is going to...