Ask Question, Ask an Expert

+1-415-315-9853

info@mywordsolution.com

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 explain the terms shallow copy and deep copy2 what access

1. Explain the terms shallow copy and deep copy. 2. What access attribute should instance variables have? What access attribute should static variables have? How about static final variables? 3. What access attribute sho ...

Kirchoffs laws75 to 150 wordsdiscuss how kirchoffs voltage

Kirchoff's Laws75 to 150 words Discuss how Kirchoff's Voltage and Current Laws can be used to help analyze any type of circuit. Discuss the differences between a loop and a mesh.

Ladies in gentlemen im in dier need of some serious

Ladies in Gentlemen, I'm in dier need of some serious assistance.  I'm not feeling well and I'm in a crunch. Could really use assistance with this one. Write  a 1,050 to 1,400-word paper in which you describe the impact ...

1 we said that tcp provides a connection-oriented service

1. We said that TCP provides a connection-oriented service between the two application programs. A connection in this case needs a connection identifier that distinguishes one connection from another. What do you think t ...

1 list and describe the four classes of fire described in

1. List and describe the four classes of fire described in the text. Does the class of a fire dictate how to control the fire? 2. What is Halon, and why is its use restricted?

In this exercise you are asked to attack an rsa encrypted

In this exercise, you are asked to attack an RSA encrypted message. Imagine being the attacker: You obtain the ciphertext y = 1141 by eavesdropping on a certain connection. The public key is kpub = (n,e)=(2623,2111). 1. ...

1 define and discuss software as a service saas

1. Define and discuss Software as a service (SaaS), Infrastructure as a service (IaaS), and storage as a service. 2. Describe the seven business models of software. 3. Discuss the services that make up/describe cloud com ...

1 given the parameters shown above calculate the total page

1. Given the parameters shown above, calculate the total page table size for a system running 5 applications that utilize half of the memory available. 2. Given the parameters shown above, calculate the total page table ...

1 choose three software solutions based on self-regulation

1. Choose three software solutions based on self-regulation. Study the solutions and discuss how they work. 2. Study the various forms of activism. Comment on the effectiveness of each. 3. Software rating, although helpf ...

1 how many 16-byte cache blocks are needed to store all

1. How many 16-byte cache blocks are needed to store all 32-bit matrix elements being referenced? 2. References to which variables exhibit temporal locality? 3. References to which variables exhibit spatial locality? 4. ...

  • 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

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

Describe what you learned about the impact of economic

Describe what you learned about the impact of economic, social, and demographic trends affecting the US labor environmen