Question

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 options are true b. Only 1, 3 and 4 are true c. Only 1 and 4 are true d. None of them are true e. Only 1, 2 and 4 are true

Choose the correct answer 1. In multitasking, one or more processes are loaded in main memory to execute and only one process at a time is able to get the CPU while all the others are waiting in the ready queue 2. In multiprogramming, one or more processes are loaded in main memory to execute and only one process at a time is able to get the CPU while all the others are waiting in the ready queue 3. In multitasking, multiple processes are running concurrently and each process will share the CPU 4. In multiprogramming, multiple processes are running concurrently and each process will share the 5. In batch scheduling of multiprogramming, once a process is started, it will control the CPU until its 6. In co-operative scheduling, when a process needs to wait for resources, it will give up the CPU and be CPU completion regardless of any idle CPU time removed from the ready state Select one: a. Only 2 and 3 are true b, only 1 and 4 are true c. Only 1, 2, 5 and 6 are true d. Only 2, 3, 5 and 6 are true e. Only 2, 3 and 6 are true

During a the new process which gets to run is loaded from RAM and the new process starts running , the state of the process is saved and written to RAM and the process state for context switch trap instruction memory swap memory exhaustion

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Answer:-------------

1. a. All the option are true.

2. d. only 2,3,5 and 6 are true

3. context switch

Add a comment
Know the answer?
Add Answer to:
Choose the correct answer 1. A virtual machine executes on a host operating system and a...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • State transition diagram used for operating system management of the Process Control Block has the following...

    State transition diagram used for operating system management of the Process Control Block has the following states A New (Create)– In this step, process is about to be created but not yet created, it is the program which is present in secondary memory that will be picked up by OS to create the process. Ready -> Ready to run. After creation of a process, the process enters the ready state i.e. the process is loaded into the main memory. The...

  • Operating System Theory and Design Write a program to simulate the operation of two of CPU...

    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...

  • This assignment requires you to create simulations for different scheduling algorithms commonly employed by operating systems...

    This assignment requires you to create simulations for different scheduling algorithms commonly employed by operating systems to achieve multiprogramming. All problems in this assignment assume the following: The simulations you will be creating are for a uniprocessor system (single CPU). Processes in these simulations will require CPU bursts of one or more time units followed by I/O bursts of one or more time units. For simplicity’s sake, when more than one process is executing its I/O burst at the same...

  • QUESTION 1 . ______________ allow(s) a computer to invoke procedures that use resources on another computer...

    QUESTION 1 . ______________ allow(s) a computer to invoke procedures that use resources on another computer Pervasive computing Remote procedure calls (RPCs) Cloud computing Global computing QUESTION 2 The simplest example of a neural net is the: CPu perceptron systolic array supervised learning network QUESTION 3 The first company in the world to manufacture and sell what it identifies as a quantum computer is: D-Wave Computers Cray Google Intel QUESTION 4 A ______________ is a collection of distributed workstations that...

  • Please help me create this CLI CPU Scheduling Simulator in java: First Come First Serve (FCFS)...

    Please help me create this CLI CPU Scheduling Simulator in java: First Come First Serve (FCFS) Round Robin (RR) Process information The process information will be read from an input file. The format is: pid arrival_time burst_time All of fields are integer type where: pid is a unique numeric process ID arrival_time is the time when the task arrives in the unit of milliseconds burst_time the is the CPU time requested by a task, in the unit of milliseconds The...

  • 2. Consider an operating system that has the fllowing process states, new, ready, waiting (or blocking), running, and terminated. Answer the following questions (a) Draw a process state transitio...

    2. Consider an operating system that has the fllowing process states, new, ready, waiting (or blocking), running, and terminated. Answer the following questions (a) Draw a process state transition diagram (b) Explain what may cause a process to enter the waiting state from the running state. (c) Do we need a queue for the processes in the running state? Justify your answer (d) Describe the actions taken by a kernel to context-switch between processes 2. Consider an operating system that...

  • Description In this homework, you are asked to implement a multithreaded program that will allow ...

    Description In this homework, you are asked to implement a multithreaded program that will allow us to measure the performance (i.e, CPU utilization, Throughput, Turnaround time, and Waiting time in Ready Queue) of the four basic CPU scheduling algorithms (namely, FIFO, SJE PR, and RR). Your program will be emulating/simulating the processes whose priority, sequence of CPU burst time(ms) and I'O burst time(ms) will be given in an input file. Assume that all scheduling algorithms except RR will be non-preemptive,...

  • Operating Systems COMP3499 Assignment 1. The OS to hardware interface is defined by the hardware designers....

    Operating Systems COMP3499 Assignment 1. The OS to hardware interface is defined by the hardware designers. True False 2. In any given computer running an OS, how many processes / tasks can be running simultaneously? One. One per hardware core. It depends upon their priority level. As many as will fit in memory. 3. The kernel keeps track of all processes / tasks in one of three lists: running, ready to run, and blocked. True False

  • Question 1 Which of the following is true about virtual addresses? Virtual addresses for the same...

    Question 1 Which of the following is true about virtual addresses? Virtual addresses for the same physical memory location may differ from process to process Virtual addresses are synonymous with physical addresses Virtual addresses always refer to locations on disk Virtual addresses for the same physical memory location may differ from thread to thread Question 2 How do pages and frames relate to each other? A page holds words while a frame holds pictures A frame is a larger structure...

  • Implement the following 3 CPU scheduling algorithms Simulate and evaluate each with the set of eight...

    Implement the following 3 CPU scheduling algorithms Simulate and evaluate each with the set of eight processes below. Use any programming language. The program listing should be submitted with the report. FCFS (First Come First Serve) non-preemptive (partial results provided) SJF non-preemptive MLFQ Multilevel Feedback Queue (absolute priority in higher queues)             Queue 1 uses RR scheduling with Tq = 5             Queue 2 uses RR scheduling with Tq = 10             Queue 3 uses FCFS All processes enter first...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT