Ask Question, Ask an Expert


Ask Computer Engineering Expert

problem 1)a) Describe the concept of virtual machines. prepare a program in C to create a new process that lists the users currently logged on to the system and parent waits till the child process terminates.

b) With the help of diagrams, describe the current activities of a process when it executes and PCB of that process.

problem 2)a) Distinguish between a Process and a Thread. Describe the following threading issues to be considered in multithreaded programs:

i) fork() and exec() system calls

ii) Thread cancellation

iii) Thread pools

b) With essential diagram describe multilevel queue scheduling. For the following set of processes with the length of CPU burst time and arrival time in milliseconds is given:

1395_Process of cpu.jpg

Draw the Gantt chart and find out average waiting time, average turnaround time for Preemptive Priority scheduling algorithm.

problem 3)a) Clearly show that with the general definition of semaphores with busy waiting, the value is never negative but with spinlock may have negative semaphore values.

b) What are two methods incurred to eliminate deadlocks in a system using process termination method. Consider a system with P0 through P4 and three resource types A, B, C. Assume resource type A has 10 instances, resource type B has 5 instances and resource type C has 7 instances. Following is the Maximum and Allocation matrices to the processes:

1562_Allocation matrix.jpg

i) Check whether the system remains in safe state or not at time t=t0. Give the safe sequence.

ii) At time t1>t0, Process P4 requests additional resources ( 3 3 0). Check whether this request could be granted and safety of the system.

Computer Engineering, Engineering

  • Category:- Computer Engineering
  • Reference No.:- M96632

Have any Question? 

Related Questions in Computer Engineering

1 eve the intruder sends a syn segment to bob the server

1. Eve, the intruder, sends a SYN segment to Bob, the server, using Alice's IP address. Can Eve create a TCP connection with Bob by pretending that she is Alice? Assume that Bob uses a different ISN for each connection 2 ...

I the game of life we can define the speed of light c

In the Game of Life, we can define the " speed of light " ( c , just as in physics) as the maximum attainable speed of any moving object, a propagation rate of one step (horizontally, vertically, or diagonally) per tick. ...

1 overviewin this assignment you will learn how to

1 Overview In this assignment, you will learn how to implement a priority-based scheduler forxv6. To get started, download a new copy of the xv6 source code fromhere. Do NOT use the source code of project 1. You'll do tw ...

1 a stream of data is being carried by sts-1 frames if the

1. A stream of data is being carried by STS-1 frames. If the data rate of the stream is 49.540 Mbps, how many STS-1 frames per second must let their H3 bytes carry data? 2. A stream of data is being carried by STS-1 fram ...

1 when is the ir plan used2 when is the dr plan used3 when

1. When is the IR plan used? 2. When is the DR plan used? 3. When is the BC plan used? How do you determine when to use the IR, DR, and BC plans?

Assignment doorstep treats guithis assignment will assess

Assignment: Doorstep Treats GUI This assignment will assess the competency: 1. Explain Windows Command Line and Forms applications 2. Demonstrate Windows Form design

1 write a program that can read an indefinite number of

1. Write a program that can read an indefinite number of lines of VB.NET code and store reserved words in one linked list and identifiers and literals in another linked list. When the program has finished reading input, ...

This exercise asks you to consider sources of errors in

This exercise asks you to consider sources of errors in thumbprints (see Section Recall that a thumbprint is computed from the contents of a connection over some interval of time. Consider clocks on two differ ...

1 show the encoding for the integer 1456 using ber2 show

1. Show the encoding for the INTEGER 1456 using BER. 2. Show the encoding for the OCTET STRING "Hello world." using BER. 3. Show the encoding for the IPAddress using BER. 4. Show the encoding for the object ...

Modify the insertion sort so that it is more balanced to do

Modify the insertion sort so that it is more balanced. To do this allow insertions at both ends of the array. You may also wish to include an exchange mechanism to speed up the algorithm even further.

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

WalMart Identification of theory and critical discussion

Drawing on the prescribed text and/or relevant academic literature, produce a paper which discusses the nature of group

Section onea in an atwood machine suppose two objects of

SECTION ONE (a) In an Atwood Machine, suppose two objects of unequal mass are hung vertically over a frictionless

Part 1you work in hr for a company that operates a factory

Part 1: You work in HR for a company that operates a factory manufacturing fiberglass. There are several hundred empl

Details on advanced accounting paperthis paper is intended

DETAILS ON ADVANCED ACCOUNTING PAPER This paper is intended for students to apply the theoretical knowledge around ac

Create a provider database and related reports and queries

Create a provider database and related reports and queries to capture contact information for potential PC component pro